bug-gnu-utils
[Top][All Lists]
Advanced

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

gdbm-1.8.0 config problem...


From: George . R . Goffe
Subject: gdbm-1.8.0 config problem...
Date: Sun, 8 Jul 2001 17:12:09 -0700

Hi there,

I just built gdbm-1.8.0 and discovered that the Makefile generated does NOT
have "my" --prefix= values in it. I'm including the config.status file for
your reading enjoyment. I'm also including a screen snapshot (cut & paste)
that shows the full build process. I had to edit the Makefile before
proceeding with the make command(s). Do you need anything else?

Regards,

George...


#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host contractor:
#
# ./configure  --prefix=/usr/lsd/SunOS.5.8 --verbose
--x-includes=/usr/X11R6.5.1/include --x-libraries=/usr/X11R6.5.1/lib
--enable-shared --enable-static
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
for ac_option
do
  case "$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running ${CONFIG_SHELL-/bin/sh} ./configure
--prefix=/usr/lsd/SunOS.5.8 --verbose --x-includes=/usr/X11R6.5.1/include
--x-libraries=/usr/X11R6.5.1/lib --enable-shared --enable-static
--no-create --no-recursion"
    exec ${CONFIG_SHELL-/bin/sh} ./configure  --prefix=/usr/lsd/SunOS.5.8
--verbose --x-includes=/usr/X11R6.5.1/include
--x-libraries=/usr/X11R6.5.1/lib --enable-shared --enable-static
--no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "./config.status generated by autoconf version 2.12"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "$ac_cs_usage"; exit 0 ;;
  *) echo "$ac_cs_usage"; exit 1 ;;
  esac
done

ac_given_srcdir=.
ac_given_INSTALL="/usr/lsd/SunOS.5.8/bin/install -c"

trap 'rm -fr Makefile autoconf.h conftest*; exit 1' 1 2 15

# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
 s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
/^[   ]*VPATH[  ]*=[^:]*$/d

address@hidden@%-g -O2%g
address@hidden@%%g
address@hidden@%%g
address@hidden@%-DHAVE_CONFIG_H%g
address@hidden@%%g
address@hidden@%%g
address@hidden@%${prefix}%g
address@hidden@%/usr/lsd/SunOS.5.8%g
address@hidden@%s,x,x,%g
address@hidden@%${exec_prefix}/bin%g
address@hidden@%${exec_prefix}/sbin%g
address@hidden@%${exec_prefix}/libexec%g
address@hidden@%${prefix}/share%g
address@hidden@%${prefix}/etc%g
address@hidden@%${prefix}/com%g
address@hidden@%${prefix}/var%g
address@hidden@%${exec_prefix}/lib%g
address@hidden@%${prefix}/include%g
address@hidden@%/usr/include%g
address@hidden@%${prefix}/info%g
address@hidden@%${prefix}/man%g
address@hidden@%gcc%g
address@hidden@%gcc -E%g
address@hidden@%${INSTALL}%g
address@hidden@%${INSTALL} -m 644%g
address@hidden@%sparc-sun-solaris2.8%g
address@hidden@%sparc-sun-solaris2.8%g
address@hidden@%sparc%g
address@hidden@%sun%g
address@hidden@%solaris2.8%g
address@hidden@%ranlib%g
s%
@address@hidden/usr/lsd/SunOS.5.8/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/../../../../sparc-sun-solaris2.8/bin/ld%g
address@hidden@%/usr/ccs/bin/nm -p%g
address@hidden@%ln -s%g
address@hidden@%$(SHELL) $(top_builddir)/libtool%g
address@hidden@%%g

CEOF

# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
  if test $ac_beg -gt 1; then
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  else
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  fi
  if test ! -s conftest.s$ac_file; then
    ac_more_lines=false
    rm -f conftest.s$ac_file
  else
    if test -z "$ac_sed_cmds"; then
      ac_sed_cmds="sed -f conftest.s$ac_file"
    else
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    fi
    ac_file=`expr $ac_file + 1`
    ac_beg=$ac_end
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
  fi
