Re: [Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-22 Thread Alexander Hansen
This issue should be fixed now.

The problem was not with our pkgconfig or gtk+2, per se, but that  
wxgtk2.8 (upstream code, not specific to our package) was relying on  
superflous link information that gtk+2 had published in its .pc file,  
and which has since been removed.

On Oct 21, 2008, at 7:19 PM, James Howse wrote:

 In fact after digging a bit more I think the problem may be that in  
 the fink port of pkgconfig the configuration flag --enable-indirect- 
 deps is commented out.

It shouldn't matter--this was tested.  Check out fink dumpinfo - 
fdescport pkgconfig


 James
 Just as another data point I did the following experiment.  I run  
 both fink and macports and at the moment I have the same version of  
 pkg-config installed under both port systems.  However I obtain  
 different results with the fink version than I do with the macports  
 version.

 Fink
 setenv PKG_CONFIG_PATH /opt/fink/lib/pkgconfig
 /opt/fink/bin/pkg-config --libs gdk-x11-2.0

 -L/opt/fink/lib -L/opt/fink/lib/pango-ft219/lib -lgdk-x11-2.0 - 
 lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 - 
 lgmodule-2.0 -lglib-2.0 -lintl

 MacPorts
 setenv PKG_CONFIG_PATH /opt/macports/lib/pkgconfig
 /opt/macports/bin/pkg-config --libs gdk-x11-2.0

 -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -L/ 
 opt/macports/lib -L/usr/X11R6/lib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 - 
 lpangocairo-1.0 -lcairo -lSM -lICE -lpangoft2-1.0 -lpixman-1 - 
 lpng12 -lXrender -lX11 -lpango-1.0 -lm -lfontconfig -lexpat - 
 lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv

 So perhaps the problem lies in the fink port of pkg-config?
 James

 Martin Costabel wrote:
 []

 This is caused by the gtk+ update. I think it is due to the fact  
 that

   pkg-config --libs gdk-x11-2.0

 used to give something like

 -L/sw/lib/pango-ft219/lib -L/sw/lib/freetype219/lib
 -L/sw/lib/fontconfig2/lib -L/sw/lib -L/usr/X11R6/lib
 -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
 -lgdk-x11-2.0 -lXrandr -lXrender -lXinerama -lXext -lX11
 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lcairo -lpangoft2-1.0
 -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 - 
 lgmodule-2.0
 -lglib-2.0 -lintl -liconv

 and now gives only

 -L/sw/lib/pango-ft219/lib -L/sw/lib -lgdk-x11-2.0 -lgdk_pixbuf-2.0
 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0
 -lglib-2.0 -lintl

 This looks really like a bug in gdk-x11-2.0.pc (from gtk+2). After  
 all,
 libgdk-x11-2.0.dylib *is* linked to all these X11 dylibs. Now  
 whether
 wxgtk should rely on gdk-x11-2.0.pc to bring the X11 libs on the  
 linker
 line is a different question. As an ugly workaround, adding

 -L/usr/X11R6/lib -lXrandr -lXrender -lXinerama -lXext -lX11

 to the SetLDFLAGS: line lets wxgtk2.8 build for me again.








-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-21 Thread Alexander Hansen

On Oct 21, 2008, at 8:38 AM, Francis Poulin wrote:

 Recently I tried

 fink --yes update-all

 and unfortunately, it can't seem to update imagemagick.

The message at the bottom said that you _did_ update imagemagick.   
Your problem is with wxgtk2.8 .

 I tried fink
 selfupdate before but that didn't do the trick.

 Below I've include the portion where things seemed to go wrong.

 Any advice would be well appreciated.


  wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,
 wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,
 wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,
 wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,
 wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,
 wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,
 wxX11FullScreenMethod)in coredll_utilsx11.o
   wxTopLevelWindowGTK::SetTransparent(unsigned char)in
 coredll_toplevel.o
   _XGetWindowAttributes, referenced from:
   IsMapped(_XDisplay*, unsigned long)in coredll_utilsx11.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make: *** [/sw/src/fink.build/wxgtk2.8-2.8.7-19/wxGTK-2.8.7/build/lib/
 libwx_gtk2u_core-2.8.0.4.0.dylib] Error 1
 ### execution of /var/tmp/tmp.3.YyFxsq failed, exit code 2


It's generally useful to provide some information such as:

Your OS version
Your architecture
What version of the Xcode Tools you're using.

