I found out what the issue was. The archive I was using to build jsvc had object files and librairies compiled by someone else on another system. I did a make clean and I can now build jsvc.
Martin On Wed, Jun 9, 2010 at 2:41 PM, sebb <[email protected]> wrote: > On 09/06/2010, Martin Dubuc <[email protected]> wrote: > > I can't get the jsvc binary to build on Fedora and CentOS. Here is the > > output of make: > > > > ./configure --with-java=/usr/java > > > > (cd native; make all) > > make[1]: Entering directory > > > > `/root/apache-tomcat-7.0.0-RC4/bin/commons-daemon-1.0.2-native-src/unix/native' > > gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"i386\" -I/usr/java/include > > -I/usr/java/include/linux -Wall -Wstrict-prototypes -c debug.c -o > debug.o > > gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"i386\" -I/usr/java/include > > -I/usr/java/include/linux -Wall -Wstrict-prototypes -c home.c -o home.o > > gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"i386\" -I/usr/java/include > > -I/usr/java/include/linux -Wall -Wstrict-prototypes -c signals.c -o > > signals.o > > ar cr libservice.a arguments.o debug.o dso-dlfcn.o dso-dyld.o help.o > home.o > > java.o location.o replace.o locks.o signals.o > > ar: libservice.a: Malformed archive > > I could be wrong, but that does not look like a problem with jsvc. > > The command that is failing is ar, not one of the compile stages. > > Check that you have not run out of disk space, also permissions etc. > > Delete libservice.a and try again. > > > make[1]: *** [libservice.a] Error 1 > > make[1]: Leaving directory > > > > `/root/apache-tomcat-7.0.0-RC4/bin/commons-daemon-1.0.2-native-src/unix/native' > > make: *** [native/all] Error 2 > > > > Anybody was successful builidng jsvc on Fedora or CentOS? > > > > > > Martin > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
