Subject: Re: pkgsrc on solaris 8/sparc + bmake gnome2
To: None <tech-pkg@netbsd.org>
From: J. Alexander Jacocks <jjacocks@mac.com>
List: tech-pkg
Date: 06/24/2003 14:04:35
On Tuesday 24 June 2003 01:15 pm, you wrote:
> hi,
>
> On Tue, Jun 24, 2003 at 01:08:21PM -0400, J. Alexander Jacocks wrote:
> > FWIW, I'm having the same problem.  I'm running Solaris 9 04/03 with
> > SMC's package of gcc-3.2.3.  I'm attempting to build gcc, as is
> > recommended by the Solaris readme.
>
> could you try to fetch the pkgsrc gcc-2.95.3 from
> ftp://ftp.netbsd.org/pub/NetBSD/misc/grant/pkgsrc/SunOS/5.8 and remove
> the sunfreeware.com package and build gcc-3.3 from pkgsrc with it?
>
> also, try to see _why_ it cut the sparc part. (configure.log, ksh -x in
> configure, PKG_DEBUG_LEVEL=2, etc., etc.)
>
<snip>

OK, all actions taken as requested.  Unfortunately, I am still stumped on this 
one.  The only two things that I can see are that possibly the sed 
modification of the return from config.sub is breaking things, or config.sub 
itself is wrong.

However, I doubt both.

Here's the output from bmake install, and beware, because it's long:

