Installation of CUPS in HP-UX 11i

nivi rnivi26 at yahoo.com
Mon May 26 03:48:39 PDT 2008


Thanks for the reply.
I am using 11i v1 ... 11.11 (PA-RISC) architecture.


http://hpux.connect.org.uk/hppd/hpux/Sysadmin/cups-1.0.2/
>> I installed from this site. It did not open that CUPS site.

May be the procedure is different.


Can you help me with the procedure of installation CUPS.
could not follow the procedure given in this link because the configuration files are different.
http://ve2dmn.blogspot.com/2007/04/installing-cups-on-hp-ux.html

Thanks,
Meera






> Sorry, but this seems to be the only port which can be downloaded:
> http://hpux.connect.org.uk/hppd/hpux/Sysadmin/cups-1.0.2/
>
> (very very very old)
>
>
> Which 11i and which architecture do you mean?
> 11i v1 ... 11.11 (PA-RISC)
> 11i v2 ... 11.23 (PA-RISC and IA64)
> 11i v3 ... 11.31 (PA-RISC and IA64)
>
>
> Our way is to patch and compile CUPS 1.3.x:
>
> (--- START PATCH -----------------------------------------)
> *** configure.old       Tue Feb 27 11:28:19 2007
> --- configure   Tue Feb 27 11:29:49 2007
> ***************
> *** 8131,8148 ****
>                         # HP-UX needs the path, even for /usr/lib...
>                         case "$uarch" in
>                                 ia64)
> !                                       DSOFLAGS="-Wl,+s,+b,$libdir $DSOFLAGS"
> !                                       DSO32FLAGS="-Wl,+s,+b,$LIB32DIR $DSO32FLAGS"
> !                                       DSO64FLAGS="-Wl,+s,+b,$LIB64DIR $DSO64FLAGS"
>                                         ;;
>                                 *)
> !                                       DSOFLAGS="+s +b $libdir $DSOFLAGS"
> !                                       DSO32FLAGS="+s +b $LIB32DIR $DSO32FLAGS"
> !                                       DSO64FLAGS="+s +b $LIB64DIR $DSO64FLAGS"
>                                         ;;
>                         esac
> !                       LDFLAGS="$LDFLAGS -Wl,+s,+b,$libdir"
> !                       EXPORT_LDFLAGS="-Wl,+s,+b,$libdir"
>                         ;;
>                   SunOS*)
>                         # Solaris...
> --- 8131,8148 ----
>                         # HP-UX needs the path, even for /usr/lib...
>                         case "$uarch" in
>                                 ia64)
> !                                       DSOFLAGS="-Wl,+s,+b,$libdir:/usr/local/lib/hpux32:/usr/lib/hpux32/gss $DSOFLAGS"
> !                                       DSO32FLAGS="-Wl,+s,+b,$LIB32DIR:/usr/local/lib/hpux32:/usr/lib/hpux32/gss $DSO32FLAGS"
> !                                       DSO64FLAGS="-Wl,+s,+b,$LIB64DIR:/usr/local/lib/hpux64:/usr/lib/hpux64/gss $DSO64FLAGS"
>                                         ;;
>                                 *)
> !                                       DSOFLAGS="+s +b $libdir:/usr/local/lib/hpux32:/usr/lib/hpux32/gss $DSOFLAGS"
> !                                       DSO32FLAGS="+s +b $LIB32DIR:/usr/local/lib/hpux32:/usr/lib/hpux32/gss $DSO32FLAGS"
> !                                       DSO64FLAGS="+s +b $LIB64DIR:/usr/local/lib/hpux64:/usr/lib/hpux64/gss $DSO64FLAGS"
>                                         ;;
>                         esac
> !                       LDFLAGS="$LDFLAGS -Wl,+s,+b,$libdir:/usr/local/lib/hpux32:/usr/lib/hpux32/gss"
> !                       EXPORT_LDFLAGS="-Wl,+s,+b,$libdir:/usr/local/lib/hpux32:/usr/lib/hpux32/gss"
>                         ;;
>                   SunOS*)
>                         # Solaris...
> (--- END PATCH -----------------------------------------)
>
>
>
>
>
> HP-UX 11.11 (PA-RISC) with GCC Compiler:
>
> 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=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --enable-ldap --with-rclevels="2" --with-rcstart="380" --with-rcstop="620" --with-rcdir="/sbin" --with-rclevels="2"
>
>
>
> HP-UX 11.23 (IA64) with GCC Compiler:
>
> INSTALL="`pwd`/install-sh -c" LDFLAGS="-L/usr/local/lib/hpux32 -L/usr/lib/hpux32/gss" DSOFLAGS="-L/usr/local/lib/hpux32 -L/usr/lib/hpux32/g
> ss -L/usr/local/lib/hpux64 -L/usr/lib/hpux64/gss" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib/hpux32
> --enable-ldap --with-rclevels="2" --with-rcstart="380" --with-rcstop="620" --with-rcdir="/sbin" --with-rclevels="2" --enable-64bit
>
>
>
> HP-UX 11.31 (IA64) with HP ANSI C and C++ Compiler:
>
> CC="cc" CXX="aCC" CFLAGS="-I/usr/local/include" CPPFLAGS="-I/usr/local/include" CXXFLAGS="-I/usr/local/include" INSTALL="`pwd`/install-sh -
> c" LDFLAGS="-L/opt/ldapux/lib/hpux32 -L/usr/local/lib/hpux32 -L/usr/lib/hpux32/gss" DSOFLAGS="-L/opt/ldapux/lib/hpux32 -L/usr/local/lib/hpu
> x32 -L/usr/lib/hpux32/gss -L/usr/local/lib/hpux64 -L/usr/lib/hpux64/gss" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var -
> -libdir=/usr/lib/hpux32 --enable-ldap --with-rclevels="2" --with-rcstart="380" --with-rcstop="620" --with-rcdir="/sbin" --with-rclevels="2"
> --enable-64bit
>
>
> NOTICE: You should disable 64bit, Kerberos and LDAP support if you don't need it.
> If you need LDAP please install patches from following STR:
> http://www.cups.org/str.php?L1962
>
> WARNING: Above paths are configured to replace lpsched! So you have to remove lpsched first (swremove -xenforce_dependencies=false PrinterMGMT) if you don't want to get in trouble with system upgrades.
>
> CAUTION: For the first tests you shouldn't replace lpsched! Please configure a prefix like /opt/cups
>
>
> Good luck!
>
> regards!
> Bernd
>
>
> > Hi,
> >
> > Can anybody provide me the download link for CUPS on HP-UX 11i?
> > and point me where i can get thorough help or howtos, certainly detailed, to get cups and hopefully
> > my printer running?
> >
> > Thanks in advance
>





More information about the cups mailing list