Error Compiling CUPS 1.4.5 on Solaris 10

N/A danielsr at nifcoam.com
Mon Nov 22 08:42:02 PST 2010


I am trying to compile CUPS 1.4.5 on Solaris 10, and I get this error:

*** Error code 1
The following command caused the error:
/usr/sfw/bin/gcc  -Wall -Wno-format-y2k -fPIC -Os -g -I.. -D_CUPS_SOURCE -I/usr/lib -I/usr/sfw/lib -DOPENSSL_DISABLE_OLD_DES_SUPPORT  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS  -c -o printers.o printers.c
make: Fatal error: Command failed for target `printers.o'
Current working directory /home/applmgr/rd/112010/cups-1.4.5/scheduler
*** Error code 1
The following command caused the error:
for dir in cups filter backend berkeley cgi-bin driver locale man monitor  notifier ppdc scheduler systemv test    conf data doc examples fonts templates; do\
        echo Making all in $dir... ;\
        (cd $dir ; make  all ) || exit 1;\
done
make: Fatal error: Command failed for target `all'

My setup is as follows:

PATH=/usr/X11/bin:$PATH
export PATH

CC=/usr/sfw/bin/gcc
export CC

CFLAGS="-I/usr/lib -I/usr/sfw/lib"
export CFLAGS
CXXFLAGS="-I/usr/lib -I/usr/sfw/lib"
export CXXFLAGS
DSOFLAGS="-L/usr/lib:/usr/sfw/lib -R/usr/lib:/usr/sfw/lib"
export DSOFLAGS
LDFLAGS="-L/usr/lib:/usr/sfw/lib -R/usr/lib:/usr/sfw/lib"
export LDFLAGS

./configure --disable-gssapi

Any ideas?

Thanks




More information about the cups mailing list