Robert Baertsch | 16 Jul 20:33
Favicon

pygobject-2.14.2 on mac osx

I'm trying to build pygobject on osx 10.4 using gcc 4.0.1 after  
building:
cairo-1.6.4
pango-1.21.3
gtk+-2.12.2
glib-2.16.4
atk-1.22.0

I had to edit libtool to remove the ${wl} symbol before -undefined  
dynamic_lookup, it was causing a syntax error with gcc.
I also had to force -export-symbols-list .libs/_gobject- 
symbols.expsym  since -export-symbols-regex is not supported.

I'm getting the following error:

/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -fno-strict-aliasing  
-std=c9x   -o _gobject.la -rpath /usr/local/lib/python2.5/site- 
packages/gtk-2.0/gobject -module -avoid-version  -export-symbols- 
list .libs/_gobject-symbols.expsym  _gobject_la-gobjectmodule.lo  
_gobject_la-pygboxed.lo _gobject_la-pygenum.lo _gobject_la- 
pygflags.lo _gobject_la-pygobject.lo _gobject_la-pygmaincontext.lo  
_gobject_la-pygmainloop.lo _gobject_la-pygparamspec.lo _gobject_la- 
pygpointer.lo _gobject_la-pygiochannel.lo _gobject_la-pygsource.lo  
_gobject_la-pygtype.lo _gobject_la-pygoptioncontext.lo _gobject_la- 
pygoptiongroup.lo  -L/usr/local/lib -lgobject-2.0 -lgthread-2.0 - 
lglib-2.0 -lintl -liconv
gcc -undefined dynamic_lookup -o .libs/_gobject.so -bundle  .libs/ 
_gobject_la-gobjectmodule.o .libs/_gobject_la-pygboxed.o .libs/ 
_gobject_la-pygenum.o .libs/_gobject_la-pygflags.o .libs/_gobject_la- 
pygobject.o .libs/_gobject_la-pygmaincontext.o .libs/_gobject_la- 
(Continue reading)

Johan Dahlin | 17 Jul 10:02
Favicon

Re: pygobject-2.14.2 on mac osx

[and a copy to the list]

On Wed, Jul 16, 2008 at 8:37 PM, Robert Baertsch <baertsch <at> soe.ucsc.edu> wrote:
> I'm trying to build pygobject on osx 10.4 using gcc 4.0.1 after
> building:
> cairo-1.6.4
> pango-1.21.3
> gtk+-2.12.2
> glib-2.16.4
> atk-1.22.0
>
> I had to edit libtool to remove the ${wl} symbol before -undefined
> dynamic_lookup, it was causing a syntax error with gcc.
> I also had to force -export-symbols-list .libs/_gobject-
> symbols.expsym  since -export-symbols-regex is not supported.
>
> I'm getting the following error:

Looks like a libtool bug. Are you using the latest version of libtool?

Johan
_______________________________________________
pygtk mailing list   pygtk <at> daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Gmane