jaj@hephaestos[/usr/pkgsrc/devel/libtool]$ echo $PATH
/export/home/jaj/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/ccs/bin
jaj@hephaestos[/usr/pkgsrc/devel/libtool]$ gcc --version
2.95.3
jaj@hephaestos[/usr/pkgsrc/devel/libtool]$ sudo bmake install
set -x;                                  if [ -f 
/usr/pkgsrc/distfiles/vulnerabilities ]; then                   /usr/ucb/echo 
"===> Checking for vulnerabilities in libtool-1.4.20010614nb14";  vul=`bmake   
OPSYS=SunOS OS_VERSION=5.9 LOWER_OPSYS=solaris check-vulnerable`;          
case "$vul" in                                          "")    ;;                                               
*)     /usr/ucb/echo "$vul";                            /usr/ucb/echo "or 
define ALLOW_VULNERABLE_PACKAGES if this package is absolutely essential";  
/usr/bin/false ;;                                         esac;                                                   
else                                                            /usr/ucb/echo 
"===> *** No /usr/pkgsrc/distfiles/vulnerabilities file found,";  
/usr/ucb/echo "===> *** skipping vulnerability checks. To fix, install";  
/usr/ucb/echo "===> *** the pkgsrc/security/audit-packages package and run";  
/usr/ucb/echo "===> *** '/usr/pkg/sbin/download-vulnerability-list'.";  fi
+ [ -f /usr/pkgsrc/distfiles/vulnerabilities ]
+ /usr/ucb/echo ===> Checking for vulnerabilities in libtool-1.4.20010614nb14
===> Checking for vulnerabilities in libtool-1.4.20010614nb14
+ bmake OPSYS=SunOS OS_VERSION=5.9 LOWER_OPSYS=solaris check-vulnerable
vul=
set -x;                                  if [ -f 
/usr/pkgsrc/devel/libtool/../libtool/distinfo -a \( ! -f /usr/pkg/bin/digest 
-o 20021220 -lt 20010302 \) ]; then  { cd /usr/pkgsrc/pkgtools/digest;                     
bmake clean;                                            if [ -f 
/usr/pkg/bin/digest ]; then                             bmake OPSYS=SunOS 
OS_VERSION=5.9 LOWER_OPSYS=solaris DIGEST=/usr/pkg/bin/digest 
DIGEST_VERSION="20021220" PKGTOOLS_VERSION="20030423" 
ZOULARIS_VERSION="20030612" deinstall;                    fi;                                                     
bmake OPSYS=SunOS OS_VERSION=5.9 LOWER_OPSYS=solaris 
DIGEST=/usr/pkg/bin/digest DIGEST_VERSION="20021220" 
PKGTOOLS_VERSION="20030423" ZOULARIS_VERSION="20030612" reinstall;                    
bmake OPSYS=SunOS OS_VERSION=5.9 LOWER_OPSYS=solaris 
DIGEST=/usr/pkg/bin/digest DIGEST_VERSION="20021220" 
PKGTOOLS_VERSION="20030423" ZOULARIS_VERSION="20030612" clean; }                              
fi
+ [ -f /usr/pkgsrc/devel/libtool/../libtool/distinfo -a ( ! -f 
/usr/pkg/bin/digest -o 20021220 -lt 20010302 ) ]
set -x;                                  if [ ! -f 
/usr/pkgsrc/devel/libtool/../libtool/distinfo ]; then                                 
/usr/ucb/echo "=> No checksum file.";                   else                                                            
(cd /usr/pkgsrc/distfiles; OK="true";                           for file in 
""  ; do                    if [ "X$file" = X"" ]; then continue; fi;       
alg=`/usr/bin/nawk 'NF == 4 && $2 == "('$file')" && $3 == "=" {print $1;}' 
/usr/pkgsrc/devel/libtool/../libtool/distinfo`;  if [ "X$alg" = "X" ]; then                  
/usr/ucb/echo "=> No checksum recorded for $file.";  OK="false";                                
else                                            CKSUM=`/usr/pkg/bin/digest 
$alg < $file`;       CKSUM2=`/usr/bin/nawk '$1 == "'$alg'" && $2 == 
"('$file')"{print $4;}' /usr/pkgsrc/devel/libtool/../libtool/distinfo`;  if [ 
"$CKSUM2" = "IGNORE" ]; then       /usr/ucb/echo "=> Checksum for $file is 
set to IGNORE in checksum file even though";  /usr/ucb/echo "   the file is 
not in the "'$'"{IGNOREFILES} list.";  OK="false";                  elif [ 
"$CKSUM" = "$CKSUM2" ]; then     /usr/ucb/echo "=> Checksum OK for $file.";  
else                                        /usr/ucb/echo "=> Checksum 
mismatch for $file.";  OK="false";                   fi;                                     
fi;                                             done;                                                   
for file in "" ; do                     if [ "X$file" = X"" ]; then continue; 
fi;       CKSUM2=`/usr/bin/nawk 'NF == 4 && $3 == "=" && $2 == 
"('$file')"{print $4;}' /usr/pkgsrc/devel/libtool/../libtool/distinfo`;  if [ 
"$CKSUM2" = "" ]; then                       /usr/ucb/echo "=> No checksum 
recorded for $file, file is in "'$'"{IGNOREFILES} list.";  OK="false";                            
elif [ "$CKSUM2" != "IGNORE" ]; then            /usr/ucb/echo "=> Checksum 
for $file is not set to IGNORE in checksum file even though";  /usr/ucb/echo 
"   the file is in the "'$'"{IGNOREFILES} list.";  OK="false";                          
fi;                                             done;                                                   
if [ "$OK" != "true" ]; then                            /usr/ucb/echo "Make 
sure the Makefile and checksum file 
(/usr/pkgsrc/devel/libtool/../libtool/distinfo)";  /usr/ucb/echo "are up to 
date.  If you want to override this check, type";  /usr/ucb/echo "\"bmake 
NO_CHECKSUM=yes [other args]\".";  exit 1;                                                
fi) ;                                                   fi
+ [ ! -f /usr/pkgsrc/devel/libtool/../libtool/distinfo ]
+ cd /usr/pkgsrc/distfiles
OK=true
+ [ X = X ]
+ continue
+ [ X = X ]
+ continue
+ [ true != true ]
set -x;/usr/bin/true
+ /usr/bin/true
set -x;cd /usr/pkgsrc/devel/libtool && bmake OPSYS=SunOS OS_VERSION=5.9 
LOWER_OPSYS=solaris DIGEST=/usr/pkg/bin/digest DIGEST_VERSION="20021220" 
PKGTOOLS_VERSION="20030423" ZOULARIS_VERSION="20030612" real-extract 
DEPENDS_TARGET=reinstall
+ cd /usr/pkgsrc/devel/libtool
+ bmake OPSYS=SunOS OS_VERSION=5.9 LOWER_OPSYS=solaris 
DIGEST=/usr/pkg/bin/digest DIGEST_VERSION=20021220 PKGTOOLS_VERSION=20030423 
ZOULARIS_VERSION=20030612 real-extract DEPENDS_TARGET=reinstall
===> Extracting for libtool-1.4.20010614nb14
set -x;                                  pkg="libtool-base-1.4.20010614nb14";                                            
dir="../libtool-base";                          found=`PKG_DBDIR=/var/db/pkg 
/usr/pkg/sbin/pkg_info -e "$pkg" || /usr/bin/true`;                        if 
[ "X$REBUILD_DOWNLEVEL_DEPENDS" != "X" ]; then               pkgname=`cd $dir 
; bmake   OPSYS=SunOS OS_VERSION=5.9 LOWER_OPSYS=solaris show-var 
VARNAME=PKGNAME`;  if [ "X$found" != "X" -a "X$found" != "X${pkgname}" ]; 
then  /usr/ucb/echo "ignoring old installed package \"$found\"";  found="";                                        
fi;                                                     fi;                                                             
if [ "$found" != "" ]; then                                     
instobjfmt=`PKG_DBDIR=/var/db/pkg /usr/pkg/sbin/pkg_info -B "$pkg" | 
/usr/bin/nawk -F'=[ \t]*' '/^OBJECT_FMT/ {print $2; exit}'`;  if [ 
"$instobjfmt" = "" ]; then                      if [ "Xyes" != "Xno" ]; then    
/usr/ucb/echo "WARNING: Unknown object format for installed package $pkg - 
continuing";  fi;                                            elif [ 
"$instobjfmt" != "a.out" ]; then         /usr/ucb/echo "Installed package 
$pkg is an $instobjfmt package.";  /usr/ucb/echo "You are building an a.out 
package, which will not inter-operate.";  /usr/ucb/echo "Please update the 
$pkg package to a.out";  if [ "Xyes" != "Xno" ]; then  exit 1;                                  
fi;                                             fi;                                                     
if [ `/usr/ucb/echo $found | /usr/bin/wc -w` -gt 1 ]; then              
/usr/ucb/echo '***' "WARNING: Dependency on '$pkg' expands to several 
installed packages " ;  /usr/ucb/echo "    (" `/usr/ucb/echo $found` ")." ;       
/usr/ucb/echo "    Please check if this is really intended!" ;  else                                                    
/usr/ucb/echo "===> Required installed package $pkg: ${found} found";  fi ;                                                     
else                                                            /usr/ucb/echo 
"===> Required package $pkg: NOT found";  target=reinstall;                               
/usr/ucb/echo "===> Verifying $target for $dir";        if [ ! -d $dir ]; 
then                                  /usr/ucb/echo "=> No directory for 
$dir.  Skipping..";  else                                                    
cd $dir ;                                       bmake   OPSYS=SunOS 
OS_VERSION=5.9 LOWER_OPSYS=solaris $target _PKGSRC_DEPS=", 
libtool-1.4.20010614nb14" PKGNAME_REQD=$pkg;  /usr/ucb/echo "===> Returning 
to build of libtool-1.4.20010614nb14";  fi;                                                  
fi
pkg=libtool-base-1.4.20010614nb14
dir=../libtool-base
+ /usr/pkg/sbin/pkg_info -e libtool-base-1.4.20010614nb14
PKG_DBDIR=/var/db/pkg
+ /usr/bin/true
found=
+ [ X != X ]
+ [  !=  ]
+ /usr/ucb/echo ===> Required package libtool-base-1.4.20010614nb14: NOT found
===> Required package libtool-base-1.4.20010614nb14: NOT found
target=reinstall
+ /usr/ucb/echo ===> Verifying reinstall for ../libtool-base
===> Verifying reinstall for ../libtool-base
+ [ ! -d ../libtool-base ]
+ cd ../libtool-base
+ bmake OPSYS=SunOS OS_VERSION=5.9 LOWER_OPSYS=solaris reinstall 
_PKGSRC_DEPS=, libtool-1.4.20010614nb14 
PKGNAME_REQD=libtool-base-1.4.20010614nb14
===> Checking for vulnerabilities in libtool-base-1.4.20010614nb14
===> Configuring for libtool-base-1.4.20010614nb14
ac_help=
ac_default_prefix=/usr/local
ac_help=
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
ac_help=
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
ac_help=
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-static[=PKGS]  build static libraries [default=yes]
ac_help=
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-static[=PKGS]  build static libraries [default=yes]
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]
ac_help=
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-static[=PKGS]  build static libraries [default=yes]
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
ac_help=
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-static[=PKGS]  build static libraries [default=yes]
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --with-pic              try to use only PIC/non-PIC objects [default=use 
both]
ac_help=
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-static[=PKGS]  build static libraries [default=yes]
  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --with-pic              try to use only PIC/non-PIC objects [default=use 
both]
  --disable-ltdl-install  do not install libltdl