done
if test -z "$ac_sed_cmds"; then
  ac_sed_cmds=cat
fi

CONFIG_FILES=${CONFIG_FILES-"Makefile"}
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.

  # Remove last slash and all that follows it.  Not all systems have
dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
  fi

  case "$ac_given_srcdir" in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
  *) # Relative path.
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  esac

  case "$ac_given_INSTALL" in
  [/$]*) INSTALL="$ac_given_INSTALL" ;;
  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  esac

  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.
*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
  esac

  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:%
$ac_given_srcdir/%g"`
  sed -e "$ac_comsub
address@hidden@%$configure_input%g
address@hidden@%$srcdir%g
address@hidden@%$top_srcdir%g
address@hidden@%$INSTALL%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*

# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being
given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([   ]*\)#\([  ]*define[      ][   ]*\)'
ac_dB='\([      ][   ]*\)[^    ]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([   ]*\)#\([  ]*\)undef\([   ][   ]*\)'
ac_uB='\([      ]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME
VALUE".
ac_eA='s%^\([   ]*\)#\([  ]*\)undef\([   ][   ]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'

if test "${CONFIG_HEADERS+set}" != set; then
  CONFIG_HEADERS="autoconf.h"
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  echo creating $ac_file

  rm -f conftest.frag conftest.in conftest.out
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:%
$ac_given_srcdir/%g"`
  cat $ac_file_inputs > conftest.in

  cat > conftest.frag <<CEOF
