Installation of CUPS in HP-UX 11i

nivi rnivi26 at yahoo.com
Fri Jun 6 07:34:30 PDT 2008


There is some problem reported by http://www.cups.org/articles.php?L479+TNews+P1+Q
...
is there any way to solve this problem......
http.h file is giving so much of problem..

please help me in solving thi spreob...........

> I installed IPv6 and now it is not showing error for IPv6. but errors in http.h file stil exists...like line 332:unexpected symbol "*"
> line 332:Function prototype are an ANSI feature
> line 332:type of http is undefined due to an illegal operation.
>
> these 3 error are repeated for 333,334,335,336.......
> why are these errors occur....
> Please let me know how to solve it.....
>
> Thanks,
>
>
>
>  > > 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,
> > > >
> > >
> > >
> > > It seems that your IPv6 implementation is broken. (I never had this problem on HP-UX)
> > >
> > > Two suggestions how to fix:
> > > *) Try to fix your IPv6 implementation (call HP support).
> > > *) Try to disable cups IPv6 support.
> > >
> > >
> > > Maybe this disables cups IPv6 support:
> > > 1) execute "make clean"
> > > 2) add "#undef IF_INET6" to config.h
> > > 3) execute "make"
> > >
> > >
> > > Good luck!
> > > Bernd
> > >
> >
> > Sorry... It did not work out. Again showing the same error in "http.h" file.
> > IPv6 lines are present in http.h. Commenting those lines showing some other error.
> > Do i have to use cups-1.3.7 or i can use earlier version so that IPv6 is not included.
> >
> > thanks for your patience.
> >
> >
>





More information about the cups mailing list