build=NONE
cache_file=./config.cache
exec_prefix=NONE
host=NONE
no_create=
nonopt=NONE
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
target=NONE
verbose=
x_includes=NONE
x_libraries=NONE
bindir=${exec_prefix}/bin
sbindir=${exec_prefix}/sbin
libexecdir=${exec_prefix}/libexec
datadir=${prefix}/share
sysconfdir=${prefix}/etc
sharedstatedir=${prefix}/com
localstatedir=${prefix}/var
libdir=${exec_prefix}/lib
includedir=${prefix}/include
oldincludedir=/usr/include
infodir=${prefix}/info
mandir=${prefix}/man
subdirs=
MAKEFLAGS= MFLAGS=
SHELL=/bin/ksh
ac_max_here_lines=12
ac_prev=
+ test -n
ac_optarg=
+ sed -e s/-*enable-// -e s/=.*//
+ echo --enable-ltdl-install
ac_feature=ltdl-install
+ sed s/[-_a-zA-Z0-9]//g
+ echo ltdl-install
+ test -n
+ sed+  echo ltdl-install
s/-/_/g
ac_feature=ltdl_install
ac_optarg=yes
+ eval enable_ltdl_install='yes'
enable_ltdl_install=yes
+ test -n
+ sed s/[-_a-zA-Z0-9]*=//
+ echo --host=-sun-solaris
ac_optarg=-sun-solaris
host=-sun-solaris
+ test -n
+ + sed echo --prefix=/usr/pkg
s/[-_a-zA-Z0-9]*=//
ac_optarg=/usr/pkg
prefix=/usr/pkg
+ test -n
+ trap rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1 1 
2 15
+ test  = yes
+ exec
+ exec
+ echo This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