Also, it's frequently helpful to quote the compiler output line just  
above where the errors start to occur, because that helps us see  
whether there are local issues causing the build problem.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-21 Thread Francis Poulin

 The message at the bottom said that you _did_ update imagemagick.   
 Your problem is with wxgtk2.8 .


Yes, I just realized that the problem is that I need to update gnuplot  
and to do so requires:

wxgtk2.8 wxgtk2.8-shlibs


 It's generally useful to provide some information such as:

 Your OS version
 Your architecture
 What version of the Xcode Tools you're using.

I'm running 10.5.5 on my MacBook Pro with Xcode version 3.0.

 Also, it's frequently helpful to quote the compiler output line just  
 above where the errors start to occur, because that helps us see  
 whether there are local issues causing the build problem.

I see that it's because of wxgtk2.8 in particular.  I scrolled back  
and found the following at the end of the checking.  Not sure if this  
is the problem.
I didn't see much else in terms of errors.


checking for cppunit-config... /sw/bin/cppunit-config
checking for Cppunit - version = 1.8.0... ../configure: line 49762: / 
sw/bin/cppunit-config: No such file or directory
../configure: line 49763: /sw/bin/cppunit-config: No such file or  
directory
../configure: line 49764: /sw/bin/cppunit-config: No such file or  
directory
expr: syntax error
no
configure: creating ./config.status
config.status: creating lib/wx/config/gtk2-unicode-release-2.8
config.status: creating lib/wx/config/inplace-gtk2-unicode-release-2.8
config.status: creating Makefile
config.status: creating samples/xrc/Makefile
config.status: creating samples/wizard/Makefile
config.status: creating samples/widgets/Makefile
config.status: creating samples/vscroll/Makefile
config.status: creating samples/validate/Makefile
config.status: creating samples/typetest/Makefile
config.status: creating samples/treectrl/Makefile
config.status: creating samples/toolbar/Makefile
config.status: creating samples/thread/Makefile
config.status: creating samples/text/Makefile
config.status: creating samples/taskbar/Makefile
config.status: creating samples/statbar/Makefile
config.status: creating samples/splitter/Makefile
config.status: creating samples/splash/Makefile
config.status: creating samples/sound/Makefile
config.status: creating samples/sockets/Makefile
config.status: creating samples/shaped/Makefile
config.status: creating samples/scrollsub/Makefile
config.status: creating samples/scroll/Makefile
config.status: creating samples/sashtest/Makefile
config.status: creating samples/rotate/Makefile
config.status: creating samples/richtext/Makefile
config.status: creating samples/render/Makefile
config.status: creating samples/propsize/Makefile
config.status: creating samples/printing/Makefile
config.status: creating samples/popup/Makefile
config.status: creating samples/png/Makefile
config.status: creating samples/opengl/penguin/Makefile
config.status: creating samples/opengl/isosurf/Makefile
config.status: creating samples/opengl/cube/Makefile
config.status: creating samples/opengl/Makefile
config.status: creating samples/notebook/Makefile
config.status: creating samples/multimon/Makefile
config.status: creating samples/mobile/wxedit/Makefile
config.status: creating samples/mobile/styles/Makefile
config.status: creating samples/mobile/Makefile
config.status: creating samples/minimal/Makefile
config.status: creating samples/minifram/Makefile
config.status: creating samples/menu/Makefile
config.status: creating samples/mediaplayer/Makefile
config.status: creating samples/mdi/Makefile
config.status: creating samples/listctrl/Makefile
config.status: creating samples/listbox/Makefile
config.status: creating samples/layout/Makefile
config.status: creating samples/keyboard/Makefile
config.status: creating samples/ipc/Makefile
config.status: creating samples/internat/Makefile
config.status: creating samples/image/Makefile
config.status: creating samples/html/zip/Makefile
config.status: creating samples/html/widget/Makefile
config.status: creating samples/html/virtual/Makefile
config.status: creating samples/html/test/Makefile
config.status: creating samples/html/printing/Makefile
config.status: creating samples/html/helpview/Makefile
config.status: creating samples/html/help/Makefile
config.status: creating samples/html/about/Makefile
config.status: creating samples/html/Makefile
config.status: creating samples/htlbox/Makefile
config.status: creating samples/help/Makefile
config.status: creating samples/grid/Makefile
config.status: creating samples/font/Makefile
config.status: creating samples/exec/Makefile
config.status: creating samples/event/Makefile
config.status: creating samples/erase/Makefile
config.status: creating samples/dynamic/Makefile
config.status: creating samples/drawing/Makefile
config.status: creating samples/dragimag/Makefile
config.status: creating samples/docvwmdi/Makefile
config.status: creating samples/docview/Makefile
config.status: creating samples/dnd/Makefile
config.status: creating samples/display/Makefile
config.status: creating samples/dialup/Makefile
config.status: creating samples/dialogs/Makefile

