Subject: failing to compile libtool on Solaris9/sparc
To: None <tech-pkg@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: tech-pkg
Date: 01/08/2004 13:46:19
Hi,
just tried to compile libtool on solaris9/sparc and got the following:
creating libtoolT
updating cache ./config.cache
AR="ar" CC="g++" CFLAGS="-O" CPPFLAGS=" " LTCC="gcc" FILE="@FILE@" LD="ld" LDFLAGS="" LIBS="" LN_S="ln -s" NM="/usr/xpg4/bin/nm -p" RANLIB="ranlib" STRIP="strip" AS="" DLLTOOL="" OBJDUMP="" objext="o" exeext="" reload_flag="-r" deplibs_check_method="pass_all" file_magic_cmd="$MAGIC_CMD" /bin/ksh ./ltconfig --cache-file=./config.cache --with-gcc --enable-dlopen --srcdir=. --add-tag=CXX --output=libtoolT ./ltcf-cxx.sh sparc-sun-solaris2
loading cache ./config.cache within ltconfig
checking host system type... sparc-sun-solaris2
checking build system type... sparc-sun-solaris2
sed: Too many commands, last: s|_bUiLdLiNk__u_NetBSD_pkgobj_devel_libtool-base_work_.buildlink#\([/ `"':;]\)|/u/NetBSD/pkgobj/devel/libtool-base/work/.buildlink\1|g
g++: no input files
./ltconfig: --version: not found
sed: Too many commands, last: s|_bUiLdLiNk__u_NetBSD_pkgobj_devel_libtool-base_work_.buildlink#\([/ `"':;]\)|/u/NetBSD/pkgobj/devel/libtool-base/work/.buildlink\1|g
g++: no input files
checking for objdir... .libs
checking for g++ option to produce PIC... -fPIC -DPIC
$path is /opt/nb/bin /opt/nb/sbin /opt/SUNWspci3/bin /opt/Netscape7
/opt/Acrobat5/bin /opt/ICA /usr/sfw/bin /usr/sfw/sbin /opt/sfw/bin
/opt/sfw/sbin /usr/xpg4/bin /usr/bin /sbin /usr/sbin /usr/ccs/bin
/usr/dt/bin /usr/openwin/bin /usr/ucb
Any ideas where's the culprit?
-Kurt