ac_configure_args=
ac_configure_args= --enable-ltdl-install
ac_configure_args= --enable-ltdl-install --host=-sun-solaris
ac_configure_args= --enable-ltdl-install --host=-sun-solaris --prefix=/usr/pkg
+ test set = set
LANG=C
+ export LANG
+ test  = set
+ test set = set
LC_MESSAGES=C
+ export LC_MESSAGES
+ test set = set
LC_CTYPE=C
+ export LC_CTYPE
+ rm -rf conftest* confdefs.h
+ echo
ac_unique_file=ltmain.in
+ test -z
ac_srcdir_defaulted=yes
ac_prog=./configure
+ sed s%/[^/][^/]*$%%
+ echo ./configure
ac_confdir=.
+ test x. = x./configure
srcdir=.
+ test ! -r ./ltmain.in
+ test ! -r ./ltmain.in
+ sed s%\([^/]\)/*$%\1%
+ echo .
srcdir=.
+ test -z
+ test x/usr/pkg != xNONE
CONFIG_SITE=/usr/pkg/share/config.site /usr/pkg/etc/config.site
+ test -r /usr/pkg/share/config.site
+ test -r /usr/pkg/etc/config.site
+ test -r ./config.cache
+ echo loading cache ./config.cache
loading cache ./config.cache
+ . ./config.cache
ac_ext=c
ac_cpp=$CPP $CPPFLAGS
ac_compile=${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5
ac_link=${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS 1>&5
cross_compiling=
ac_exeext=
ac_objext=o
+ grep c
+ echo testing\c
+ echo 1,2,3
ac_t= ac_c=\c ac_n=
ac_aux_dir=
+ test -f ./install-sh
ac_aux_dir=.
ac_install_sh=./install-sh -c
+ break
+ test -z .
ac_config_guess=./config.guess
ac_config_sub=./config.sub
ac_configure=./configure
+ echo checking for a BSD compatible install... \c
checking for a BSD compatible install... + echo configure:571: checking for a 
BSD compatible install
+ test -z /usr/ucb/install -c -o root -g root
+ echo /usr/ucb/install -c -o root -g root
/usr/ucb/install -c -o root -g root
+ test -z /usr/ucb/install -c -s -o root -g root -m 555
+ test -z /usr/ucb/install -c -o root -g root -m 555
+ test -z /usr/ucb/install -c -o root -g root -m 444
+ echo checking whether build environment is sane... \c
checking whether build environment is sane... + echo configure:624: checking 
whether build environment is sane
+ sleep 1
+ echo timestamp
+ ls -Lt ./configure conftestfile
+ set X conftestfile ./configure
+ test X conftestfile ./configure = X
+ test X conftestfile ./configure != X ./configure conftestfile
+ test X conftestfile ./configure != X conftestfile ./configure
+ test conftestfile = conftestfile
+ :
+ rm -f conftestfile
+ echo yes
yes
+ test s,x,x, = s,x,x,
program_transform_name=
+ test NONE != NONE
+ test NONE != NONE
+ test  =
program_transform_name=s,x,x,
+ echo checking whether bmake sets ${MAKE}... \c
checking whether bmake sets ${MAKE}... + echo configure:681: checking whether 
bmake sets ${MAKE}
+ set dummy bmake
+ echo bmake
+ sed y%./+-%__p_%
ac_make=bmake
+ echo ${ac_cv_prog_make_bmake_set+set}
+ eval test "${ac_cv_prog_make_bmake_set+set}" = set
+ test  = set
+ cat
+ grep temp=
+ bmake -f conftestmake
+ eval ac_maketemp="bmake"
ac_maketemp=bmake
+ test -n bmake
+ eval ac_cv_prog_make_bmake_set=yes
ac_cv_prog_make_bmake_set=yes
+ rm -f conftestmake
+ echo $ac_cv_prog_make_bmake_set
+ eval test "$ac_cv_prog_make_bmake_set" = yes
+ test yes = yes
+ echo yes
yes
SET_MAKE=
PACKAGE=libtool
VERSION=1.4a
+ cd .
+ pwd
+ pwd
+ test /usr/local/pkgsrc/devel/libtool-base/work/libtool-ml != 
/usr/local/pkgsrc/devel/libtool-base/work/libtool-ml
+ cat
#define PACKAGE "libtool"
+ cat
#define VERSION "1.4a"
+ cd .
+ pwd
missing_dir=/usr/local/pkgsrc/devel/libtool-base/work/libtool-ml
+ echo checking for working aclocal... \c
checking for working aclocal... + echo configure:727: checking for working 
aclocal
ACLOCAL=aclocal
+ echo found
found
+ echo checking for working autoconf... \c
checking for working autoconf... + echo configure:740: checking for working 
autoconf
AUTOCONF=autoconf
+ echo found
found
+ echo checking for working automake... \c
checking for working automake... + echo configure:753: checking for working 
automake
AUTOMAKE=automake
+ echo found
found
+ echo checking for working autoheader... \c
checking for working autoheader... + echo configure:766: checking for working 
autoheader
AUTOHEADER=autoheader
+ echo found
found
+ echo checking for working makeinfo... \c
checking for working makeinfo... + echo configure:779: checking for working 
makeinfo
MAKEINFO=makeinfo
+ echo found
found
TIMESTAMP=
+ /bin/ksh ./mkstamp
TIMESTAMP= (1.641.2.255 2001/05/22 10:39:30)
banner=Configuring libtool 1.4a (1.641.2.255 2001/05/22 10:39:30)
+ sed s/./-/g
+ echo Configuring libtool 1.4a (1.641.2.255 2001/05/22 10:39:30)
dashes=----------------------------------------------------------
+ echo

+ echo ----------------------------------------------------------
----------------------------------------------------------
+ echo Configuring libtool 1.4a (1.641.2.255 2001/05/22 10:39:30)
Configuring libtool 1.4a (1.641.2.255 2001/05/22 10:39:30)
+ echo ----------------------------------------------------------
----------------------------------------------------------
+ echo

pkgdatadir=${datadir}/libtool
aclocaldir=${datadir}/aclocal
+ set dummy gcc
ac_word=gcc
+ echo checking for gcc... \c
checking for gcc... + echo configure:822: checking for gcc
+ echo ${ac_cv_prog_CC+set}
+ eval test "${ac_cv_prog_CC+set}" = set
+ test  = set
+ test -n gcc
ac_cv_prog_CC=gcc
CC=gcc
+ test -n gcc
+ echo gcc
gcc
+ test -z gcc
+ echo checking whether the C compiler (gcc -O -I/usr/pkg/include  
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... \c
checking whether the C compiler (gcc -O -I/usr/pkg/include  -Wl,-R/usr/pkg/lib 
-L/usr/pkg/lib) works... + echo configure:935: checking whether the C 
compiler (gcc -O -I/usr/pkg/include  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works
ac_ext=c
ac_cpp=$CPP $CPPFLAGS
ac_compile=${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5
ac_link=${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS 1>&5
cross_compiling=
+ cat

#line 946 "configure"
#include "confdefs.h"

main(){return(0);}
+ eval echo configure:951: "${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS 
$LDFLAGS conftest.$ac_ext $LIBS 1>&5"
+ echo configure:951: gcc -o conftest -O -I/usr/pkg/include   
-I/usr/pkg/include  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c  1>&5
+ test -s conftest
ac_cv_prog_cc_works=yes
ac_cv_prog_cc_cross=no
+ rm -fr conftest conftest.c
ac_ext=c
ac_cpp=$CPP $CPPFLAGS
ac_compile=${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5
ac_link=${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS 
conftest.$ac_ext $LIBS 1>&5
cross_compiling=no
+ echo yes
yes
+ test yes = no
+ echo checking whether the C compiler (gcc -O -I/usr/pkg/include  
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... \c
checking whether the C compiler (gcc -O -I/usr/pkg/include  -Wl,-R/usr/pkg/lib 
-L/usr/pkg/lib) is a cross-compiler... + echo configure:977: checking whether 
the C compiler (gcc -O -I/usr/pkg/include  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) 
is a cross-compiler
+ echo no
no
cross_compiling=no
+ echo checking whether we are using GNU C... \c
checking whether we are using GNU C... + echo configure:982: checking whether 
we are using GNU C
+ echo ${ac_cv_prog_gcc+set}
+ eval test "${ac_cv_prog_gcc+set}" = set
+ test  = set
+ cat
#ifdef __GNUC__
  yes;
#endif
ac_try=${CC-cc} -E conftest.c
+ eval echo configure:991: "${CC-cc} -E conftest.c"
+ echo configure:991: gcc -E conftest.c
+ egrep yes
ac_cv_prog_gcc=yes
+ echo yes
yes
+ test yes = yes
GCC=yes
ac_test_CFLAGS=set
ac_save_CFLAGS=-O -I/usr/pkg/include
CFLAGS=
+ echo checking whether gcc accepts -g... \c
checking whether gcc accepts -g... + echo configure:1010: checking whether gcc 
accepts -g
+ echo ${ac_cv_prog_cc_g+set}
+ eval test "${ac_cv_prog_cc_g+set}" = set
+ test  = set
+ echo void f(){}
+ gcc -g -c conftest.c
+ test -z
ac_cv_prog_cc_g=yes
+ rm -f conftest.c conftest.o
+ echo yes
yes
+ test set = set
CFLAGS=-O -I/usr/pkg/include
+ /bin/ksh ./config.sub sun4
+ :
+ echo checking host system type... \c
checking host system type... + echo configure:1048: checking host system type
host_alias=-sun-solaris
+ /bin/ksh ./config.sub -sun-solaris
host=config.sub: invalid option -sun-solaris
Try `config.sub --help' for more information.
+ sed s/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/
+ echo config.sub: invalid option -sun-solaris Try `config.sub --help' for 
more information.
host_cpu=config.sub: invalid option
+ + sedecho config.sub: invalid option -sun-solaris Try `config.sub --help' 
for more information.
 s/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/
host_vendor=sun
+ sed s/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/
+ echo config.sub: invalid option -sun-solaris Try `config.sub --help' for 
more information.
host_os=solaris Try `config.sub --help' for more information.
+ echo config.sub: invalid option -sun-solaris
Try `config.sub --help' for more information.
config.sub: invalid option -sun-solaris
Try `config.sub --help' for more information.
+ echo checking build system type... \c
checking build system type... + echo configure:1069: checking build system 
type
build_alias=NONE
build_alias=-sun-solaris
+ /bin/ksh ./config.sub -sun-solaris
build=config.sub: invalid option -sun-solaris
Try `config.sub --help' for more information.
+ sed s/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/
+ echo config.sub: invalid option -sun-solaris Try `config.sub --help' for 
more information.
build_cpu=config.sub: invalid option
+ sed s/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/
+ echo config.sub: invalid option -sun-solaris Try `config.sub --help' for 
more information.
build_vendor=sun
+ sed s/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/
+ echo config.sub: invalid option -sun-solaris Try `config.sub --help' for 
more information.
build_os=solaris Try `config.sub --help' for more information.
+ echo config.sub: invalid option -sun-solaris
Try `config.sub --help' for more information.
config.sub: invalid option -sun-solaris
Try `config.sub --help' for more information.
+ test  = set
with_gnu_ld=no
ac_prog=ld
+ test yes = yes
+ echo checking for ld used by GCC... \c
checking for ld used by GCC... + echo configure:1098: checking for ld used by 
GCC
ac_prog=/usr/ccs/bin/ld
re_direlt=/[^/][^/]*/\.\./
+ sed s%\\%/%g
+ echo /usr/ccs/bin/ld
ac_prog=/usr/ccs/bin/ld
+ grep /[^/][^/]*/\.\./
+ echo /usr/ccs/bin/ld
+ test -z ld
+ echo ${lt_cv_path_LD+set}
+ eval test "${lt_cv_path_LD+set}" = set
+ test  = set
+ test -z ld
lt_cv_path_LD=ld
LD=ld
+ test -n ld
+ echo ld
ld
+ test -z ld
+ echo checking if the linker (ld) is GNU ld... \c
checking if the linker (ld) is GNU ld... + echo configure:1166: checking if 
the linker (ld) is GNU ld
+ echo ${lt_cv_prog_gnu_ld+set}
+ eval test "${lt_cv_prog_gnu_ld+set}" = set
+ test  = set
+ egrep (GNU|with BFD)
+ ld -v
lt_cv_prog_gnu_ld=no
+ echo no
no
with_gnu_ld=no
+ echo checking for BSD-compatible nm... \c
checking for BSD-compatible nm... + echo configure:1184: checking for 
BSD-compatible nm
+ echo ${lt_cv_path_NM+set}
+ eval test "${lt_cv_path_NM+set}" = set
+ test  = set
+ test -n
IFS=

