commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [daemon] Failed compiling jsvc on Fedora and CentOS
Date Wed, 09 Jun 2010 18:41:34 GMT
On 09/06/2010, Martin Dubuc <martind1111@gmail.com> 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: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message