Re: [Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-21 Thread Martin Costabel
Francis Poulin wrote:
[]
 Also, it's frequently helpful to quote the compiler output line just  
 above where the errors start to occur, because that helps us see  
 whether there are local issues causing the build problem.

Please try to do as Alex said. Otherwise we will not be able to help you.

The error you got

_XGetWindowAttributes, referenced from:
IsMapped(_XDisplay*, unsigned long)in coredll_utilsx11.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status

shows that for some reason the library /usr/X11/libX11.dylib, where this 
symbol is defined, is not present for linking at that moment. But we 
cannot start to guess the reason before we have seen the complete 
command line that got transmitted to the linker.

The earlier output you are quoting does not help. There could be some 
line in the configure output where it talks about X ot X11 that might 
give a hint, but not the part you showed.

-- 
Martin







-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-21 Thread Francis Poulin
Thanks for your response.  There's a lot of output and I'm trying to  
figure out what you're looking for.

The first time I see any error is in the checking.  I see the  
following output,

checking for cppunit-config... /sw/bin/cppunit-config
checking for Cppunit - version = 1.8.0... ../configure: line 49762: / 
sw/bin/cppunit-config: No such file or directory
../configure: line 49763: /sw/bin/cppunit-config: No such file or  
directory
../configure: line 49764: /sw/bin/cppunit-config: No such file or  
directory
expr: syntax error
no
configure: creating ./config.status
config.status: creating lib/wx/config/gtk2-unicode-release-2.8

Then it runs make with a lot of file compilation I believe and I get  
the following:

0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lfreetype -lz - 
lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 - 
lintl -lXinerama -lXxf86vm -lSM -lpng -lz -ljpeg -ltiff   - 
lwxregexu-2.8  -L/sw/lib/gtk-2.0 -L/sw/lib/gstreamer-0.10 -L/sw/lib/ 
freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib  -L/usr/X11R6/lib   
-L/sw/lib -framework IOKit -framework CoreServices -framework System - 
framework ApplicationServices  -lz -L/sw/lib -lgstreamer-0.10 - 
lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lgconf-2 -lglib-2.0 - 
lintl -lgstinterfaces-0.10 -lpthread -liconv  -lwx_baseu-2.8
Undefined symbols:
   _XFlush, referenced from:
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
   _XAllocWMHints, referenced from:
   _wxgtk_window_set_urgency_hint in coredll_toplevel.o
   _XDefaultRootWindow, referenced from:
   wxClientDisplayRect(int*, int*, int*, int*)in  
coredll_displayx11.o
   _XkbSetDetectableAutoRepeat, referenced from:
   wxSetDetectableAutoRepeat(bool) in coredll_utilsgtk.o
   _XMapRaised, referenced from:
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
   _XSetErrorHandler, referenced from:
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
...

With a whole lot more of undefined symbols that I will cut for brevity.

...
  _XSync, referenced from:
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
   wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
wxX11FullScreenMethod)in coredll_utilsx11.o
   wxTopLevelWindowGTK::SetTransparent(unsigned char)in  
coredll_toplevel.o
   _XGetWindowAttributes, referenced from:
   IsMapped(_XDisplay*, unsigned long)in coredll_utilsx11.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [/sw/src/fink.build/wxgtk2.8-2.8.7-19/wxGTK-2.8.7/build/lib/ 
libwx_gtk2u_core-2.8.0.4.0.dylib] Error 1
### execution of /var/tmp/tmp.1.0zh8TE failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-wxgtk2.8-2.8.7-19
(Reading database ... 86282 files and directories currently installed.)
Removing fink-buildlock-wxgtk2.8-2.8.7-19 ...
Failed: phase compiling: wxgtk2.8-2.8.7-19 failed

Before reporting any errors, please run fink selfupdate and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