${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_STDLIB_H${ac_eB}HAVE_STDLIB_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRING_H${ac_eB}HAVE_STRING_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_SYS_FILE_H${ac_dB}HAVE_SYS_FILE_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_SYS_FILE_H${ac_uB}HAVE_SYS_FILE_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_SYS_FILE_H${ac_eB}HAVE_SYS_FILE_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in

  cat > conftest.frag <<CEOF
${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_FCNTL_H${ac_eB}HAVE_FCNTL_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_SYS_TYPES_H${ac_eB}HAVE_SYS_TYPES_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_MEMORY_H${ac_eB}HAVE_MEMORY_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_RENAME${ac_dB}HAVE_RENAME${ac_dC}1${ac_dD}
${ac_uA}HAVE_RENAME${ac_uB}HAVE_RENAME${ac_uC}1${ac_uD}
${ac_eA}HAVE_RENAME${ac_eB}HAVE_RENAME${ac_eC}1${ac_eD}
CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in

  cat > conftest.frag <<CEOF
${ac_dA}HAVE_FTRUNCATE${ac_dB}HAVE_FTRUNCATE${ac_dC}1${ac_dD}
${ac_uA}HAVE_FTRUNCATE${ac_uB}HAVE_FTRUNCATE${ac_uC}1${ac_uD}
${ac_eA}HAVE_FTRUNCATE${ac_eB}HAVE_FTRUNCATE${ac_eC}1${ac_eD}
${ac_dA}HAVE_BCOPY${ac_dB}HAVE_BCOPY${ac_dC}1${ac_dD}
${ac_uA}HAVE_BCOPY${ac_uB}HAVE_BCOPY${ac_uC}1${ac_uD}
${ac_eA}HAVE_BCOPY${ac_eB}HAVE_BCOPY${ac_eC}1${ac_eD}
${ac_dA}HAVE_FSYNC${ac_dB}HAVE_FSYNC${ac_dC}1${ac_dD}
${ac_uA}HAVE_FSYNC${ac_uB}HAVE_FSYNC${ac_uC}1${ac_uD}
${ac_eA}HAVE_FSYNC${ac_eB}HAVE_FSYNC${ac_eC}1${ac_eD}
${ac_dA}HAVE_GETOPT${ac_dB}HAVE_GETOPT${ac_dC}1${ac_dD}
${ac_uA}HAVE_GETOPT${ac_uB}HAVE_GETOPT${ac_uC}1${ac_uD}
${ac_eA}HAVE_GETOPT${ac_eB}HAVE_GETOPT${ac_eC}1${ac_eD}
CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in

  cat > conftest.frag <<CEOF
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
${ac_dA}HAVE_ST_BLKSIZE${ac_dB}HAVE_ST_BLKSIZE${ac_dC}1${ac_dD}
${ac_uA}HAVE_ST_BLKSIZE${ac_uB}HAVE_ST_BLKSIZE${ac_uC}1${ac_uD}
${ac_eA}HAVE_ST_BLKSIZE${ac_eB}HAVE_ST_BLKSIZE${ac_eC}1${ac_eD}
s%^[       ]*#[      ]*undef[  ][   ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in

  rm -f conftest.frag conftest.h
  echo "/* $ac_file.  Generated automatically by configure.  */" >
conftest.h
  cat conftest.in >> conftest.h
  rm -f conftest.in
  if cmp -s $ac_file conftest.h 2>/dev/null; then
    echo "$ac_file is unchanged"
    rm -f conftest.h
  else
    # Remove last slash and all that follows it.  Not all systems have
dirname.
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
      # The file is in a subdirectory.
      test ! -d "$ac_dir" && mkdir "$ac_dir"
    fi
    rm -f $ac_file
    mv conftest.h $ac_file
  fi
fi; done



exit 0


Here's the screen snapshot of the complete build process. Please remember
that I had to edit the Makefile and so the output after the configure
script execution will show "my" --prefix= values.


../mkconfig
#!/bin/sh -xv

 sysver=`uname -s`
+ uname -s
sysver=SunOS
 syslvl=`uname -r`
+ uname -r
syslvl=5.8

 osname=$sysver.$syslvl
osname=SunOS.5.8

 case $osname in
    SunOS.5.5)
       set $osname = "5.5"
       ;;
    SunOS.5.5.1)
       set $osname = "5.5.1"
       ;;
    SunOS.5.6)
       set $osname = "5.6"
       ;;
    SunOS.5.7)
       set $osname = "5.7"
       ;;
    SunOS.5.8)
       set $osname = "5.8"
       ;;
    SunOS.5.9)
       set $osname = "5.9"
       ;;
    *)
       printf "%s" 'Wrong system level encountered...'
       exit 86
 esac
+ set SunOS.5.8 = 5.8

#             --with-gnu-ld

 make distclean
