Subject: Compiling gnumeric on Darwin 6.6 - glib-1.2.10nb5 fails
To: None <tech-pkg@netbsd.org>
From: Anders Andersen <aa@computer.org>
List: tech-pkg
Date: 05/26/2003 11:58:11
When compiling math/gnumeric from pkgsrc on my PowerBook with
Darwin Kernel Version 6.6 the following error occurs:

=> Checksum OK for glib-1.2.10.tar.gz.
===> Extracting for glib-1.2.10nb5
===> Required installed package libtool-base>=1.4.20010614nb12:
libtool-base-1.4.20010614nb14 found
===> Patching for glib-1.2.10nb5
===> Applying pkgsrc patches for glib-1.2.10nb5
===> Buildlinking for glib-1.2.10nb5
libtool: link: the `-version-info' option requires an argument
Try `libtool --help --mode=link' for more information.
libtool: install: `.la' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
sed: /Volumes/NetBSD/pkgsrc/devel/glib/work/.buildlink/.tmp/inst/.la: No
such file or directory
*** Error code 1

Hmm, then tried this:

# cd ../../dev/glib
# bmake

(seems to be OK for a while, then it jumps to gmodule)

Making all in gmodule
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../gmodule    -DG_LOG_DOMAIN=\"GModule\"  -no-cpp-precomp
-I/usr/pkg/include  -O2 -I/usr/pkg/include -Wall  -D_REENTRANT -c gmodule.c
mkdir .libs

(this also seems to be OK for a while, but then)

/bin/sh ../libtool --mode=link gcc  -O2 -I/usr/pkg/include -Wall
-D_REENTRANT -L/usr/pkg/lib -o libgplugin_a.la -rpath /usr/pkg/lib -bexpall
-avoid-version -module libgplugin_a.lo
gcc -bundle -flat_namespace -undefined suppress -o .libs/libgplugin_a.so
.libs/libgplugin_a.o
-L/Volumes/NetBSD/pkgsrc/devel/glib/work/.buildlink/lib -lc  -install_name
/usr/pkg/lib/libgplugin_a.so
gcc: -install_name only allowed with -dynamiclib
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/devel/glib/work/glib-1.2.10/gmodule
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/devel/glib/work/glib-1.2.10
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/devel/glib/work/glib-1.2.10
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/glib
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/glib


Any ideas?  I did a "cvs co" of the pkgsrc this morning.  I also
installed the following pkgsrc bootstrap stuff (and did the magic
explained in the different README files):

  bootstrap-pkgsrc-20030417.tar.gz
  bootstrap-pkgsrc-Darwin-6.3-powerpc-20030412.tar.gz

Open-ssh installed perfectly (before I tried gnumeric), and yes,
I've installed X11 public beta 3.

(aa)

-- 
Anders Andersen - <mailto:aa@computer.org> - <http://w3.to/andersen/>