Pierre-Henri Lavigne [EMAIL PROTECTED]

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.


 Also, it's frequently helpful to quote the compiler output line  
 just  above where the errors start to occur, because that helps us  
 see  whether there are local issues causing the build problem.

 Please try to do as Alex said. Otherwise we will not be able to help  
 you.

 The error you got

   _XGetWindowAttributes, referenced from:
   IsMapped(_XDisplay*, unsigned long)in coredll_utilsx11.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status

 shows that for some reason the library /usr/X11/libX11.dylib, where  
 this symbol is defined, is not present for linking at that moment.  
 But we cannot start to guess the reason 

Re: [Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-21 Thread Alexander Hansen

On Oct 21, 2008, at 2:30 PM, Francis Poulin wrote:

 Thanks for your response.  There's a lot of output and I'm trying to  
 figure out what you're looking for.

 The first time I see any error is in the checking.  I see the  
 following output,

 checking for cppunit-config... /sw/bin/cppunit-config
 checking for Cppunit - version = 1.8.0... ../configure: line  
 49762: /sw/bin/cppunit-config: No such file or directory
 ../configure: line 49763: /sw/bin/cppunit-config: No such file or  
 directory
 ../configure: line 49764: /sw/bin/cppunit-config: No such file or  
 directory
 expr: syntax error
 no
 configure: creating ./config.status
 config.status: creating lib/wx/config/gtk2-unicode-release-2.8

 Then it runs make with a lot of file compilation I believe and I get  
 the following:

 0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lfreetype -lz - 
 lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 - 
 lintl -lXinerama -lXxf86vm -lSM -lpng -lz -ljpeg -ltiff   - 
 lwxregexu-2.8  -L/sw/lib/gtk-2.0 -L/sw/lib/gstreamer-0.10 -L/sw/lib/ 
 freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib  -L/usr/X11R6/ 
 lib  -L/sw/lib -framework IOKit -framework CoreServices -framework  
 System -framework ApplicationServices  -lz -L/sw/lib - 
 lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 - 
 lgconf-2 -lglib-2.0 -lintl -lgstinterfaces-0.10 -lpthread -liconv  - 
 lwx_baseu-2.8
 Undefined symbols:
  _XFlush, referenced from:
  wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
 wxX11FullScreenMethod)in coredll_utilsx11.o
  _XAllocWMHints, referenced from:
  _wxgtk_window_set_urgency_hint in coredll_toplevel.o
  _XDefaultRootWindow, referenced from:
  wxClientDisplayRect(int*, int*, int*, int*)in  
 coredll_displayx11.o
  _XkbSetDetectableAutoRepeat, referenced from:
  wxSetDetectableAutoRepeat(bool) in coredll_utilsgtk.o
  _XMapRaised, referenced from:
  wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
 wxX11FullScreenMethod)in coredll_utilsx11.o
  _XSetErrorHandler, referenced from:
  wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
 wxX11FullScreenMethod)in coredll_utilsx11.o
  wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
 wxX11FullScreenMethod)in coredll_utilsx11.o
  wxSetFullScreenStateX11(void*, void*, void*, bool, wxRect*,  
 wxX11FullScreenMethod)in coredll_utilsx11.o
 ...

 With a whole lot more of undefined symbols that I will cut for  
 brevity.


snip

The line above is what we were looking for, but you didn't quote the  
whole thing:  it should start with cc, or gcc or g++ or ld

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-21 Thread Alexander Hansen

