[Reconnoiter-users] Compiling on Solaris

Sam Freiberg samueldean at gmail.com
Sun Aug 23 02:51:56 EDT 2009


I know that Reconnoiter is supposed to compile on Solaris. When I try to
compile it I get the following error:
make[1]: Entering directory `/root/reconnoiter/src'
(cd serf && \
                env \
                CFLAGS="-g -O2 -g -Wall -I/usr/include/libxml2
-I/opt/csw/include -I/usr/include/libxml2" \
                LDFLAGS="-L/opt/csw/postgresql/lib -L/opt/csw/lib
-R/opt/csw/lib -lpcre" \
                python serfmake build --with-apr=/opt/csw/apache2)
/opt/csw/apache2/share/build/libtool --silent --mode=compile
/opt/studio/SOS11/SUNWspro/bin/cc -g -O2 -g -Wall -I/usr/include/libxml2
-I/opt/csw/include -I/usr/include/libxml2 -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I.
-I/opt/csw/apache2/include -I/opt/csw/apache2/include -c -o ./context.lo
./context.c
cc: -W option with unknown program all
ERROR: exception:
('/opt/csw/apache2/share/build/libtool --silent --mode=compile
/opt/studio/SOS11/SUNWspro/bin/cc -g -O2 -g -Wall -I/usr/include/libxml2
-I/opt/csw/include -I/usr/include/libxml2 -DSOLARIS2=8
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I.
-I/opt/csw/apache2/include -I/opt/csw/apache2/include -c -o ./context.lo
./context.c', 256)

serfmake [cmd] [options]
Commands:
        build   Builds (default)
        check   Runs test cases
        install Installs serf into PREFIX
        clean   Cleans
Options:
        --with-apr=PATH prefix for installed APR and APR-util
                        (needs apr-1-config and apu-1-config; will look in
PATH)
        --prefix=PATH   install serf into PATH (default: /usr/local)
Quick guide:
        serfmake --prefix=/usr/local/serf --with-apr=/usr/local/apr install
make[1]: *** [serf/.libs/libserf-0.a] Error 1
make[1]: Leaving directory `/root/reconnoiter/src'
make: *** [all] Error 2

I think what's happening is that it's pulling the compiler from apr
(/opt/studio/SOS11/SUNWspro/bin/cc) instead of gcc that I'm using to
compile. If that's correct is there a way to override it? And if not how
have people compiled Reconnoiter on Solaris? I don't really want to compile
everything by hand so I'm using packages from opencsw.org.

-- 
Sam Freiberg
+ samueldean at gmail.com
+- http://www.darkaslight.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.omniti.com/pipermail/reconnoiter-users/attachments/20090823/ee9336c2/attachment.html 


More information about the Reconnoiter-users mailing list