cups-1.0.2 on HP-UX 11

lythie_ng at gmx.net lythie_ng at gmx.net
Tue Apr 26 08:27:53 PDT 2005


Hello,

I wrote this to cups-info at cups.org as well as stephie at connect.org.uk mentioned in some CUPS installation notes from http://hpux.connect.org.uk/hppd/hpux/Sysadmin/cups-1.0.2/. Unfortunately, these adresses seem to have vanished :( Could anyone reading this help?

I tried to compile your cups-1.0.2 for HP-UX 11. It gave some errors that headers could not be found. But i set the corresponding paths in the environment variables before (s. bottom of log).

Now i have the problem that i can access http://localhost:631 but when accessing http://localhost:631/admin it gives me "File not found" in the browser after i authenticated. Did i do anything wrong?
Moreover, the original lp commands have not been removed from the system.
What do i need to do in order to make CUPS the standard printing tool - instead of the standard HP-UX lp?

I would very much appreciate your help since i need to get rid of this poor HP-UX lp and the standard CUPS sources did not compile due to some cp -d flag.

Many thanks for a short answer or maybe some additional ressources that can help me further,
Klaus Fehlker


Here the log:
-bash-2.05b$ CCFLAGS="-I/usr/local/include -I/opt/libpng/include"; export CCFLAGS -bash-2.05b$ CFLAGS=$CCFLAGS; export CFLAGS -bash-2.05b$ CXXFLAGS=$CFLAGS; export CXXFLAGS -bash-2.05b$ LDFLAGS="-L/usr/local/lib -L/opt/libpng/lib"; export LDFLAGS -bash-2.05b$ DSOFLAGS=$LDFLAGS; export DSOFLAGS -bash-2.05b$ set BASH=/usr/local/bin/bash BASH_VERSINFO=([0]="2"
[1]="05b" [2]="0" [3]="1" [4]="release"
[5]="hppa2.0n-hp-hpux11.00")
BASH_VERSION='2.05b.0(1)-release'
CCFLAGS='-I/usr/local/include -I/opt/libpng/include'
CFLAGS='-I/usr/local/include -I/opt/libpng/include'
COLUMNS=120
CXXFLAGS='-I/usr/local/include -I/opt/libpng/include'
DIRSTACK=()
DSOFLAGS='-L/usr/local/lib -L/opt/libpng/lib'
EDITOR=vi
ERASE='^H'
EUID=129
GROUPS=()
HISTFILE=/home/kfehlker/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/kfehlker
HOSTNAME=parhs003
HOSTTYPE=hppa2.0n
IFS=$'
\t\n'
LDFLAGS='-L/usr/local/lib
-L/opt/libpng/lib'
LINES=24
LOGNAME=kfehlker
MACHTYPE=hppa2.0n-hp-hpux11.00
MAIL=/var/spool/mail/kfehlker
MAILCHECK=60
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgr
ade/share/man/%L:/opt/upgrade/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/o
pt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/mx/share/man:/usr/dt/share/man:
/opt/samba/man:/opt/resmon/share/man:/opt/perf/man/%L:/opt/perf/man:/opt/prm/man/%L:/opt/prm/man:/opt/gnome/man:/opt/gra
phics/common/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/ssh/share/man:/opt/audio/share/man:/opt/ansic/sha
re/man/%L:/opt/ansic/share/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/image/share/man:/opt/imake/man:
/opt/mqm/man
OPTERR=1
OPTIND=1
OSTYPE=hpux11.00
PATH=/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms
/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/cfg2html:/opt/resmon/bin:/opt/perf/bin:/opt/prm/bin:/opt/mx/bin:
/opt/gnome/bin:/opt/mozilla:/opt/ignite/bin:/opt/graphics/common/bin:/usr/sbin/diag/contrib:/opt/langtools/bin:/opt/imak
e/bin:/usr/local/bin:/usr/local/bin:/opt/java1.4/jre/bin:.
PIPESTATUS=([0]="0")
PPID=14582
PS1='\s-\v\$ '
PS2='>
'
PS4='+
'
PWD=/u00/CUPS/cups-1.0.2
SHELL=/usr/local/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:interactive-comments:monitor:nounset
SHLVL=1
SSH_CLIENT='2.252.233.159 4782 22'
SSH_CONNECTION='2.252.233.159 4782 2.33.177.92 22'
SSH_TTY=/dev/pts/1
TERM=xterm
TZ=MET-1METDST
UID=129
USER=kfehlker
_=DSOFLAGS
-bash-2.05b$ ./configure > configure.log -bash-2.05b$ ./configure > configure.log -bash-2.05b$ make > make.log
cc: "ppd.c", line 1370: warning 562: Redeclaration of "compare_strings" with a different storage class specifier: "compare_strings" will have internal linkage.
ld: (Warning) At least one PA 2.0 object file (emit.o) was detected. The linked output may not run on a PA 1.x system.
/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: (Warning) At least one PA 2.0 object file (testmime.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (testppd.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (betest.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (ipp.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (lpd.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (parallel.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (serial.o) was detected. The linked output may not run on a PA 1.x system.
cc: "socket.c", line 220: warning 604: Pointers are not assignment-compatible.
cc: "socket.c", line 220: warning 563: Argument #2 is not the correct type.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (socket.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (lpc.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (lpq.o) was detected. The linked output may not run on a PA 1.x system.
cc: "lpr.c", line 233: warning 604: Pointers are not assignment-compatible.
cc: "lpr.c", line 233: warning 563: Argument #2 is not the correct type.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (lpr.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (lprm.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (classes.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (jobs.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (printers.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (hpgl-attr.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (texttops.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (pstops.o) was detected. The linked output may not run on a PA 1.x system.
cpp: "image-tiff.c", line 36: error 4036: Can't open include file 'tiff.h'.
cpp: "image-tiff.c", line 37: error 4036: Can't open include file 'tiffio.h'.

Stop.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (genarch.o) was detected. The linked output may not run on a PA 1.x system.
cc: "gdevpipe.c", line 38: warning 573: Parameter list is inconsistent for "popen".
cc: "gp_unix.c", line 40: warning 573: Parameter list is inconsistent for "popen".
cc: "gsht1.c", line 60: warning 558: Empty declaration.
cc: line 512: warning 5004: Uninitialized variable "device_line_width_scale"
in function "gx_stroke_path_only" (5004)
cpp: "sdctc.c", line 29: error 4036: Can't open include file 'jpeglib.h'.

Stop.
cpp: "/usr/include/sys/xti.h", line 503: warning 2001: Redefinition of macro TCP_NODELAY.
cpp: "/usr/include/sys/xti.h", line 504: warning 2001: Redefinition of macro TCP_MAXSEG.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (auth.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (testspeed.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (accept.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (cancel.o) was detected. The linked output may not run on a PA 1.x system.
cc: "lp.c", line 225: warning 604: Pointers are not assignment-compatible.
cc: "lp.c", line 225: warning 563: Argument #2 is not the correct type.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (lp.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (lpadmin.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (lpstat.o) was detected. The linked output may not run on a PA 1.x system.
-bash-2.05b$ su
Password:
# make install > make-install.log
ld: (Warning) At least one PA 2.0 object file (emit.o) was detected. The linked output may not run on a PA 1.x system.
/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: (Warning) At least one PA 2.0 object file (testmime.o) was detected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (testppd.o) was detected. The linked output may not run on a PA 1.x system.
cp: cannot access imagetops: No such file or directory
cp: cannot access imagetoraster: No such file or directory
cp: cannot access rastertohp: No such file or directory

Stop.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (genarch.o) was detected. The linked output may not run on a PA 1.x system.
cc: "gdevpipe.c", line 38: warning 573: Parameter list is inconsistent for "popen".
cc: "gp_unix.c", line 40: warning 573: Parameter list is inconsistent for "popen".
cc: "gsht1.c", line 60: warning 558: Empty declaration.
cc: line 512: warning 5004: Uninitialized variable "device_line_width_scale"
in function "gx_stroke_path_only" (5004)
cpp: "sdctc.c", line 29: error 4036: Can't open include file 'jpeglib.h'.

Stop.
# /opt/cups/sbin/cupsd &
[1] 17216
# whereis lp
lp: /usr/bin/lp /opt/cups/bin/lp /opt/cups/man/man1/lp.1
/usr/share/man/man1.Z/lp.1 /usr/share/man/man7.Z/lp.7 #  ll /usr/local/include/tiff*.h
-r--r--r--   1 root       sys          24302 Jan 21 18:02
/usr/local/include/tiff.h
-r--r--r--   1 root       sys           5254 Jan 21 18:02
/usr/local/include/tiffconf.h
-r--r--r--   1 root       sys          14046 Jan 21 18:02
/usr/local/include/tiffio.h
-r--r--r--   1 root       sys            410 Jan 21 18:02
/usr/local/include/tiffvers.h
# ll /usr/local/include/jp*.h
-rw-r--r--   1 root       sys          46205 Jan 21 18:02
/usr/local/include/jpeglib.h






More information about the cups mailing list