Re: Macport 2.03 glib2 problem in leopard

2011-11-28 Thread Ryan Schmidt
On Nov 28, 2011, at 01:26, Peter wrote: > I got the gnuplot compiled successfully with mac port 2.03. > when I try to do plot, it crashed with the following error. > > [Debug] 23:22:30: ../src/common/fileconf.cpp(991): assert "szValue.empty()" > failed in DoWriteString(): can't set value of a g

Re: Macport 2.03 glib2 problem in leopard

2011-11-27 Thread Peter
Hi Ryan, I got the gnuplot compiled successfully with mac port 2.03. when I try to do plot, it crashed with the following error. [Debug] 23:22:30: ../src/common/fileconf.cpp(991): assert "szValue.empty()" failed in DoWriteString(): can't set value of a group! fileconf.cpp doesn't look comes fro

Re: Macport 2.03 glib2 problem in leopard

2011-11-26 Thread Ryan Schmidt
On Nov 26, 2011, at 01:30, Peter wrote: > Here is the error from atk/main.log: > > :info:build In file included from ../atk/atkobject.h:28, > :info:build from atkaction.h:27, > :info:build from atkaction.c:20: > :info:build ../atk/atkstate.h:173: error: syntax e

Re: Macport 2.03 glib2 problem in leopard

2011-11-25 Thread Peter
Hi Ryan, Thanks for your help. now I fixed everything except to get gtk2 to install in leopard. $sudo port install gtk2 --->  Attempting to fetch atk-1.32.0.tar.bz2 from http://distfiles.macports.org/atk --->  Verifying checksum(s) for atk --->  Extracting atk --->  Configuring atk ---> 

Re: Macport 2.03 glib2 problem in leopard

2011-11-25 Thread Ryan Schmidt
On Nov 25, 2011, at 16:51, Peter wrote: >> Build libffi (and all its dependencies) without the universal variant (i.e. >> "-universal"). > > Now it works. thanks. When I build my library, there is another problem: >ld: library not found or -lX11 > > I used -L/usr/X11/lib, and it looks th

Re: Macport 2.03 glib2 problem in leopard

2011-11-25 Thread Peter
Hi Ryan, > Build libffi (and all its dependencies) without the universal variant (i.e. > "-universal"). Now it works. thanks. When I build my library,  there is another problem:    ld: library not found or -lX11 I used -L/usr/X11/lib, and it looks tha libX11.6.dylib and libX11.la in /usr/X11

Re: Macport 2.03 glib2 problem in leopard

2011-11-25 Thread Ryan Schmidt
On Nov 25, 2011, at 00:39, Peter wrote: > Ryan, > > how to remove universal build for glib2? > > Previously, many dependencies are built with universal. > > sudo port install cairo +no_x11 +quartz +universal > > it failed with in glib2 build. > Now, I run "sudo port clean cairo; sudo port cle

Re: Macport 2.03 glib2 problem in leopard

2011-11-24 Thread Ryan Schmidt
On Nov 24, 2011, at 16:59, Peter wrote: > :info:build /opt/local/lib/libffi-3.0.10/include/ffi.h:53:1: error: > unterminated #ifndef I guess now that glib2 requires libffi I really have to fix this: https://trac.macports.org/ticket/31459 It only affects the universal variant, and only buildin

Macport 2.03 glib2 problem in leopard

2011-11-24 Thread Peter
Hello, I have leopard 10.5.2,. Mac port 2.03 and Xcode 314 installed. I got the following error when building glib2: bash-3.2$ sudo port install cairo +no_x11 +quartz --->  Computing dependencies for cairo --->  Dependencies to be installed: glib2 libpixman libpng pkgconfig --->  Building glib