[prelude-user] make error in libprelude-0.9.17.2
Uwe Schwartz
usx303 at googlemail.com
Thu Jun 26 16:58:54 CEST 2008
Make fails during building perl-bindungs. If you don't need these, a
workaround would be to configure libprelude without perl:
# ./configure --without-perl
Uwe
On Sun, May 11, 2008 at 10:03 AM, Zafar Pravaiz <zpravaiz at aus.edu> wrote:
> i am trying to compile libprelude-0.9.17.2 on Solaris 10 (sparc). I
> can configure without any problem but when i go for make its gives me
> following error
>
>
>
> cd perl && LANG="" DESTDIR= LIBDIR=/usr/local/lib /opt/csw/bin/perl
> Makefile.PL INSTALLDIRS=site CC="gcc"
> Warning: -L../../src/.libs changed to -L/root/IDS/prelude/
> libprelude-0.9.17.2/bindings/perl/../../src/.libs
> Writing Makefile for Prelude
> cd perl && make LD_RUN_PATH=""
> gcc -c -I../.. -I../../src/include -I../../src/include -I../../src/
> libprelude-error -D_REENTRANT -pthreads -D_REENTRANT -xO3 -
> xtarget=ultra -xarch=v8 -I/opt/csw/bdb44/include -I/opt/csw/include -
> D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xtarget=ultra -
> xarch=v8 -DVERSION=\"\" -DXS_VERSION=\"\" -KPIC "-I/opt/csw/lib/
> perl/5.8.8/CORE" Prelude.c
> gcc: unrecognized option '-KPIC'
> gcc: language arch=v8 not recognized
> gcc: language arch=v8 not recognized
> gcc: Prelude.c: linker input file unused because linking not done
> rm -f blib/arch/auto/Prelude/Prelude.so
> LD_RUN_PATH="" cc -L../../src/.libs -D_REENTRANT -pthreads -G -L/opt/
> csw/bdb44/lib -L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/
> prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib Prelude.o -o blib/
> arch/auto/Prelude/Prelude.so \
> -L/root/IDS/prelude/libprelude-0.9.17.2/bindings/perl/../../
> src/.libs -lprelude \
>
> cc: Prelude.o: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `blib/arch/auto/Prelude/
> Prelude.so'
> Current working directory /root/IDS/prelude/libprelude-0.9.17.2/
> bindings/perl
> *** Error code 1
> make: Fatal error: Command failed for target `perl-build'
> Current working directory /root/IDS/prelude/libprelude-0.9.17.2/bindings
> *** Error code 1
> The following command caused the error:
> failcom='exit 1'; \
> for f in x $MAKEFLAGS; do \
> case $f in \
> *=* | --[!k]*);; \
> *k*) failcom='fail=yes';; \
> esac; \
> done; \
> dot_seen=no; \
> target=`echo all-recursive | sed s/-recursive//`; \
> list='libltdl libmissing m4 src prelude-admin bindings docs'; for
> subdir in $list; do \
> echo "Making $target in $subdir"; \
> if test "$subdir" = "."; then \
> dot_seen=yes; \
> local_target="$target-am"; \
> else \
> local_target="$target"; \
> fi; \
> (cd $subdir && make $local_target) \
> || eval $failcom; \
> done; \
> if test "$dot_seen" = "no"; then \
> make "$target-am" || exit 1; \
> fi; test -z "$fail"
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /root/IDS/prelude/libprelude-0.9.17.2
> *** Error code 1
> make: Fatal error: Command failed for target `all'
>
>
>
>
>
> Any idea what could be the wrong??
>
> Thanks
>
>
> _______________________________________________
> Prelude-user site list
> Prelude-user at prelude-ids.org
> http://lists.prelude-ids.org/mailman/listinfo/prelude-user
>
More information about the Prelude-user
mailing list