+ make distclean
make: *** No rule to make target `distclean'.  Stop.

 ./configure --prefix=/usr/lsd/$osname --verbose
\
             --x-includes=/usr/X11R6.5.1/include
\
             --x-libraries=/usr/X11R6.5.1/lib
\
             --enable-shared
\
             --enable-static
+ ./configure --prefix=/usr/lsd/SunOS.5.8 --verbose
--x-includes=/usr/X11R6.5.1/include --x-libraries=/usr/X11R6.5.1/lib
--enable-shared --enable-static
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/lsd/SunOS.5.8/bin/install -c
checking host system type... sparc-sun-solaris2.8
checking for ranlib... ranlib
checking for ld used by GCC...
/usr/lsd/SunOS.5.8/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/../../../../sparc-sun-solaris2.8/bin/ld
checking if the linker
(/usr/lsd/SunOS.5.8/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/../../../../sparc-sun-solaris2.8/bin/ld)

is GNU ld... yes
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... -static
checking if the linker
(/usr/lsd/SunOS.5.8/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/../../../../sparc-sun-solaris2.8/bin/ld)

is GNU ld... yes
checking whether the linker
(/usr/lsd/SunOS.5.8/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/../../../../sparc-sun-solaris2.8/bin/ld)

supports shared libraries... yes
checking command to parse /usr/ccs/bin/nm -p output... yes
checking how to hardcode library paths into programs... immediate
checking for
/usr/lsd/SunOS.5.8/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/../../../../sparc-sun-solaris2.8/bin/ld

option to reload object files... -r
checking dynamic linker characteristics... solaris2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking for working const... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/file.h... yes
checking for unistd.h... yes
checking for fcntl.h... yes
checking for sys/types.h... yes
checking for memory.h... yes
checking for main in -ldbm... no
checking for main in -lndbm... no
MAKEINFO = makeinfo
TEXI2DVI = texi2dvi

DEFS =

# Where the system [n]dbm routines are...
LIBS =  -lc

# SunOS 4 users might wish to add '-fpcc-struct-return' to CFLAGS. see
INSTALL.
CFLAGS = -g -O2
LDFLAGS =

# Common prefix for installation directories
prefix = /usr/lsd/SunOS.5.8
exec_prefix = $(prefix)
binprefix = $(exec_prefix)
manprefix = $(prefix)

# Directory in which to put libgdbm.a.
Makefile: 270 lines, 7479 characters.

 make clean
+ make clean
rm -rf libgdbm.la testgdbm testdbm testndbm tndbm tdbm conv2gdbm gdbm.aux
gdbm.cp gdbm.dvi gdbm.fn gdbm.ky gdbm.log gdbm.pg gdbm.toc gdbm.tp gdbm.vr
*.a *.la *.o *.lo core *.core junk* \
        .libs _libs

 make depend
+ make depend
make: *** No rule to make target `depend'.  Stop.

 make
