|
From: | Michel * |
Subject: | RE: [Jailkit-users] Error compiling jailkit on Sun Solaris 5.10 |
Date: | Mon, 9 Aug 2010 09:30:24 +0200 |
Hi, Thanks. I could now compile it and install it. Out when I want to create the jailed environment I get the following error: root > jk_init -v /export/jailed_test/testjail sftp scp jk_lsh Traceback (most recent call last): File "/usr/sbin/jk_init", line 44, in ? import jk_lib File "/usr/share/jailkit/jk_lib.py", line 39, in ? import subprocess ImportError: No module named subprocess root > vi /usr/sbin/jk_init Michel > Date: Sat, 7 Aug 2010 15:52:45 +0200 > From: address@hidden > To: address@hidden > Subject: Re: [Jailkit-users] Error compiling jailkit on Sun Solaris 5.10 > > On 08/06/2010 11:54 AM, Michel * wrote: > > Hello, > > > > When I do the "make" command on a Sun Solaris 5.10 I get the below > > error. Does anyone know how I can fix this? Or what the problem can be? > > > > uname -a > > SunOS gclftp01 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V215 > > > > Thanks. > > > > Michel > > > > LOG: > > gclftp01 > make > > gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c jk_socketd.c > > jk_socketd.c: In function `main': > > jk_socketd.c:446: warning: int format, uid_t arg (arg 2) > > jk_socketd.c:446: warning: int format, gid_t arg (arg 3) > > jk_socketd.c:465: warning: int format, pid_t arg (arg 4) > > gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c jk_lib.c > > gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c utils.c > > gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c iniparser.c > > gcc -lposix4 -lxnet -lpthread -liberty -o jk_socketd jk_socketd.o > > jk_lib.o utils.o iniparser.o > > gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c jk_lsh.c > > jk_lsh.c: In function `main': > > jk_lsh.c:257: warning: implicit declaration of function `asprintf' > > gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c wordexp.c > > gcc -lposix4 -lxnet -lpthread -liberty -o jk_lsh jk_lsh.o iniparser.o > > jk_lib.o utils.o wordexp.o > > Undefined first referenced > > symbol in file > > asprintf jk_lsh.o > > it seems that Solaris 5.10 doesn't support asprintf. The source needs to > be updated to use a different function. I fixed this in CVS. Can you try > the cvs version? > > Olivier > > _______________________________________________ > Jailkit-users mailing list > address@hidden > http://lists.nongnu.org/mailman/listinfo/jailkit-users |
[Prev in Thread] | Current Thread | [Next in Thread] |