ac_save_ifs=

IFS=
:
+ test -z /usr/local/pkgsrc/devel/libtool-base/work/.buildlink/bin
tmp_nm=/usr/local/pkgsrc/devel/libtool-base/work/.buildlink/bin/nm
+ test -f /usr/local/pkgsrc/devel/libtool-base/work/.buildlink/bin/nm
+ test -f /usr/local/pkgsrc/devel/libtool-base/work/.buildlink/bin/nm
+ test -z /export/home/jaj/bin
tmp_nm=/export/home/jaj/bin/nm
+ test -f /export/home/jaj/bin/nm
+ test -f /export/home/jaj/bin/nm
+ test -z /usr/pkg/bin
tmp_nm=/usr/pkg/bin/nm
+ test -f /usr/pkg/bin/nm
+ test -f /usr/pkg/bin/nm
+ test -z /usr/pkg/sbin
tmp_nm=/usr/pkg/sbin/nm
+ test -f /usr/pkg/sbin/nm
+ test -f /usr/pkg/sbin/nm
+ test -z /usr/local/bin
tmp_nm=/usr/local/bin/nm
+ test -f /usr/local/bin/nm
+ test -f /usr/local/bin/nm
+ test -z /usr/local/sbin
tmp_nm=/usr/local/sbin/nm
+ test -f /usr/local/sbin/nm
+ test -f /usr/local/sbin/nm
+ test -z /sbin
tmp_nm=/sbin/nm
+ test -f /sbin/nm
+ test -f /sbin/nm
+ test -z /usr/sbin
tmp_nm=/usr/sbin/nm
+ test -f /usr/sbin/nm
+ test -f /usr/sbin/nm
+ test -z /bin
tmp_nm=/bin/nm
+ test -f /bin/nm
+ test -f /bin/nm
+ test -z /usr/bin
tmp_nm=/usr/bin/nm
+ test -f /usr/bin/nm
+ test -f /usr/bin/nm
+ test -z /usr/ccs/bin
tmp_nm=/usr/ccs/bin/nm
+ test -f /usr/ccs/bin/nm
+ egrep (/dev/null|Invalid file or object type)
+ /usr/ccs/bin/nm -B /dev/null
+ sed 1q
+ exit 0
+ egrep /dev/null
+ /usr/ccs/bin/nm -p /dev/null
+ sed 1q
+ exit 0
lt_cv_path_NM=/usr/ccs/bin/nm -p
+ break
IFS=

