Installation of CUPS in HP-UX 11i

nivi rnivi26 at yahoo.com
Tue Jun 10 21:18:52 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"
>
>
The zlib (libz.a,libz.sl) is present in usr/local/lib. The same parameters which you have mentioned is used to to execute the configure file.
 I ams till getting the same error.

 /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (testhttp.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unrecognized argument: +init
 /usr/ccs/bin/ld: Usage:  /usr/ccs/bin/ld [options] [flags] files
collect2: ld returned 1 exit status
 *** Error exit code 1
Stop.

Which version should i use to install. Can you provide me the link and the install procedure for the same?

Thanks,




More information about the cups mailing list