cups-1.0.2 on HP-UX 11

Klaus Fehlker lythie_ng at gmx.net
Thu Apr 28 01:18:32 PDT 2005


> Klaus Fehlker wrote:
> >>Anonymous wrote:
> >>
> >>>...
> >>>I tried that beforehand and it gave errors as well. That was
> >>>regarding any cp -d flag, which is indeed not supported on HP-UX
> >>>according to the manpages.
> >>
> >>Hmm, none of the CUPS makefiles use a "-d" option with the cp command.
> >>What is "INSTALL" set to in your Makedefs file?
> >
> >
> > INSTALL         =       /opt/imake/bin/install -c
> > [..]
> >
> > INSTALL_BIN     =       $(LIBTOOL) $(INSTALL) -m 755 -s
> > INSTALL_DATA    =       $(INSTALL) -m 644
> > INSTALL_DIR     =       $(INSTALL) -d
> > INSTALL_LIB     =       $(LIBTOOL) $(INSTALL) -m 755
> > INSTALL_MAN     =       $(INSTALL) -m 644
> > INSTALL_SCRIPT  =       $(INSTALL) -m 755
> >
> > I changed it to /usr/sbin/install and got the following:
>
> OK, change it to the full path to the install-sh script in the CUPS
> source directory.  It sounds like the imake install command is
> broken...
>

Ok, that worked better. Now it does not know how to make pdd.h. I cleaned everything, extracted the tar again but still the error comes on make install - i do not even know where ppd.h is?
Apart from this there were a lot of warnings during make. That looks a little bit frightening to me. Will i finally miss any functionality?

-bash-2.05b$ ./configure > configure.log
configure: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: png.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
-bash-2.05b$ vi Makedefs
"Makedefs" 191 lines, 4490 characters
[..]
HTMLDOC         =
#INSTALL                =       /opt/imake/bin/install -c
INSTALL                =       /u00/CUPS/cups-1.1.23/install-sh
LIBTOOL         =
[..]
"Makedefs" 192 lines, 4555 characters
-bash-2.05b$ make > make.log
http-support.c: In function `http_copy_decode':
http-support.c:353: warning: subscript has type `char'
http-support.c:359: warning: subscript has type `char'
ppd.c: In function `ppd_decode':
ppd.c:1939: warning: subscript has type `char'
ppd.c:1949: warning: subscript has type `char'
testipp.c: In function `main':
testipp.c:147: warning: int format, long unsigned int arg (arg 3)
testipp.c:162: warning: int format, long unsigned int arg (arg 2)
testipp.c: In function `print_attributes':
testipp.c:419: warning: `%c' yields only last 2 digits of year in some locales
socket.c: In function `main':
socket.c:338: warning: passing arg 2 of `select' from incompatible pointer type
ipp-var.c: In function `ippSetCGIVars':
ipp-var.c:489: warning: `%c' yields only last 2 digits of year in some locales
hpgl-prolog.c: In function `OutputProlog':
hpgl-prolog.c:71: warning: `%c' yields only last 2 digits of year in some locales
texttops.c: In function `WriteProlog':
texttops.c:204: warning: `%c' yields only last 2 digits of year in some locales
imagetops.c: In function `main':
imagetops.c:577: warning: `%c' yields only last 2 digits of year in some locales
imagetops.c:103: warning: `left' might be used uninitialized in this function
imagetops.c:103: warning: `top' might be used uninitialized in this function
Catalog.cxx: In constructor `Catalog::Catalog(XRef*)':
Catalog.cxx:67: warning: comparison between signed and unsigned integer
   expressions
Catalog.cxx:68: warning: comparison between signed and unsigned integer
   expressions
Catalog.cxx: In member function `int Catalog::readPageTree(Dict*, PageAttrs*,
   int)':
Catalog.cxx:200: warning: comparison between signed and unsigned integer
   expressions
XRef.cxx: In constructor `XRef::XRef(BaseStream*, GString*, GString*)':
XRef.cxx:79: warning: comparison between signed and unsigned integer
   expressions
XRef.cxx: In member function `GBool XRef::readXRef(Guint*)':
XRef.cxx:294: warning: comparison between signed and unsigned integer
   expressions
XRef.cxx: In member function `GBool XRef::constructXRef()':
XRef.cxx:448: warning: comparison between signed and unsigned integer
   expressions
XRef.cxx:473: warning: comparison between signed and unsigned integer
   expressions
auth.c: In function `IsAuthorized':
auth.c:1047: warning: assignment from incompatible pointer type
classes.c: In function `SaveAllClasses':
classes.c:625: warning: `%c' yields only last 2 digits of year in some locales
client.c: In function `AcceptClient':
client.c:123: warning: passing arg 3 of `accept' from incompatible pointer type
client.c: In function `ReadClient':
client.c:1012: warning: subscript has type `char'
client.c: In function `UpdateCGI':
client.c:2266: warning: subscript has type `char'
client.c: In function `check_if_modified':
client.c:2513: warning: subscript has type `char'
client.c:2521: warning: subscript has type `char'
client.c:2524: warning: subscript has type `char'
client.c: In function `decode_auth':
client.c:2566: warning: subscript has type `char'
client.c:2590: warning: subscript has type `char'
conf.c: In function `read_configuration':
conf.c:781: warning: subscript has type `char'
conf.c:791: warning: subscript has type `char'
conf.c:793: warning: subscript has type `char'
conf.c:798: warning: subscript has type `char'
conf.c:1017: warning: subscript has type `char'
conf.c:1042: warning: subscript has type `char'
conf.c:1069: warning: subscript has type `char'
conf.c:1111: warning: subscript has type `char'
conf.c:1204: warning: subscript has type `char'
conf.c:1222: warning: subscript has type `char'
conf.c:1250: warning: subscript has type `char'
conf.c:1287: warning: subscript has type `char'
conf.c:1290: warning: subscript has type `char'
conf.c:1301: warning: subscript has type `char'
conf.c:1381: warning: subscript has type `char'
conf.c:1403: warning: subscript has type `char'
conf.c:1450: warning: subscript has type `char'
conf.c:1461: warning: subscript has type `char'
dirsvc.c: In function `SendCUPSBrowse':
dirsvc.c:751: warning: int format, long int arg (arg 3)
dirsvc.c: In function `UpdateCUPSBrowse':
dirsvc.c:1157: warning: passing arg 6 of `recvfrom' from incompatible pointer type
printers.c: In function `SaveAllPrinters':
printers.c:1069: warning: `%c' yields only last 2 digits of year in some locales
type.c: In function `mimeAddTypeRule':
type.c:351: warning: subscript has type `char'
type.c:356: warning: subscript has type `char'
cups-lpd.c: In function `main':
cups-lpd.c:131: warning: passing arg 3 of `getpeername' from incompatible pointer type
lpstat.c: In function `show_jobs':
lpstat.c:1623: warning: `%c' yields only last 2 digits of year in some locales
-bash-2.05b$ su kf_sys
Password:
# make install > make-install.log
Make: Don't know how to make ppd.h.  Stop.

Stop.
# exit
# -bash-2.05b$ find ./ -name ppd.h





More information about the cups mailing list