+ test -z /usr/ccs/bin/nm -p
NM=/usr/ccs/bin/nm -p
+ echo /usr/ccs/bin/nm -p
/usr/ccs/bin/nm -p
+ echo checking whether ln -s works... \c
checking whether ln -s works... + echo configure:1223: checking whether ln -s 
works
+ echo ${ac_cv_prog_LN_S+set}
+ eval test "${ac_cv_prog_LN_S+set}" = set
+ test  = set
+ rm -f conftestdata
+ ln -s X conftestdata
+ rm -f conftestdata
ac_cv_prog_LN_S=ln -s
LN_S=ln -s
+ test ln -s = ln -s
+ echo yes
yes
+ set dummy mawk
ac_word=mawk
+ echo checking for mawk... \c
checking for mawk... + echo configure:1250: checking for mawk
+ echo ${ac_cv_prog_AWK+set}
+ eval test "${ac_cv_prog_AWK+set}" = set
+ test  = set
+ test -n /usr/bin/nawk
ac_cv_prog_AWK=/usr/bin/nawk
AWK=/usr/bin/nawk
+ test -n /usr/bin/nawk
+ echo /usr/bin/nawk
/usr/bin/nawk
+ test -n /usr/bin/nawk
+ break
+ echo checking for Cygwin environment... \c
checking for Cygwin environment... + echo configure:1282: checking for Cygwin 
environment
+ echo ${ac_cv_cygwin+set}
+ eval test "${ac_cv_cygwin+set}" = set
+ test  = set
+ cat
#line 1287 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
+ eval echo configure:1298: "${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 
1>&5"
+ echo configure:1298: gcc -c -O -I/usr/pkg/include   -I/usr/pkg/include 
conftest.c 1>&5
+ echo configure: failed program was:
+ cat conftest.c
+ rm -rf conftest.c
ac_cv_cygwin=no
+ rm -f conftest*
+ rm -f conftest*
+ echo no
no
CYGWIN=
+ test no = yes
+ echo checking for mingw32 environment... \c
checking for mingw32 environment... + echo configure:1315: checking for 
mingw32 environment
+ echo ${ac_cv_mingw32+set}
+ eval test "${ac_cv_mingw32+set}" = set
+ test  = set
+ cat
#line 1320 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
+ eval echo configure:1327: "${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 
1>&5"
+ echo configure:1327: gcc -c -O -I/usr/pkg/include   -I/usr/pkg/include 
conftest.c 1>&5
+ echo configure: failed program was:
+ cat conftest.c
+ rm -rf conftest.c
ac_cv_mingw32=no
+ rm -f conftest*
+ rm -f conftest*
+ echo no
no
MINGW32=
+ test no = yes
+ test  = set
enable_shared=yes
+ test  = set
enable_static=yes
+ test  = set
enable_fast_install=yes
+ echo checking for ld option to reload object files... \c
checking for ld option to reload object files... + echo configure:1413: 
checking for ld option to reload object files
+ echo ${lt_cv_ld_reload_flag+set}
+ eval test "${lt_cv_ld_reload_flag+set}" = set
+ test  = set
lt_cv_ld_reload_flag=-r
+ echo -r
-r
reload_flag=-r
+ test -n -r
reload_flag= -r
+ echo checking how to recognise dependant libraries... \c
checking how to recognise dependant libraries... + echo configure:1425: 
checking how to recognise dependant libraries
+ echo ${lt_cv_deplibs_check_method+set}
+ eval test "${lt_cv_deplibs_check_method+set}" = set
+ test  = set
lt_cv_file_magic_cmd=$MAGIC_CMD
lt_cv_file_magic_test_file=
lt_cv_deplibs_check_method=unknown
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_test_file=/lib/libc.so
+ echo pass_all
pass_all
file_magic_cmd=$MAGIC_CMD
deplibs_check_method=pass_all
+ echo checking for object suffix... \c
checking for object suffix... + echo configure:1589: checking for object 
suffix
+ echo ${ac_cv_objext+set}
+ eval test "${ac_cv_objext+set}" = set
+ test  = set
+ rm -f conftest*
+ echo int i = 1;
+ eval echo configure:1595: "${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 
1>&5"
+ echo configure:1595: gcc -c -O -I/usr/pkg/include   -I/usr/pkg/include 
conftest.c 1>&5
+ + echo conftest.o
sed -e s/conftest.//
ac_cv_objext=o
+ rm -f conftest.c conftest.o
+ echo o
o
OBJEXT=o
ac_objext=o
+ echo checking for executable suffix... \c
checking for executable suffix... + echo configure:1615: checking for 
executable suffix
+ echo ${ac_cv_exeext+set}
+ eval test "${ac_cv_exeext+set}" = set
+ test  = set
+ test  = yes
+ test  = yes
+ rm -f conftest*
+ echo int main () { return 0; }
ac_cv_exeext=
+ eval echo configure:1625: "${CC-cc} -o conftest${ac_exeext} $CFLAGS 
$CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5"
+ echo configure:1625: gcc -o conftest -O -I/usr/pkg/include   
-I/usr/pkg/include  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c  1>&5
+ rm -f conftest conftest.c
+ test x = x
ac_cv_exeext=no
EXEEXT=
+ test xno != xno
+ echo no
no
ac_exeext=
+ test config.sub: invalid option -sun-solaris Try `config.sub --help' for 
more information. != config.sub: invalid option -sun-solaris Try `config.sub 
--help' for more information.
./configure: test: unknown operator invalid
*** Error code 1