Installation of CUPS in HP-UX 11i

nivi rnivi26 at yahoo.com
Wed Jun 4 20:19:47 PDT 2008


> > Hi ...
> >
> > I think this error is because of IPv6. My system does not have IPv6 installed. I could not install IPv6 due to some problem. So how to solve this problem. Can we comment some lines in http.h file so that it will not throw IPv6 errors.
> >
> > Thanks,
> >
> > > This is the error i got.
> > >
> > > ng ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/opt/zlib/include -Ae    -D_LARGEFILE_SOU
> > > RCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> > > Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/opt/zlib/include +W336,829    -D_LARGE
> > > FILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENT
> > > RANT
> > > Using LDFLAGS=-L../cups -L../filter   -L/usr/local/lib -L/usr/lib/gss -L/opt/zli
> > > b/lib -Wl,+s,+b,/opt/cups/lib:/usr/local/lib/hpux32:/usr/lib/hpux32/gss   +z +O2
> > >  -D_XOPEN_SOURCE_EXTENDED -D_INCLUDE_HPUX_SOURCE -D_HPUX_SOURCE
> > > Using LIBS=-lcups  -lpthread -lsec
> > > Making all in cups...
> > > Compiling adminutil.c...
> > > (Bundled) cc: warning 480: The +z option is available only with the C/ANSI C pro
> > > duct; ignored.
> > > (Bundled) cc: warning 480: The +O2 option is available only with the C/ANSI C pr
> > > oduct; ignored.
> > > (Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
> > > duct; ignored.
> > > cpp: "/usr/include/sys/stdsyms.h", line 37: warning 2001: Redefinition of macro
> > > _INCLUDE_HPUX_SOURCE.
> > > (Bundled) cc: "http.h", line 307: error 1574: Unknown size for "ipv6".
> > > (Bundled) cc: "http.h", line 307: error 1578: Size of struct or union member is
> > > unknown.
> > > (Bundled) cc: "http.h", line 298: error 1618: Structure or union type has unknow
> > > n size.
> > > (Bundled) cc: "http.h", line 332: error 1000: Unexpected symbol: "*".
> > > (Bundled) cc: "http.h", line 332: error 1705: Function prototypes are an ANSI fe
> > > ature.
> > > (Bundled) cc: "http.h", line 332: error 1573: Type of "http" is undefined due to
> > >  an illegal declaration.
> > > (Bundled) cc: "http.h", line 333: error 1000: Unexpected symbol: "*".
> > > (Bundled) cc: "http.h", line 333: error 1705: Function prototypes are an ANSI fe
> > > ature.
> > > (Bundled) cc: "http.h", line 333: error 1573: Type of "http" is undefined due to
> > >  an illegal declaration.
> > > (Bundled) cc: "http.h", line 334: error 1000: Unexpected symbol: "*".
> > > (Bundled) cc: "http.h", line 334: error 1705: Function prototypes are an ANSI fe
> > > ature.
> > > (Bundled) cc: "http.h", line 334: error 1573: Type of "http" is undefined due to
> > >  an illegal declaration.
> > > (Bundled) cc: "http.h", line 335: error 1000: Unexpected symbol: "*".
> > > (Bundled) cc: "http.h", line 336: warning 5: "const" will become a keyword.
> > > (Bundled) cc: "http.h", line 335: error 1705: Function prototypes are an ANSI fe
> > > ature.
> > > (Bundled) cc: "http.h", line 335: error 1573: Type of "http" is undefined due to
> > >  an illegal declaration.
> > > (Bundled) cc: "http.h", line 336: error 1000: Unexpected symbol: "*".
> > > (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
> > > *** Error exit code 1
> > >
> > > Stop.
> > > *** Error exit code 1
> > >
> > > Stop.
> > >
> > > It stopped executing.
> > > Thanks,
> >
>
> Your system use a wrong C compiler.
>
>
> Try following steps:
> 1) export PATH=$PATH:/usr/local/bin
> 2) execute configure again
> 3) make
> 4) make install
>
>
> regards!
> Bernd


I gave "export PATH=$PATH:/usr/local/bin" from my root directory. then executed the file. now when i gave "make", it showed the following errors.

ng ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/opt/zlib/include    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/opt/zlib/include    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
Using LDFLAGS=-L../cups -L../filter   -L/usr/local/lib -L/usr/lib/gss -L/opt/zlib/lib -Wl,+s,+b,/opt/cups/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...
Compiling adminutil.c...
adminutil.c:1: warning: -fstack-protector not supported for this target
In file included from ipp.h:26,
                 from cups.h:32,
                 from adminutil.h:29,
                 from adminutil.c:36:
http.h:307: error: field 'ipv6' has incomplete type
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Why am i getting this error?
Is it possible to install without IPv6?

Thanks,





More information about the cups mailing list