+ make
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 dbminit.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC dbminit.c
mv -f dbminit.o dbminit.lo
gcc -c -I. -I. -g -O2 dbminit.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 delete.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC delete.c
mv -f delete.o delete.lo
gcc -c -I. -I. -g -O2 delete.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 fetch.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC fetch.c
mv -f fetch.o fetch.lo
gcc -c -I. -I. -g -O2 fetch.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 store.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC store.c
mv -f store.o store.lo
gcc -c -I. -I. -g -O2 store.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 seq.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC seq.c
mv -f seq.o seq.lo
gcc -c -I. -I. -g -O2 seq.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 close.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC close.c
mv -f close.o close.lo
gcc -c -I. -I. -g -O2 close.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 dbmopen.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC dbmopen.c
mv -f dbmopen.o dbmopen.lo
gcc -c -I. -I. -g -O2 dbmopen.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 dbmdelete.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC dbmdelete.c
mv -f dbmdelete.o dbmdelete.lo
gcc -c -I. -I. -g -O2 dbmdelete.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 dbmfetch.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC dbmfetch.c
mv -f dbmfetch.o dbmfetch.lo
gcc -c -I. -I. -g -O2 dbmfetch.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 dbmstore.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC dbmstore.c
mv -f dbmstore.o dbmstore.lo
gcc -c -I. -I. -g -O2 dbmstore.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 dbmseq.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC dbmseq.c
mv -f dbmseq.o dbmseq.lo
gcc -c -I. -I. -g -O2 dbmseq.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 dbmclose.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC dbmclose.c
mv -f dbmclose.o dbmclose.lo
gcc -c -I. -I. -g -O2 dbmclose.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 dbmdirfno.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC dbmdirfno.c
mv -f dbmdirfno.o dbmdirfno.lo
gcc -c -I. -I. -g -O2 dbmdirfno.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 dbmpagfno.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC dbmpagfno.c
mv -f dbmpagfno.o dbmpagfno.lo
gcc -c -I. -I. -g -O2 dbmpagfno.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 dbmrdonly.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC dbmrdonly.c
mv -f dbmrdonly.o dbmrdonly.lo
gcc -c -I. -I. -g -O2 dbmrdonly.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmopen.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmopen.c
mv -f gdbmopen.o gdbmopen.lo
gcc -c -I. -I. -g -O2 gdbmopen.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmdelete.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmdelete.c
mv -f gdbmdelete.o gdbmdelete.lo
gcc -c -I. -I. -g -O2 gdbmdelete.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmfetch.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmfetch.c
mv -f gdbmfetch.o gdbmfetch.lo
gcc -c -I. -I. -g -O2 gdbmfetch.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmstore.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmstore.c
mv -f gdbmstore.o gdbmstore.lo
gcc -c -I. -I. -g -O2 gdbmstore.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmclose.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmclose.c
mv -f gdbmclose.o gdbmclose.lo
gcc -c -I. -I. -g -O2 gdbmclose.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmreorg.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmreorg.c
mv -f gdbmreorg.o gdbmreorg.lo
gcc -c -I. -I. -g -O2 gdbmreorg.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmseq.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmseq.c
mv -f gdbmseq.o gdbmseq.lo
gcc -c -I. -I. -g -O2 gdbmseq.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmsync.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmsync.c
mv -f gdbmsync.o gdbmsync.lo
gcc -c -I. -I. -g -O2 gdbmsync.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmerrno.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmerrno.c
mv -f gdbmerrno.o gdbmerrno.lo
gcc -c -I. -I. -g -O2 gdbmerrno.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmexists.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmexists.c
mv -f gdbmexists.o gdbmexists.lo
gcc -c -I. -I. -g -O2 gdbmexists.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmfdesc.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmfdesc.c
mv -f gdbmfdesc.o gdbmfdesc.lo
gcc -c -I. -I. -g -O2 gdbmfdesc.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 gdbmsetopt.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC gdbmsetopt.c
mv -f gdbmsetopt.o gdbmsetopt.lo
gcc -c -I. -I. -g -O2 gdbmsetopt.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 bucket.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC bucket.c
mv -f bucket.o bucket.lo
gcc -c -I. -I. -g -O2 bucket.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 falloc.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC falloc.c
mv -f falloc.o falloc.lo
gcc -c -I. -I. -g -O2 falloc.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 findkey.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC findkey.c
mv -f findkey.o findkey.lo
gcc -c -I. -I. -g -O2 findkey.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 global.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC global.c
mv -f global.o global.lo
gcc -c -I. -I. -g -O2 global.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 hash.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC hash.c
mv -f hash.o hash.lo
gcc -c -I. -I. -g -O2 hash.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 update.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC update.c
mv -f update.o update.lo
gcc -c -I. -I. -g -O2 update.c >/dev/null 2>&1
/bin/sh ./libtool --mode=compile gcc -c   -I. -I. -g -O2 version.c
gcc -c -I. -I. -g -O2 -fPIC -DPIC version.c
mv -f version.o version.lo
gcc -c -I. -I. -g -O2 version.c >/dev/null 2>&1
rm -f gdbm.h
cp ./gdbm.proto gdbm.h
chmod +w gdbm.h
grep _ ./gdbmerrno.h >> gdbm.h
cat ./gdbm.proto2 >> gdbm.h
chmod -w gdbm.h
rm -f libgdbm.la
/bin/sh ./libtool --mode=link gcc -o libgdbm.la -rpath
/usr/lsd/SunOS.5.8/lib \
        -version-info 2 0 0 dbminit.lo delete.lo fetch.lo store.lo seq.lo
