Configure CUPS on Solaris issues

Bryan Marrie solarisace at gmail.com
Sun Jun 19 17:22:35 PDT 2011


> I am running Solaris 10 update 4. I'm trying to install cups 1.5rc1 on solaris.
>
> When I ./configure it completes fine but when I run make I get the following Fatal error. I've only copied the last 20/30 lines of output. Can anyone help:
>
> In file included from ../cups/cups-private.h:29,
>                  from ppdc-private.h:23,
>                  from ppdc-array.cxx:29:
> ../cups/http-private.h:67:1: unterminated #ifdef
> ../cups/http-private.h:44:1: unterminated #ifdef
> ../cups/http-private.h:18:1: unterminated #ifndef
> In file included from ppdc-private.h:23,
>                  from ppdc-array.cxx:29:
> ../cups/cups-private.h:18:1: unterminated #ifndef
> In file included from ppdc-array.cxx:29:
> ppdc-private.h:15:1: unterminated #ifndef
> *** Error code 1
> The following command caused the error:
> g++  -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -I.. -D_CUPS_SOURCE -I/usr/include/kerberosv5 -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 ppdc-array.o ppdc-array.cxx
> make: Fatal error: Command failed for target `ppdc-array.o'
> Current working directory /usr/local/cups-1.5rc1/ppdc
> *** Error code 1
> The following command caused the error:
> for dir in cups test filter backend berkeley cgi-bin driver monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates  fonts; do\
>         echo Making all in $dir... ;\
>         (cd $dir ; make  all ) || exit 1;\
> done
> make: Fatal error: Command failed for target `all'
>
>
>


Here is the last 20/30 lines of output if I run "make install" this is what I get:

In file included from ppdc-array.cxx:29:
ppdc-private.h:15:1: unterminated #ifndef
*** Error code 1
The following command caused the error:
g++  -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -I.. -D_CUPS_SOURCE -I/usr/include/kerberosv5 -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 ppdc-array.o ppdc-array.cxx
make: Fatal error: Command failed for target `ppdc-array.o'
Current working directory /usr/local/cups-1.5rc1/ppdc
*** Error code 1
The following command caused the error:
for dir in cups test filter backend berkeley cgi-bin driver monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates  fonts; do\
        echo Making libraries in $dir... ;\
        (cd $dir ; make  libs) || exit 1;\
done
make: Fatal error: Command failed for target `libs'
#





More information about the cups mailing list