On Mon, 2003-01-06 at 17:15, Stacey Roberts wrote: > Hello, > I've just cvsup'd ports tree and attempted to update > pilot-link-0.11.4 via portupgrade, which fails. > > Here's what I've managed to capture off the screen at the end. > > Any pointers as to where I could look to fix?
I sent Joe this patch for fixing the problem. It replaces patch-ab. Joe > > Thanks for the time. > > Regards, > > Stacey > > creating libpisock++.la > (cd .libs && rm -f libpisock++.la && ln -s ../libpisock++.la > libpisock++.la) > Making all in include > Making all in src > Making all in prc > Making all in pix > Making all in pilot-datebook > source='parsedate.c' object='parsedate.o' libtool=no > depfile='.deps/parsedate.Po' tmpdepfile='.deps/parsedate.TPo' > depmode=gcc /bin/sh ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. > -I../../include > -I. -I../../include -O -pipe >-march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f parsedate.c > || echo './'`parsedate.c > source='pilot-datebook.c' object='pilot-datebook.o' libtool=no > depfile='.deps/pilot-datebook.Po' tmpdepfile='.deps/pilot-datebook.TPo' > depmode=gcc /bin/sh ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. > -I../../include -I. >-I../../include -O -pipe > -march=pentiumpro -I/usr/local/include -I/usr/local/include/tcl8.3 -c > `test -f pilot-datebook.c || echo './'`pilot-datebook.c > source='pilot-datebook-compare.c' object='pilot-datebook-compare.o' > libtool=no depfile='.deps/pilot-datebook-compare.Po' > tmpdepfile='.deps/pilot-datebook-compare.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. > -I../../include -O -pipe -march=pentiumpro -I/usr/local/include > -I/usr/local/include/tcl8.3 -c `test -f pilot-datebook-compare.c || echo > './'`pilot-datebook-compare.c > source='pilot-datebook-csv.c' object='pilot-datebook-csv.o' libtool=no > depfile='.deps/pilot-datebook-csv.Po' > tmpdepfile='.deps/pilot-datebook-csv.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. -I../../include -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f > pilot-datebook-csv.c || echo './'`pilot-datebook-csv.c > source='pilot-datebook-data.c' object='pilot-datebook-data.o' > libtool=no depfile='.deps/pilot-datebook-data.Po' > tmpdepfile='.deps/pilot-datebook-data.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. -I../../include -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f > pilot-datebook-data.c || echo './'`pilot-datebook-data.c > source='pilot-datebook-hotsync.c' object='pilot-datebook-hotsync.o' > libtool=no depfile='.deps/pilot-datebook-hotsync.Po' > tmpdepfile='.deps/pilot-datebook-hotsync.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. > -I../../include -O -pipe -march=pentiumpro -I/usr/local/include > -I/usr/local/include/tcl8.3 -c `test -f pilot-datebook-hotsync.c || echo > './'`pilot-datebook-hotsync.c > source='pilot-datebook-ical.c' object='pilot-datebook-ical.o' > libtool=no depfile='.deps/pilot-datebook-ical.Po' > tmpdepfile='.deps/pilot-datebook-ical.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. -I../../include -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f > pilot-datebook-ical.c || echo './'`pilot-datebook-ical.c > source='pilot-datebook-io.c' object='pilot-datebook-io.o' libtool=no > depfile='.deps/pilot-datebook-io.Po' > tmpdepfile='.deps/pilot-datebook-io.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. -I../../include -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f > pilot-datebook-io.c || echo './'`pilot-datebook-io.c > source='pilot-datebook-job.c' object='pilot-datebook-job.o' libtool=no > depfile='.deps/pilot-datebook-job.Po' > tmpdepfile='.deps/pilot-datebook-job.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. -I../../include -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f > pilot-datebook-job.c || echo './'`pilot-datebook-job.c > source='pilot-datebook-joblist.c' object='pilot-datebook-joblist.o' > libtool=no depfile='.deps/pilot-datebook-joblist.Po' > tmpdepfile='.deps/pilot-datebook-joblist.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. > -I../../include -O -pipe -march=pentiumpro -I/usr/local/include > -I/usr/local/include/tcl8.3 -c `test -f pilot-datebook-joblist.c || echo > './'`pilot-datebook-joblist.c > source='pilot-datebook-longtxt.c' object='pilot-datebook-longtxt.o' > libtool=no depfile='.deps/pilot-datebook-longtxt.Po' > tmpdepfile='.deps/pilot-datebook-longtxt.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. > -I../../include -O -pipe -march=pentiumpro -I/usr/local/include > -I/usr/local/include/tcl8.3 -c `test -f pilot-datebook-longtxt.c || echo > './'`pilot-datebook-longtxt.c > source='pilot-datebook-pdb.c' object='pilot-datebook-pdb.o' libtool=no > depfile='.deps/pilot-datebook-pdb.Po' > tmpdepfile='.deps/pilot-datebook-pdb.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. -I../../include -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f > pilot-datebook-pdb.c || echo './'`pilot-datebook-pdb.c > source='pilot-datebook-remind.c' object='pilot-datebook-remind.o' > libtool=no depfile='.deps/pilot-datebook-remind.Po' > tmpdepfile='.deps/pilot-datebook-remind.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. -I../../include -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f > pilot-datebook-remind.c || echo './'`pilot-datebook-remind.c > source='pilot-datebook-shorttxt.c' object='pilot-datebook-shorttxt.o' > libtool=no depfile='.deps/pilot-datebook-shorttxt.Po' > tmpdepfile='.deps/pilot-datebook-shorttxt.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. > -I../../include -O -pipe -march=pentiumpro -I/usr/local/include > -I/usr/local/include/tcl8.3 -c `test -f pilot-datebook-shorttxt.c || > echo './'`pilot-datebook-shorttxt.c > source='pilot-datebook-sort.c' object='pilot-datebook-sort.o' > libtool=no depfile='.deps/pilot-datebook-sort.Po' > tmpdepfile='.deps/pilot-datebook-sort.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. -I../../include -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f > pilot-datebook-sort.c || echo './'`pilot-datebook-sort.c > source='pilot-datebook-update.c' object='pilot-datebook-update.o' > libtool=no depfile='.deps/pilot-datebook-update.Po' > tmpdepfile='.deps/pilot-datebook-update.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. -I../../include -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f > pilot-datebook-update.c || echo './'`pilot-datebook-update.c > source='pilot-datebook-windat.c' object='pilot-datebook-windat.o' > libtool=no depfile='.deps/pilot-datebook-windat.Po' > tmpdepfile='.deps/pilot-datebook-windat.TPo' depmode=gcc /bin/sh > ../../depcomp cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include > > -I. -I../../include -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -c `test -f > pilot-datebook-windat.c || echo './'`pilot-datebook-windat.c > /bin/sh ../../libtool --mode=link cc -O -pipe -march=pentiumpro > -I/usr/local/include -I/usr/local/include/tcl8.3 -L/usr/local/lib -o > pilot-datebook parsedate.o pilot-datebook.o pilot-datebook-compare.o > pilot-datebook-csv.o pilot-datebook-data.o pilot-datebook-hotsync.o > pilot-datebook-ical.o pilot-datebook-io.o pilot-datebook-job.o > pilot-datebook-joblist.o pilot-datebook-longtxt.o > pilot-datebook-pdb.o pilot-datebook-remind.o > pilot-datebook-shorttxt.o pilot-datebook-sort.o > pilot-datebook-update.o pilot-datebook-windat.o > ../../libpisock/libpisock.la -L/usr/local/lib > mkdir .libs > cc -O -pipe -march=pentiumpro -I/usr/local/include > -I/usr/local/include/tcl8.3 -o .libs/pilot-datebook parsedate.o > pilot-datebook.o pilot-datebook-compare.o pilot-datebook-csv.o > pilot-datebook-data.o pilot-datebook-hotsync.o pilot-datebook-ical.o > pilot-datebook-io.o pilot-datebook-job.o pilot-datebook-joblist.o > pilot-datebook-longtxt.o pilot-datebook-pdb.o pilot-datebook-remind.o > pilot-datebook-shorttxt.o pilot-datebook-sort.o pilot-datebook-update.o > pilot-datebook-windat.o -L/usr/local/lib > ../../libpisock/.libs/libpisock.so -liconv -Wl,--rpath > -Wl,/usr/local/lib > pilot-datebook-joblist.o: In function `joblist_parse_param': > pilot-datebook-joblist.o(.text+0x4d5): undefined reference to > `getopt_long' > *** Error code 1 > > Stop in > /usr/ports/palm/pilot-link/work/pilot-link-0.11.7/src/pilot-datebook. > *** Error code 1 > > Stop in /usr/ports/palm/pilot-link/work/pilot-link-0.11.7/src. > *** Error code 1 > > Stop in /usr/ports/palm/pilot-link/work/pilot-link-0.11.7. > *** Error code 1 > > Stop in /usr/ports/palm/pilot-link/work/pilot-link-0.11.7. > *** Error code 1 > > Stop in /usr/ports/palm/pilot-link. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade33649.7 make > ** Fix the problem and try again. > ** The following packages were not installed or upgraded (*:skipped / > !:failed) > ! palm/pilot-link (pilot-link-0.11.4) (linker error) > # -- PGP Key : http://www.marcuscom.com/pgp.asc
--- configure.orig Sun Jan 5 18:45:21 2003 +++ configure Mon Jan 6 16:03:03 2003 @@ -977,11 +977,11 @@ # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' +INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' +INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 echo "configure:988: checking whether build environment is sane" >&5 @@ -7899,7 +7899,7 @@ if test "x$with_tcl" = "xyes" || test "x$with_tcl" = "x" ; then for tcl_path in /usr /usr/contrib /usr/local /usr/lib/tcl8.3 /usr/local/tcl8.4 /usr/local/tcl8.3 /usr/local/tcl8.0 /usr/local/tcl7.6 /usr/local/tcl7.5 /usr/local/tcl7.4; do - if test -f $tcl_path/lib/tclConfig.sh; then + if test -f $tcl_path/lib/tcl8.3/tclConfig.sh; then with_tcl=$tcl_path; break elif test -f $tcl_path/lib/itcl/tclConfig.sh; then itcl='/itcl' @@ -7924,13 +7924,13 @@ elif test "x$with_tcl" = "xno"; then echo "$ac_t""not used" 1>&6 else - tclConfig="$with_tcl/lib$itcl/tclConfig.sh" + tclConfig="$with_tcl/lib/tcl8.3$itcl/tclConfig.sh" if test ! -f $tclConfig; then echo "$ac_t""Unable to find tclConfig.sh" 1>&6 else . $tclConfig echo "$ac_t""version $TCL_VERSION from $tclConfig" 1>&6 - TCL_INC="-I$TCL_PREFIX/include$itcl" + TCL_INC="-I$TCL_PREFIX/include/tcl8.3$itcl" TCL_BIN="$TCL_EXEC_PREFIX/bin" TCLLIBS="$TCL_LIB_SPEC $TCL_LIBS" TCLTKLIBS="$TCLLIBS" @@ -7943,7 +7943,7 @@ if test "x$with_itcl" = "xyes" || test "x$with_itcl" = "x"; then for itcl_path in $with_tcl; do - if test -f $itcl_path/lib$itcl/itclConfig.sh; then + if test -f $itcl_path/lib/tcl8.3$itcl/itclConfig.sh; +then with_itcl=$itcl_path; break fi done @@ -7961,13 +7961,13 @@ elif test "x$with_itcl" = "xno"; then echo "$ac_t""not used" 1>&6 else - itclConfig="$with_itcl/lib$itcl/itclConfig.sh" + itclConfig="$with_itcl/lib/tcl8.3$itcl/itclConfig.sh" if test ! -f $itclConfig; then echo "$ac_t""Unable to find itclConfig.sh" 1>&6 else . $itclConfig echo "$ac_t""version $ITCL_VERSION from $itclConfig" 1>&6 - ITCL_INC="-I$TK_PREFIX/include$itcl" + ITCL_INC="-I$TK_PREFIX/include/tcl8.3$itcl" #TK_BIN="$TK_EXEC_PREFIX/bin" #TKLIBS="$TK_LIB_SPEC $TCL_LIB_SPEC $TK_LIBS" #TCLTK_LIBS="\$(TK_LIB_SPEC) \$(TCL_LIB_SPEC) \$(TK_LIBS)" @@ -7985,7 +7985,7 @@ if test "x$with_tk" = "xyes" || test "x$with_tk" = "x"; then for tk_path in $with_tcl; do - if test -f $tk_path/lib$itcl/tkConfig.sh; then + if test -f $tk_path/lib/tk8.3$itcl/tkConfig.sh; then with_tk=$tk_path; break fi done @@ -8003,13 +8003,13 @@ elif test "x$with_tk" = "xno"; then echo "$ac_t""not used" 1>&6 else - tkConfig="$with_tk/lib$itcl/tkConfig.sh" + tkConfig="$with_tk/lib/tk8.3$itcl/tkConfig.sh" if test ! -f $tkConfig; then echo "$ac_t""Unable to find tkConfig.sh" 1>&6 else . $tkConfig echo "$ac_t""version $TK_VERSION from $tkConfig" 1>&6 - TK_INC="-I$TK_PREFIX/include$itcl" + TK_INC="-I$TK_PREFIX/include/tk8.3$itcl" TK_BIN="$TK_EXEC_PREFIX/bin" TKLIBS="$TK_LIB_SPEC $TCL_LIB_SPEC $TK_LIBS" TCLTK_LIBS="\$(TK_LIB_SPEC) \$(TCL_LIB_SPEC) \$(TK_LIBS)" @@ -8189,11 +8189,11 @@ fi -case $withval in -/*) - LIBS="-L$withval/lib" - ;; -esac +#case $withval in +#/*) +# LIBS="-L$withval/lib" +# ;; +#esac if test "x$with_efence" != "xno"; then echo $ac_n "checking for malloc in -lefence""... $ac_c" 1>&6