Operating System - Linux
1830161 Members
13788 Online
109999 Solutions
New Discussion

CUPS help install Config HPUX 11i

 
SOLVED
Go to solution
isaac_loven
Frequent Advisor

CUPS help install Config HPUX 11i

Hi forumers,
I am trying to install CUPS on a HP 11.11 machine. I have downloaded cups-1.0.2 from http://hpux.connect.org.uk/ and all it's dependancies. I swinstallED it all successfully. It creates /opt/cups, but there are no config files. Where are they? What do I do next?
Please do not answer "see cups.org", as this does not help. I have also tried to compile from the source, but get many errors, as others have also had. I do have ANSI-C.
Thanks in Advance,
Isaac
8 REPLIES 8
Matti_Kurkela
Honored Contributor

Re: CUPS help install Config HPUX 11i

You might have asked in a HP-UX group instead of this one, but here goes:

CUPS-1.0.2 of the HP-UX Porting Archive is archived on November 1999, so it is rather old.

At least the more modern versions of CUPS will present a Web interface on port 631 by default. Try to connect with a web browser to :631 and see what happens.

If there is no response, you might need to start cupsd first (since swinstall might not have started it automatically). If the package was installed to /opt/cups, cupsd would probably be at /opt/cups/sbin/cupsd or /opt/cups/bin/cupsd.
MK
Mark Grant
Honored Contributor

Re: CUPS help install Config HPUX 11i

I don't have cups on an hpux box but I would suggest you look in either /etc/cups /var/opt/cups or possibly /var/cups.

I would point out the 1.0.2 is rather old.
Never preceed any demonstration with anything more predictive than "watch this"
Colin Topliss
Esteemed Contributor

Re: CUPS help install Config HPUX 11i

The files are in /etc/cups

Its the standard area for the configuration files.
Colin Topliss
Esteemed Contributor
Solution

Re: CUPS help install Config HPUX 11i

BTW,

compiling is a nightmare. I tried to cover this in an LJ article, but it didn't seem to be appreciated too much :-(

Still, I'll try and help if I can should you wish to try and compile the source (note - you won't be able to do the 'make install' - at least I never managed to get it to work. You have to use another utility).

Col.
Paul Cross_1
Respected Contributor

Re: CUPS help install Config HPUX 11i

I have tried using CUPS under both solaris and HP-UX and eventually (when there was no more hair to tear) ran my CUPS server under linux. Works great. Among the issues, compiling was definitely a large problem. IMHO, CUPS was designed for linux.

Common Unix Printing System it is not...
Colin Topliss
Esteemed Contributor

Re: CUPS help install Config HPUX 11i

The biggest problem I found was that I had to use an up-to-date version of GCC, binutils, and GNU-make. HP's version of make is not compatible, and I had all sorts of trouble trying to use HP's ANSI C compiler (despite patching it to the hilt).

The CUPS code I think you'll find was built around GCC and GNU-make (hence make files that are incompatible with HP's version of make).

The version of CUPS from the porting centre was a complete mess, as well as being extremely out of date. The make files pointed to locations that did not exist on my server, and flatly refused to compile no matter what I did.

Even when I finally managed to compile CUPS, I couldn't do a 'make install' - and I never managed to fix that one. I used one of the utilities on the CUPS web site to create a depot (bypassing the need for the make install altogether). Luckily that did the trick.

Its nice now its in and working - but it was certainly 'fun'.
isaac_loven
Frequent Advisor

Re: CUPS help install Config HPUX 11i

Thanks to all for your replies.
( FYI, the install I did from the depot did not create /etc/cups , or any other config files).
Lots of Thanks to Colin Topliss, you have put in so much effort. ( I did read your article in LJ ! It was the only thing of any substance I could find on the topic of CUPS & HP ).

I have resorted to downloading printpro for HPUX from http://www.easysw.com .
After removing some of the security stuff from cups.conf, and pointing the ServerName to the linux box, It works. Running "lpstat -p" on HP shows me all the printers I have defined on the linux CUPS server.

Collin. How did you make the depot? I did not know where to start with epm. can u email me directly isaac.loven@ ap. effem. com
( remove the spaces)

Question:
1) If the linux box (cups server) dies, how can I automatically get the CUPS clients to see other CUPS servers? Can I put more then one ServerName in the config file?

2) As I am using printpro as a client on HP, do I need a licence? The error logs show that a licence is required if I want to use printpro as the server - the web interface does not work either without a licence. But I am only using it as a client.
I have emailed Easysw this question, but they have not replied to this question.

Thanks.
Isaac
Antonio  Bravo
Occasional Contributor

Re: CUPS help install Config HPUX 11i

I went recently through all that annoyances trying to build the latest cups, and the Liverpool archive depot is useless.
(btw. many things aren't consistent on that archive those days...)

I finally found ready to run binaries on:

ftp://ftp.planetmirror.com or
http://public.www.planetmirror.com

in /pub/cups/
latest binary version is 1.1.10.Just run the install script and it sets the printing system and puts all in place.Point your browser to localhost:631/admin.That's all.
Outside planetmirror.com I couldn't find other places for binaries, excepted 1.1.6 from chineses ftp, available through
http://download.enet.com.cn (can be very slow)

All in all it seems cups.org is really for Linux.Could be named CNUPS (Cups is Not Unix Printing System)...
Otherwise it's a front window to easysw.com were you can buy from $295 (standalone version).

LPRng is much more cross platform, and has a tk tool.Not user friendly as cups though.