Subject: HP-UX
To: None <tech-pkg@netbsd.org>
From: Adrien Auzanneau <ada@netbsd-fr.org>
List: tech-pkg
Date: 03/12/2007 18:30:51
Hello,

I=92m searching a way to run netbsd pkgsrc under HP-UX.
I found quite old post on Mailing List.
Does someone run it ? Have a working binary bootstrap ?
My test box is HP-UX rp3440 B.11.23.
I=92m using pkgsrc-current from last week.
When run bootstrap I=92ve got this error:

cc  -I. -I.  -g -DHAVE_CONFIG_H -c bits.c
(Bundled) cc: warning 480: The -g option is available only with the C/=20=

ANSI C product; ignored.

I=92ve tryed to install everything related to C/ANSI=85always got this =20=

error=85
So I=92ve installed precompiled binary pkg of gcc-1.4.2  (from =20
hpux.connect.org.uk).
And simply change the default cc (/usr/bin/cc@ -> /usr/local/bin/gcc)
Now, when running bootstrap, I=92ve got this error:

H=3D\"/usr/pkg/share/mk\" -c /sbt1/adrien/wrk/pkgsrc/bootstrap/work/=20
bmake/sigcompat.c
/sbt1/adrien/wrk/pkgsrc/bootstrap/work/bmake/sigcompat.c:272: error: =20
conflicting types for 'sigpause'
/usr/include/sys/signal.h:300: error: previous declaration of =20
'sigpause' was here
*** Error exit code 1
Stop.
=3D=3D=3D> exited with status 1
aborted.

Just in case I=92ve also installed precompiled bin pkg of make-3.81 =20
(dependency of gcc..) (from hpux.connect.org.uk) and then change the =20
make link too (/usr/bin/make@ -> /usr/local/bin/gmake)

/pkg/share/mk\"  -I../../libnbcompat  -c -o sigcompat.o /sbt1/adrien/=20
wrk/pkgsrc/bootstrap/work/bmake/sigcompat.c
/sbt1/adrien/wrk/pkgsrc/bootstrap/work/bmake/sigcompat.c:272: error: =20
conflicting types for 'sigpause'
/usr/include/sys/signal.h:300: error: previous declaration of =20
'sigpause' was here
make: *** [sigcompat.o] Error 1
=3D=3D=3D> exited with status 1
aborted.

I=92m browsing to find a tip, also have opened a thread on itrc, but if =20=

someone got an idea=85.

Thanks in advance,
Regards,

-- Adrien Auzanneau