close.lo dbmopen.lo dbmdelete.lo dbmfetch.lo dbmstore.lo dbmseq.lo
dbmclose.lo dbmdirfno.lo dbmpagfno.lo dbmrdonly.lo gdbmopen.lo
gdbmdelete.lo gdbmfetch.lo  gdbmstore.lo gdbmclose.lo gdbmreorg.lo
gdbmseq.lo gdbmsync.lo gdbmerrno.lo gdbmexists.lo gdbmfdesc.lo
gdbmsetopt.lo bucket.lo falloc.lo findkey.lo global.lo hash.lo update.lo
version.lo
mkdir .libs
gcc -shared -Wl,-soname -Wl,libgdbm.so.2 -o .libs/libgdbm.so.2.0.0
dbminit.lo delete.lo fetch.lo store.lo seq.lo close.lo dbmopen.lo
dbmdelete.lo dbmfetch.lo dbmstore.lo dbmseq.lo dbmclose.lo dbmdirfno.lo
dbmpagfno.lo dbmrdonly.lo gdbmopen.lo gdbmdelete.lo gdbmfetch.lo
gdbmstore.lo gdbmclose.lo gdbmreorg.lo gdbmseq.lo gdbmsync.lo gdbmerrno.lo
gdbmexists.lo gdbmfdesc.lo gdbmsetopt.lo bucket.lo falloc.lo findkey.lo
global.lo hash.lo update.lo version.lo
(cd .libs && ln -s libgdbm.so.2.0.0 libgdbm.so.2)
(cd .libs && ln -s libgdbm.so.2.0.0 libgdbm.so)
ar cru .libs/libgdbm.a dbminit.o delete.o fetch.o store.o seq.o close.o
dbmopen.o dbmdelete.o dbmfetch.o dbmstore.o dbmseq.o dbmclose.o dbmdirfno.o
dbmpagfno.o dbmrdonly.o gdbmopen.o gdbmdelete.o gdbmfetch.o gdbmstore.o
gdbmclose.o gdbmreorg.o gdbmseq.o gdbmsync.o gdbmerrno.o gdbmexists.o
gdbmfdesc.o gdbmsetopt.o bucket.o falloc.o findkey.o global.o hash.o
update.o version.o
ranlib .libs/libgdbm.a
creating libgdbm.la
(cd .libs && ln -s ../libgdbm.la libgdbm.la)

#make install

 exit 0
+ exit 0
5.8 root->contractor# make install
./mkinstalldirs /usr/lsd/SunOS.5.8/lib /usr/lsd/SunOS.5.8/include
/usr/lsd/SunOS.5.8/man/man3 /usr/lsd/SunOS.5.8/info
/bin/sh ./libtool install -c libgdbm.la /usr/lsd/SunOS.5.8/lib/libgdbm.la
install -c .libs/libgdbm.so.2.0.0 /usr/lsd/SunOS.5.8/lib/libgdbm.so.2.0.0
rm -f /usr/lsd/SunOS.5.8/lib/libgdbm.so.2 /usr/lsd/SunOS.5.8/lib/libgdbm.so
(cd /usr/lsd/SunOS.5.8/lib && ln -s libgdbm.so.2.0.0 libgdbm.so.2)
(cd /usr/lsd/SunOS.5.8/lib && ln -s libgdbm.so.2.0.0 libgdbm.so)
install -c libgdbm.la /usr/lsd/SunOS.5.8/lib/libgdbm.la
install -c .libs/libgdbm.a /usr/lsd/SunOS.5.8/lib/libgdbm.a
ranlib /usr/lsd/SunOS.5.8/lib/libgdbm.a
chmod 644 /usr/lsd/SunOS.5.8/lib/libgdbm.a
------------------------------------------------------------------------------
Libraries have been installed in:
   /usr/lsd/SunOS.5.8/lib

To link against installed libraries in a given directory, LIBDIR,
you must use the `-LLIBDIR' flag during linking.

 You will also need to do one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
------------------------------------------------------------------------------
/usr/lsd/SunOS.5.8/bin/install -c -m 644 -o bin -g bin gdbm.h
/usr/lsd/SunOS.5.8/include/gdbm.h
/usr/lsd/SunOS.5.8/bin/install -c -m 644 -o bin -g bin ./gdbm.3 \
        /usr/lsd/SunOS.5.8/man/man3/gdbm.3
/usr/lsd/SunOS.5.8/bin/install -c -m 644 -o bin -g bin ./gdbm.info \
        /usr/lsd/SunOS.5.8/info/gdbm.info











reply via email to

[Prev in Thread] Current Thread [Next in Thread]