bugJailkit - Bugs: bug #35249, Jailkit-2.14 make or install fails...

 
 

bug #35249: Jailkit-2.14 make or install fails on Ubuntu 11.10 - fixed

Submitter:  None
Submitted:  Thu 05 Jan 2012 08:38:42 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 02 Aug 2012 09:01:07 PM UTC, comment #2: 

fixed in jailkit 2.15

Olivier Sessink <oli4>
Group administrator
Thu 09 Feb 2012 05:22:39 PM UTC, comment #1: 

Another way to install jailkit 2.14 on ubuntu 11.10 described here http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3-p4


Yuri <jura12>
Thu 05 Jan 2012 08:38:42 PM UTC, original submission:  

"./configure" without any problems.

Following error while "make":
[...]
checking for python... /usr/bin/python
checking for up to date python... checking for up to date python... ok
checking for procmail... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating py/Makefile
config.status: creating man/Makefile
config.status: creating src/config.h
sh-4.2#
sh-4.2# make
make[1]: Betrete Verzeichnis '/tmp/jailkit-2.14/src'
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"   -c -o jk_socketd.o jk_socketd.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"   -c -o jk_lib.o jk_lib.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"   -c -o utils.o utils.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\"   -c -o iniparser.o iniparser.c
gcc   -lpthread  -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o
jk_socketd.o: In function `main':
/tmp/jailkit-2.14/src/jk_socketd.c:474: undefined reference to `pthread_create'
collect2: ld gab 1 als Ende-Status zurück
make[1]: * [jk_socketd] Fehler 1
make[1]: Verlasse Verzeichnis '/tmp/jailkit-2.14/src'
make: * [all] Fehler 2
sh-4.2#


Fix:
Edit line 41 and 42 of this file: jailkit-2.14/src/Makefile

from:
[...]
LIBS = -lpthread
LDLIBS = -lpthread
[...]

to:
[...]
LIBS = -pthread
LDLIBS = -pthread
[...]

... save and the sun will rise during next "make".

This worked for me.
tata

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by oli4 (Posted a comment)
  • -email is unavailable- added by jura12 (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-08-02 oli4 Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code