commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Dubuc <martind1...@gmail.com>
Subject [daemon] Failed compiling jsvc on Fedora and CentOS
Date Wed, 09 Jun 2010 17:12:36 GMT
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
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message