On Oct 21, 2008, at 3:50 PM, Francis Poulin wrote:

 On 21-Oct-08, at 3:25 PM, Alexander Hansen wrote:

 snip

 The line above is what we were looking for, but you didn't quote  
 the whole thing:  it should start with cc, or gcc or g++ or  
 ld



 I copied the two previous lines below.

 Thanks again for your response.

 Francis


 g++ -c -o coredll_vscroll.o  -D__WXGTK__  -I../src/regex  - 
 DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -dynamic -fPIC -DPIC - 
 D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/sw/src/fink.build/ 
 wxgtk2.8-2.8.7-19/wxGTK-2.8.7/build/lib/wx/include/gtk2-unicode- 
 release-2.8 -I../include -I/sw/lib/pango-ft219/include/pango-1.0 -I/ 
 sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include - 
 I/sw/lib/fontconfig2/include -I/sw/include/glib-2.0 -I/sw/lib/ 
 glib-2.0/include -I/sw/include/libpng12 -I/sw/include -I/sw/include/ 
 pixman-1 -I/sw/include/cairo -I/sw/include/gtk-2.0 -I/sw/include/ 
 atk-1.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11/ 
 include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/ 
 include/dbus-1.0 -I/sw/lib/dbus-1.0/include -I/sw/include/orbit-2.0 - 
 I/sw/include/gconf/2 -I/sw/include/libxml2 -I/sw/include -I/sw/ 
 include/gstreamer-0.10 -DORBIT2=1 -I/usr/X11R6/include -I/sw/include/ 
 SDL -I/sw/include/gtk-2.0/gtk -I/sw/include/gtk-2.0/gdk -I/sw/lib/ 
 pango-ft219/include/pango-1.0 -I/sw/include/gstreamer-0.10 -I/sw/ 
 include -I/sw/include -fno-rtti -fno-exceptions -Wall -Wundef -Wno- 
 ctor-dtor-privacy -O2 -fno-strict-aliasing -I/sw/include/glib-2.0 -I/ 
 sw/lib/glib-2.0/include -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/ 
 include -I/sw/include/orbit-2.0 -I/sw/include/gconf/2 -I/sw/include/ 
 gnome-vfs-2.0 -I/sw/lib/gnome-vfs2.16/gnome-vfs-2.0/include - 
 DORBIT2=1 -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/ 
 freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/ 
 lib/fontconfig2/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ 
 include -I/sw/include/libpng12 -I/sw/include -I/sw/include/pixman-1 - 
 I/sw/include/cairo -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/ 
 lib/gtk-2.0/include -I/sw/include/libart-2.0 -I/sw/include/gail-1.0 - 
 I/sw/include/libxml2 -I/sw/include/libgnomecanvas-2.0 -I/sw/include/ 
 libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I/usr/X11R6/ 
 include -I/usr/X11/include -I/sw/include/SDL -D_GNU_SOURCE=1 - 
 D_THREAD_SAFE -fno-common ../src/generic/vscroll.cpp
 g++ -dynamiclib -single_module -Wl,-x -dead_strip - 
 headerpad_max_install_names -o /sw/src/fink.build/wxgtk2.8-2.8.7-19/ 
 wxGTK-2.8.7/build/lib/libwx_gtk2u_core-2.8.0.4.0.dylib   
 coredll_event.o coredll_fs_mem.o coredll_msgout.o coredll_utilscmn.o  
 coredll_utilsunx.o  coredll_caret.o coredll_imaglist.o  
 coredll_dialup.o coredll_fontenum.o coredll_fontutil.o  
 coredll_utilsx11.o coredll_displayx11.o coredll_icon.o  
 coredll_paletteg.o coredll_app.o coredll_assertdlg_gtk.o  
 coredll_bitmap.o coredll_brush.o coredll_clipbrd.o coredll_colour.o  
 coredll_cursor.o coredll_data.o coredll_dataobj.o coredll_dc.o  
 coredll_dcclient.o coredll_dcmemory.o coredll_dcscreen.o  
 coredll_dnd.o coredll_evtloop.o coredll_font.o coredll_gsockgtk.o  
 coredll_main.o coredll_minifram.o coredll_pen.o coredll_popupwin.o  
 coredll_region.o coredll_renderer.o coredll_settings.o  
 coredll_timer.o coredll_tooltip.o coredll_toplevel.o  
 coredll_utilsgtk.o coredll_win_gtk.o coredll_window.o  
 coredll_accel.o coredll_colrdlgg.o coredll_dirdlgg.o  
 coredll_fdrepdlg.o coredll_filedlgg.o coredll_graphicc.o  
 coredll_listctrl.o coredll_msgdlgg.o coredll_prntdlgg.o  
 coredll_statusbr.o coredll_tabg.o coredll_fontdlgg.o  
 coredll_artgtk.o coredll_bmpbuttn.o coredll_button.o  
 coredll_checkbox.o coredll_checklst.o coredll_choice.o  
 coredll_collpane.o coredll_colordlg.o coredll_combobox.o  
 coredll_control.o coredll_clrpicker.o coredll_dialog.o  
 coredll_fontpicker.o coredll_filepicker.o coredll_dirdlg.o  
 coredll_filedlg.o coredll_fontdlg.o coredll_frame.o coredll_gauge.o  
 coredll_gprint.o coredll_gvfs.o coredll_listbox.o coredll_mdi.o  
 coredll_menu.o coredll_msgdlg.o coredll_notebook.o  
 coredll_radiobox.o coredll_radiobut.o coredll_scrolbar.o  
 coredll_scrolwin.o coredll_slider.o coredll_spinbutt.o  
 coredll_spinctrl.o coredll_statbmp.o coredll_statbox.o  
 coredll_statline.o coredll_stattext.o coredll_tbargtk.o  
 coredll_textctrl.o coredll_tglbtn.o coredll_treeentry_gtk.o  
 coredll_utilsres.o coredll_accesscmn.o coredll_anidecod.o  
 coredll_appcmn.o coredll_artprov.o coredll_artstd.o  
 coredll_bmpbase.o coredll_bookctrl.o coredll_choiccmn.o  
 coredll_clipcmn.o coredll_clrpickercmn.o coredll_colourcmn.o  
 coredll_combocmn.o coredll_cmdproc.o coredll_cmndata.o  
 coredll_containr.o coredll_cshelp.o coredll_ctrlcmn.o  
 coredll_ctrlsub.o coredll_datacmn.o coredll_dcbase.o  
 coredll_dcbufcmn.o coredll_dcgraph.o coredll_dlgcmn.o  
 coredll_dndcmn.o coredll_dobjcmn.o coredll_docmdi.o  
 

