bglibs fails to build

"George Georgalis" <[email protected]> Wed, 6 Dec 2006 22:40:01 -0500
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
So, I decided to give cvm a try and am starting with bglibs-1.102,
but it fails to build with 

libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'

I tried using make and gmake on this netbsd
3.0.0_STABLE system, seems this has come up before
but I don't see a fix.  Is anyone familiar with the
problem able to offer a solution?

// George

 geo@run:/home/geo/bgware/bglibs-1.102/ make clean
rm -f `cat TARGETS`
 geo@run:/home/geo/bgware/bglibs-1.102/ make
(   echo '#!/bin/sh';  echo 'source=$1; shift';  echo 'base=`echo "$source" | sed -e s:\\\\.c$::`';  echo exec `head -n 1 conf-cc` -I.  '-o ${base}.o -c $source ${1+"$@"}';  ) >compile
chmod 755 compile
(   echo '#!/bin/sh'; echo 'main="$1"; shift'; echo exec `head -n 1 conf-ld` -L.  '-o "$main" "$main.o" ${1+"$@"}' ;  ) >load
chmod 755 load
( ( ./compile trylib.c && ./load trylib -lcrypt ) >/dev/null 2>&1  && echo -lcrypt || exit 0 ) >crypt.lib
rm -f trylib.o trylib
( ( ./compile trylib.c && ./load trylib -ldl ) >/dev/null 2>&1  && echo -ldl || exit 0 ) >dl.lib
rm -f trylib.o trylib
( ( ./compile trylib.c && ./load trylib -lm ) >/dev/null 2>&1  && echo -lm || exit 0 ) >m.lib
rm -f trylib.o trylib
( ( ./compile trylib.c && ./load trylib -lnet ) >/dev/null 2>&1  && echo -lnet || exit 0 ) >net.lib
rm -f trylib.o trylib
( ( ./compile trylib.c && ./load trylib -lrt ) >/dev/null 2>&1  && echo -lrt || exit 0 ) >rt.lib
rm -f trylib.o trylib
( ( ./compile trylib.c && ./load trylib -ls ) >/dev/null 2>&1  && echo -ls || exit 0 ) >s.lib
rm -f trylib.o trylib
( ( ./compile trylib.c && ./load trylib -lshadow ) >/dev/null 2>&1  && echo -lshadow || exit 0 ) >shadow.lib
rm -f trylib.o trylib
( ( ./compile trylib.c && ./load trylib -lsocket -lnsl ) >/dev/null 2>&1  && echo -lsocket -lnsl || exit 0 ) >socket.lib
rm -f trylib.o trylib
cat warn-auto.sh choose.sh >choose
chmod 755 choose
( ( ./compile sys/trysystime.c >/dev/null 2>&1 &&  echo '#include <sys/time.h>' );  ( ./compile sys/trytime.c >/dev/null 2>&1 &&  echo '#include <time.h>' ) ) >systime.h
rm -f trysystime.o trytime.o
( set -e;  cat sysdeps-head.h;  ./choose c   attribute;  ./choose cl  daylight;  ./choose c   deprecated;  ./choose clr ulong32;  ./choose clr ulong64;  ./choose clr endian;  ./choose c   dirent;  ./choose cl  dl `cat dl.lib`;  ./choose c   ipv6;  ./choose cl  vfork;  ./choose cl  getpeereid;  ./choose cl  flock;  ./choose cl  peercred;  ./choose cl  sendfile;  ./choose cl  sigaction;  ./choose cl  sigprocmask;  ./choose cl  spnam;  ./choose cl  userpw;  ./choose cl  waitp;  ./choose c   zlib;  ./choose clr poll;  ./choose c   sysselect;  ./choose cl  setenv;  ./choose c   timespec;  ./choose cl  clockgettime `cat rt.lib`;  ./choose cl  unsetenv;  ./choose clr unaligned;  ./choose cl  mkfifo;  ./choose clr namedpipebug;  ./choose c   inline;  cat sysdeps-tail.h;  ) >sysdeps.h
( if libtool --tag=CC --help >/dev/null 2>&1; then tag='--tag=CC'; fi;  echo '#!/bin/sh';  echo 'lib="$1"; shift'; echo 'rm -f "$lib"'; echo libtool --mode=link --silent $tag `head -n 1 conf-ld` '-o "$lib" -rpath' `head -n 1 conf-lib` -version-info `head -n 1 LIBVERSION` '${1+"$@"}'; ) >makeshlib
chmod 755 makeshlib
(   echo '#!/bin/sh';  echo 'source=$1; shift';  echo 'base=`echo "$source" | sed -e s:\\\\.c$::`';  echo exec libtool --mode=compile --silent `head -n 1 conf-cc` -I.  '-o ${base}.lo -c $source ${1+"$@"}';  ) >libcompile
chmod 755 libcompile
./libcompile adt/adt_sp.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
*** Error code 1

Stop.
make: stopped in /usr/home/geo/bgware/bglibs-1.102




-- 
George Georgalis, systems architect, administrator <IXOYE><