pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootstrapping on HP-UX



On Thu, Jun 17, 2021 at 11:06 AM Lehel Bernadt <lehel%maxer.hu@localhost> wrote:
Hello,

I'm trying to bootrstrap pkgsrc on HP-UX 11.31 ia64, using the HP compiler.

The command line is "./bootstrap --abi 64 --prefer-pkgsrc yes" and after
starting to build gcc2 for some reason, it fails here:
==========================================
gmake[1]: Entering directory '/opt/pkgsrc/bootstrap/work/wrk/devel/ncurses/work/ncurses-6.2/c++'
cp ./etip.h.in etip.h
/bin/sh ./edit_cfg.sh ../include/ncurses_cfg.h etip.h
substituting autoconf'd values from ../include/ncurses_cfg.h into etip.h
... CPP_HAS_PARAM_INIT 0
... CPP_HAS_STATIC_CAST 0
... ETIP_NEEDS_MATH_EXCEPTION 0
... ETIP_NEEDS_MATH_H 0
... HAVE_BUILTIN_H 0
... HAVE_GPP_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_IOSTREAM 0
... HAVE_TYPEINFO 0
... HAVE_VALUES_H 0
... IOSTREAM_NAMESPACE 0
cd ../obj_lo; libtool --tag=CXX --silent --mode=compile  -DHAVE_CONFIG_H -I../c++ -I. -I../include -I/usr/pkg/include -D_HPUX_SOURCE -D_XOPEN_SOU
RCE=500 -D_FILE_OFFSET_BITS=64 -O2 -I/usr/pkg/include  -c ../c++/cursesf.cc
Usage: /usr/pkg/bin/libtool [OPTION]... [MODE-ARG]...
Try 'libtool --help' for more information.
libtool:   error: unrecognised option: '-DHAVE_CONFIG_H'
gmake[1]: *** [Makefile:360: ../obj_lo/cursesf.lo] Error 1
gmake[1]: Leaving directory '/opt/pkgsrc/bootstrap/work/wrk/devel/ncurses/work/ncurses-6.2/c++'
gmake: *** [Makefile:127: all] Error 2


I saw this same exact thing in the same exact spot when using the Developer Studio 12.6 compiler on Solaris 11.4.  I'm trying to remember what I did to fix it.  A nasty hack would be to skip the C++ parts of ncurses.

I'll see if I can reproduce it and let you know what I did to fix it.

-Dustin 


Home | Main Index | Thread Index | Old Index