Re: [Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-21 Thread Martin Costabel
Alexander Hansen wrote:
[]
 The line above is what we were looking for, but you didn't quote the 
 whole thing:  it should start with cc, or gcc or g++ or ld

I am getting this error now, too. In previous builds, there was a whole 
bunch of X11 libs on the linker line that are no longer there. Here are 
the two relevant snippets of the linker line:

Old (OK):
-lgdk_pixbuf-2.0 -lXrender -lX11 -lXext -lXinerama -lXrandr -lXcursor 
-lXcomposite -lXdamage -lpangoft2-1.0 -lpango-1.0

New (not OK):
-lgdk_pixbuf-2.0 -lpango-1.0

This is caused by the gtk+ update. I think it is due to the fact that

  pkg-config --libs gdk-x11-2.0

used to give something like

-L/sw/lib/pango-ft219/lib -L/sw/lib/freetype219/lib 
-L/sw/lib/fontconfig2/lib -L/sw/lib -L/usr/X11R6/lib 
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices 
-lgdk-x11-2.0 -lXrandr -lXrender -lXinerama -lXext -lX11 
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lcairo -lpangoft2-1.0 
-lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 
-lglib-2.0 -lintl -liconv

and now gives only

-L/sw/lib/pango-ft219/lib -L/sw/lib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 
-lglib-2.0 -lintl

But I am not sure if it is really this one; the code constructing that 
linker line in wxgtk is incredibly complex; configure alone has about 
4000 lines where it tries to decide whether to put -lX11 on such linker 
lines or not.

-- 
Martin



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-21 Thread Martin Costabel
Martin Costabel wrote:
[]
 This is caused by the gtk+ update. I think it is due to the fact that
 
   pkg-config --libs gdk-x11-2.0
 
 used to give something like
 
 -L/sw/lib/pango-ft219/lib -L/sw/lib/freetype219/lib 
 -L/sw/lib/fontconfig2/lib -L/sw/lib -L/usr/X11R6/lib 
 -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices 
 -lgdk-x11-2.0 -lXrandr -lXrender -lXinerama -lXext -lX11 
 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lcairo -lpangoft2-1.0 
 -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 
 -lglib-2.0 -lintl -liconv
 
 and now gives only
 
 -L/sw/lib/pango-ft219/lib -L/sw/lib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 
 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 
 -lglib-2.0 -lintl

This looks really like a bug in gdk-x11-2.0.pc (from gtk+2). After all, 
libgdk-x11-2.0.dylib *is* linked to all these X11 dylibs. Now whether 
wxgtk should rely on gdk-x11-2.0.pc to bring the X11 libs on the linker 
line is a different question. As an ugly workaround, adding

-L/usr/X11R6/lib -lXrandr -lXrender -lXinerama -lXext -lX11

to the SetLDFLAGS: line lets wxgtk2.8 build for me again.

-- 
Martin






-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-21 Thread James Howse




Just as another data point I did the following experiment. I run both
fink and macports and at the moment I have the same version of
pkg-config installed under both port systems. However I obtain
different results with the fink version than I do with the macports
version.

Fink
setenv PKG_CONFIG_PATH /opt/fink/lib/pkgconfig
/opt/fink/bin/pkg-config --libs gdk-x11-2.0

-L/opt/fink/lib -L/opt/fink/lib/pango-ft219/lib -lgdk-x11-2.0
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -lglib-2.0 -lintl

MacPorts
setenv PKG_CONFIG_PATH /opt/macports/lib/pkgconfig
/opt/macports/bin/pkg-config --libs gdk-x11-2.0

-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
-L/opt/macports/lib -L/usr/X11R6/lib -lgdk-x11-2.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lcairo -lSM -lICE -lpangoft2-1.0 -lpixman-1 -lpng12
-lXrender -lX11 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 

So perhaps the problem lies in the fink port of pkg-config?
James


  Martin Costabel wrote:
[]
  
  
This is caused by the gtk+ update. I think it is due to the fact that

  pkg-config --libs gdk-x11-2.0

used to give something like

-L/sw/lib/pango-ft219/lib -L/sw/lib/freetype219/lib 
-L/sw/lib/fontconfig2/lib -L/sw/lib -L/usr/X11R6/lib 
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices 
-lgdk-x11-2.0 -lXrandr -lXrender -lXinerama -lXext -lX11 
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lcairo -lpangoft2-1.0 
-lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 
-lglib-2.0 -lintl -liconv

and now gives only

-L/sw/lib/pango-ft219/lib -L/sw/lib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 
-lglib-2.0 -lintl

  
  
This looks really like a bug in gdk-x11-2.0.pc (from gtk+2). After all, 
libgdk-x11-2.0.dylib *is* linked to all these X11 dylibs. Now whether 
wxgtk should rely on gdk-x11-2.0.pc to bring the X11 libs on the linker 
line is a different question. As an ugly workaround, adding

-L/usr/X11R6/lib -lXrandr -lXrender -lXinerama -lXext -lX11

to the SetLDFLAGS: line lets wxgtk2.8 build for me again.

  





-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] wxgtk2.8-2.8.7-19 build failure was Re: imagemagick update fails

