Installation of CUPS in HP-UX 11i

Bernd Krumböck b.krumboeck at universalnet.at
Tue Jun 10 07:53:57 PDT 2008


> Hi,
>
> I installed ANSI C/C++ trial version. Then gave export command which you have mentioned.
>
> Then executed ./configure file.
>
> Then gave make command. the error thrown was
>
> # make
> Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> Using LDFLAGS=-L../cups -L../filter   -Wl,+s,+b,/usr/lib:/usr/local/lib/hpux32:/usr/lib/hpux32/gss   -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -D_XOPEN_SOURCE_EXTENDED -D_INCLUDE_HPUX_SOURCE -D_HPUX_SOURCE
> Using LIBS=-lcups  -lpthread -lsec
> Making all in cups...
> Linking libcups.sl.2...
> /bin/ld: Can't find library for -lz
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
>
>
> What is the library that I am missing here???
>
> Thanks,

You are missing zlib Library. With which parameters did you execute the configure file?

I hope you used something like this:

INSTALL="`pwd`/install-sh -c" LDFLAGS="-L/usr/local/lib -L/usr/lib/gss -L/opt/zlib/lib" DSOFLAGS="-L/usr/local/lib -L/usr/lib/gss -L/opt/zlib/lib" CPPFLAGS="-I/opt/zlib/include" ./configure --prefix=/opt/cups --sysconfdir=/etc --localstatedir=/var --with-rclevels="2" --with-rcstart="380" --with-rcstop="620" --with-rcdir="/sbin" --with-rclevels="2"






More information about the cups mailing list