- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Installation of CUPS in HP-UX 11i
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 09:32 PM
05-25-2008 09:32 PM
I installed CUPS in HP-UX 11i. http://localhost:631 does not open the CUPS page. Does anyone have any idea about this. or tell me the link where i can get details.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 09:43 PM
05-25-2008 09:43 PM
Re: Installation of CUPS in HP-UX 11i
What error you are getting. Is the web server already started for you to see the html pages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 10:40 PM
05-25-2008 10:40 PM
Re: Installation of CUPS in HP-UX 11i
I installed using
swcopy -s /tmp/cups-1.2.8/dist/cups-1.2.0-hpux-11.11-hppa.depot \* @ hostA:/tmp/sw
swinstall -s hostA:/tmp/sw
and i could see configuration file sin
/etc/cups
now i tried to open CUPS through the url://http://localhost:631. It did not open the CUPS brwser page.
If the installation procedure is wrong can you tell me the exact procedure for installation.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2008 11:13 PM
05-25-2008 11:13 PM
Re: Installation of CUPS in HP-UX 11i
swlist -l product|grep cup
Is the daemon for cups (cupsd) running.
ps -ef|grep cups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 10:25 PM
06-02-2008 10:25 PM
Re: Installation of CUPS in HP-UX 11i
first I ma trying to install libraries. All the libraries got installed except gcc... the gcc 4.2.3 that I am tryin to install gives error and in the log it is showing "gcc.gcc-RUN,r=4.2.3 cannot be successfully resolved. You must resolve the above dependencies before operating on this fileset or change the "enforce_dependencies" to "false".
should i use gcc 4.2.1 or 4.2.3.
if i have to use gcc-4.2.1 Please provide me the link for gcc4.2.1.
If gcc-4.2.3 should be used ples help me with the procedure...
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 10:39 PM
06-02-2008 10:39 PM
Re: Installation of CUPS in HP-UX 11i
What is the dependency?
Are you trying to install these depots one at a time? It would be better to swcopy them all into one big depot and install at once. Then the dependencies are all there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 12:14 AM
06-03-2008 12:14 AM
Re: Installation of CUPS in HP-UX 11i
What is the dependency?
Are you trying to install these depots one at a time? It would be better to swcopy them all into one big depot and install at once. Then the dependencies are all there.
I couldn't understand what the dependency will be. I have already installed all depot's separately. only this gcc gave error.
Should i use gcc-4.2.1 or gcc 4.2.3??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 01:43 AM
06-03-2008 01:43 AM
Re: Installation of CUPS in HP-UX 11i
I got answer for this. I had downloaded libgcc-4.2.3 and installed it. and ran gcc-4.2.3. It successfully ran with no errors or warnings....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 01:53 AM
06-03-2008 01:53 AM
Re: Installation of CUPS in HP-UX 11i
I'm hoping you meant to say swinstall, not swcopy.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 01:56 AM
06-03-2008 01:56 AM
Re: Installation of CUPS in HP-UX 11i
1) swcopy to a depot
2) swinstall from that depot
;-))
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 03:22 AM
06-03-2008 03:22 AM
Re: Installation of CUPS in HP-UX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2008 11:52 PM
06-09-2008 11:52 PM
Re: Installation of CUPS in HP-UX 11i
swlist gives this
apache2 2.2.8 apache2
autoconf 2.62 autoconf
bash 3.2 bash
bison 2.3 bison
db 4.6.21 db
flex 2.5.35 flex
gawk 3.1.6 gawk
gcc 4.2.3 gcc
gdbm 1.8.3 gdbm
gettext 0.17 gettext
ghostscript 8.56.0 ghostscript
jpeg 6b jpeg
libgcc 4.2.3 libgcc
libiconv 1.12 libiconv
libpng 1.2.29 libpng
m4 1.4.11 m4
make 3.81 make
ncurses 5.6 ncurses
openssl 0.9.8h openssl
popt 1.7 popt
readline 5.2 readline
sed 4.1.5 sed
tcltk 8.5.2 tcltk
termcap 1.3.1 termcap
texinfo 4.11 texinfo
tiff 3.8.2 tiff
zlib 1.2.3 zlib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 12:37 AM
06-10-2008 12:37 AM
Re: Installation of CUPS in HP-UX 11i
i downloaded CUPS 1.3.7 for HP-UX 11.11 PA-RISC architecture and all the dependency libraries like gcc, gettext.......
By the way you know the procedure for installation.
when i gave "make" command, the following error was thrown and i could not solve it.
# 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.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 12:41 AM
06-10-2008 12:41 AM
Re: Installation of CUPS in HP-UX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 01:22 AM
06-10-2008 01:22 AM
Re: Installation of CUPS in HP-UX 11i
>ld: Can't find library for -lz
Where did you put your zlib dependency?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 01:28 AM
06-10-2008 01:28 AM
Re: Installation of CUPS in HP-UX 11i
anyways the procedure i followed is
check whether all the dependencied are installed.
gcc 4.2.1 gcc
gcc.gcc-INC
gcc.gcc-MAN
gcc.gcc-RUN
# gettext 0.17 gettext
gettext.gettext-MAN
gettext.gettext-RUN
# ghostscript 8.56.0 ghostscript
ghostscript.ghostscript-MAN
ghostscript.ghostscript-RUN
# jpeg 6b jpeg
jpeg.jpeg-RUN
# libiconv 1.11 libiconv
libiconv.libiconv-RUN
# libpng 1.2.18 libpng
libpng.libpng-RUN
# tiff 3.8.2 tiff
tiff.tiff-MAN
tiff.tiff-RUN
# zlib 1.2.3 zlib
zlib.zlib-RUN
gave ./configure
gave "make"command
This make command gives error like
# 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.
please help me how to solve if you know the answer.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 01:31 AM
06-10-2008 01:31 AM
Re: Installation of CUPS in HP-UX 11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 02:00 AM
06-10-2008 02:00 AM
Re: Installation of CUPS in HP-UX 11i
please let me know in case of any progression.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 02:39 AM
06-10-2008 02:39 AM
Re: Installation of CUPS in HP-UX 11i
It would help to know what the ld link line has. You might try:
export LDOPTS="-v -t"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 03:11 AM
06-10-2008 03:11 AM
Re: Installation of CUPS in HP-UX 11i
1. Install all the dependencies (look at my previous post with the swlist)
2. copy files from /usr/local/lib/ to /usr/lib/
3. Go for the next command
CFLAGS "-I/usr/local/lib" ; \
CPPFLAGS "-I/usr/local/lib" ; \
CXXFLAGS "-I/usr/local/lib" ; \
LDFLAGS="-L/usr/local/lib" ; \
DSOFLAGS="-L/usr/local/lib" ; \
./configure --prefix=/usr/local/cups
#or another directory where you want to put cups
4. vi Makedefs
"SHELL = /bin/sh" has to become "SHELL = /usr/local/bin/bash"
5. gmake all
6. gmake install
7. edit the cupsd.conf en make it like this:
LogLevel info
LogFilePerm 0600
MaxLogSize 20000
Printcap /etc/printcap
Listen cupsclient:515 #515 is for the LPD protocol
Listen cupsclient:631 #cupsclient is the server where you're installing cups on.
Listen 127.0.0.1:515
Listen 127.0.0.1:631
Browsing On
BrowseProtocols cups
BrowseAllow from All
BrowseOrder allow,deny
BrowsePoll cupsserver:631 #the cupsserver is the server you connect your printers to. With the poll you get those printers on your client too.
BrowsePort 631
DefaultEncryption Never
SystemGroup sys
AuthType None
AuthClass Anonymous
Order Allow,Deny
Allow From All
AuthType Basic
AuthClass System
Order Allow,Deny
Allow From All
AuthType Basic
AuthClass System
Order Allow,Deny
Allow From All
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 08:28 PM
06-10-2008 08:28 PM
Re: Installation of CUPS in HP-UX 11i
I gave the parameters which you have given to execute with the configure file.
Now it is giving some other 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.
since it did not recognize the init, linker has to be upgarde to a newer version! please help me in getting the latest linker by providing path and installation procedure.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 09:06 PM
06-10-2008 09:06 PM
Solutionlatest linker patch: PHSS_37517
http://www.itrc.hp.com/service/patch/search.do?BC=main|&pageOsid=hpux
After you download the patch:
# sh PHSS_37517
# swinstall -s $PWD/PHSS_37517.depot \*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 09:34 PM
06-10-2008 09:34 PM
Re: Installation of CUPS in HP-UX 11i
># sh PHSS_37517
After this step, installation instructions are also in PHSS_37517.text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 10:47 PM
06-10-2008 10:47 PM
Re: Installation of CUPS in HP-UX 11i
It got installed. and the CUPS installation with "make" command was running for 5 mins then finally gave error as below..
/usr/include/shadow.h:42 error: conflicting types for "getspnam"
/usr/include/plot.h:650: previous declaration of "getspnam" is here
***Error exit code 1
stop
I searched in net, it is given PHCO_23702 patch will solve this error.
I downloaded the patch and installed then gave "make" command. It did not give any error. cups is found in /opt directory..
But it is not present in sbin/init.d directory.
how to start the cups?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2008 11:00 PM
06-10-2008 11:00 PM