2008-10-21 Thread James Howse




In fact after digging a bit more I think the problem may be that in the
fink port of pkgconfig the configuration flag --enable-indirect-deps is
commented out.
James

  
Just as another data point I did the following experiment. I run both
fink and macports and at the moment I have the same version of
pkg-config installed under both port systems. However I obtain
different results with the fink version than I do with the macports
version.
  
Fink
setenv PKG_CONFIG_PATH /opt/fink/lib/pkgconfig
/opt/fink/bin/pkg-config --libs gdk-x11-2.0
  
-L/opt/fink/lib -L/opt/fink/lib/pango-ft219/lib -lgdk-x11-2.0
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -lglib-2.0 -lintl
  
MacPorts
setenv PKG_CONFIG_PATH /opt/macports/lib/pkgconfig
/opt/macports/bin/pkg-config --libs gdk-x11-2.0
  
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
-L/opt/macports/lib -L/usr/X11R6/lib -lgdk-x11-2.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lcairo -lSM -lICE -lpangoft2-1.0 -lpixman-1 -lpng12
-lXrender -lX11 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
  
So perhaps the problem lies in the fink port of pkg-config?
James
  
  
Martin Costabel wrote:
[]
  

  This is caused by the gtk+ update. I think it is due to the fact that

  pkg-config --libs gdk-x11-2.0

used to give something like

-L/sw/lib/pango-ft219/lib -L/sw/lib/freetype219/lib 
-L/sw/lib/fontconfig2/lib -L/sw/lib -L/usr/X11R6/lib 
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices 
-lgdk-x11-2.0 -lXrandr -lXrender -lXinerama -lXext -lX11 
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXcursor -lcairo -lpangoft2-1.0 
-lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 
-lglib-2.0 -lintl -liconv

and now gives only

-L/sw/lib/pango-ft219/lib -L/sw/lib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 
-lglib-2.0 -lintl



This looks really like a bug in gdk-x11-2.0.pc (from gtk+2). After all, 
libgdk-x11-2.0.dylib *is* linked to all these X11 dylibs. Now whether 
wxgtk should rely on gdk-x11-2.0.pc to bring the X11 libs on the linker 
line is a different question. As an ugly workaround, adding

-L/usr/X11R6/lib -lXrandr -lXrender -lXinerama -lXext -lX11

to the SetLDFLAGS: line lets wxgtk2.8 build for me again.

  
  
  
  

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url="">
  

___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users
  





-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users