pygobject-2.14.2 on mac osx

View: New views
2 Messages — Rating Filter:   Alert me  

pygobject-2.14.2 on mac osx

by Robert Baertsch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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-
pygmainloop.o .libs/_gobject_la-pygparamspec.o .libs/_gobject_la-
pygpointer.o .libs/_gobject_la-pygiochannel.o .libs/_gobject_la-
pygsource.o .libs/_gobject_la-pygtype.o .libs/_gobject_la-
pygoptioncontext.o .libs/_gobject_la-pygoptiongroup.o  -L/usr/local/
lib /usr/local/lib/libgobject-2.0.dylib /usr/lib/libc.dylib /usr/
local/lib/libgthread-2.0.dylib /usr/local/lib/libglib-2.0.dylib /usr/
local/lib/libintl.dylib /usr/lib/libiconv.dylib
dsymutil .libs/_gobject.so || :
ERROR: No debug map or DWARF data was found to link.creating _gobject.la

-Robert Baertsch
_______________________________________________
pygtk mailing list   pygtk@...
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: pygobject-2.14.2 on mac osx

by Johan Dahlin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[and a copy to the list]

On Wed, Jul 16, 2008 at 8:37 PM, Robert Baertsch <baertsch@...> 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@...
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/