make error after compile 1.4.6

paul young paul.young at wiltshire.gov.uk
Wed Mar 9 08:44:39 PST 2011


Hi,

I'm quite new to all of the NIX environmet, coming from a Windows support back ground.

I have managed to run the ./compile for cups 1.4.6. This took a while for me while debugging missing /libs etc but got there in the end.

Once this completed I almost jumped for joy and jumped straight to the next step of "make".

This has failed with the following ppdc error:

Compiling ppdc-array.cxx...
In file included from ../cups/http-private.h:60,
                 from ../cups/globals.h:26,
                 from ppdc-private.h:24,
                 from ppdc-array.cxx:29:
/usr/include/kerberosv5/krb5.h:11: warning: ignoring #pragma ident
In file included from ../cups/http-private.h:60,
                 from ../cups/globals.h:26,
                 from ppdc-private.h:24,
                 from ppdc-array.cxx:29:
/usr/include/kerberosv5/krb5.h:3122: error: expected declaration before '}' token
In file included from ../cups/http-private.h:60,
                 from ../cups/globals.h:26,
                 from ppdc-private.h:24,
                 from ppdc-array.cxx:29:
/usr/include/kerberosv5/krb5.h:3121:1: unterminated #ifdef
/usr/include/kerberosv5/krb5.h:8:1: unterminated #ifndef
In file included from ../cups/globals.h:26,
                 from ppdc-private.h:24,
                 from ppdc-array.cxx:29:
../cups/http-private.h:59:1: unterminated #ifdef
../cups/http-private.h:43:1: unterminated #ifdef
../cups/http-private.h:18:1: unterminated #ifndef
In file included from ppdc-private.h:24,
                 from ppdc-array.cxx:29:
../cups/globals.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 -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 /opt/csw/cups-1.4.6/ppdc
*** 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 libraries in $dir... ;\
        (cd $dir ; make  libs) || exit 1;\
done
make: Fatal error: Command failed for target `libs'


I then tried to uncomment the line "#include "ppdc-private.h"

which then gives me a string of other errors which I can post if needed.

Can anyone point out what i'm doing wrong please, my time scale to update cups from 1.2.7 to 1.4.6 is running out fast.

Kind Regards

Paul






More information about the cups mailing list