-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/5/10 10:19 AM, Viv Kendon wrote:
> On Fri, 5 Nov 2010, Alexander Hansen wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 11/5/10 7:59 AM, Viv Kendon wrote:
>>> On one of my 10.5.8 machines (macpro) I'm having
>>> trouble with wxgtk2.8:
>>>
>>> checking for XML_ParserCreate in -lexpat... yes
>>> checking for mspack.h... no
>>> checking for GTK+ version...
>>> checking for pkg-config... /sw/bin/pkg-config
>>> checking for GTK+ - version >= 2.0.0... no
>>> *** Could not run GTK+ test program, checking why...
>>> *** The test program compiled, but did not run. This usually means
>>> *** that the run-time linker is not finding GTK+ or finding the wrong
>>> *** version of GTK+. If it is not finding GTK+, you'll need to set your
>>> *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
>>> *** to the installed location  Also, make sure you have run ldconfig if that
>>> *** is required on your system
>>> ***
>>> *** If you have an old version installed, it is best to remove it, although
>>> *** you may also be able to get things to work by modifying LD_LIBRARY_PATH
>>> configure: error:
>>> The development files for GTK+ were not found. For GTK+ 2, please
>>> ensure that pkg-config is in the path and that gtk+-2.0.pc is
>>> installed. For GTK+ 1.2 please check that gtk-config is in the path,
>>> and that the version is 1.2.3 or above. Also check that the
>>> libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
>>> --libs' are in the LD_LIBRARY_PATH or equivalent.
>>>
>>> I don't think I should be trying to do anything with
>>> LD_LIBRARY_PATH myself.  I've removed the old wxgtk, I've
>>> rebuilt gtk+2:
>>>
>>>   fink list gtk+
>>> Information about 11006 packages read in 0 seconds.
>>>       gtk+             1.2.10-53    The Gimp Toolkit
>>>       gtk+-data        1.2.10-53    The Gimp Toolkit
>>>       gtk+-shlibs      1.2.10-53    The Gimp Toolkit
>>>   i   gtk+2            2.18.9-5     The Gimp Toolkit
>>>   i   gtk+2-dev        2.18.9-5     The Gimp Toolkit
>>>   i   gtk+2-shlibs     2.18.9-5     The Gimp Toolkit
>>>       gtk+extra17      0.99.17-15   Useful widgets for
>>> creating GUI's using GTK+
>>>       gtk+extra17-shl  0.99.17-15   Useful widgets for
>>> creating GUI's using GTK+
>>>
>>> I have pkgconfig installed:
>>>
>>>   fink list pkgconfig
>>> Information about 11006 packages read in 1 seconds.
>>>   i   pkgconfig        0.23-2       Manager for library compile/link flags
>>>
>>> I've selfupdated and update-all on the rest.  No change...
>>>
>>> gcc --version
>>> i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build
>>> 5493)
>>>
>>> fink --version
>>> Package manager version: 0.29.15
>>> Distribution version: selfupdate-rsync Fri Nov  5 11:22:32
>>> 2010, 10.5, i386
>>>
>>> I do not have the latest Java update installed
>>> (softwareupdate is broken on this machine and I haven't had
>>> time to fix it).
>>>
>>> Suggestions for what else to try or update much appreciated,
>>> I've got someone on my back wanting gnuplot to work on this
>>> machine...
>>>
>> gnuplot-nogtk just doesn't build the wx terminal, so that might be a
>> quick option.
> 
> Trying that now.  Might not satisfy user, they might be 
> trying to use it via remote X display...
> 
>> As for what you're seeing, check the config.log file in the wxgtk2.8
>> build directory, at the point where it says "checking for GTK+".  We've
>> seen a lot of packages report GTK is missing because something else
>> which is required for the GTK test is missing, and the test script can't
>> tell the difference.
> 
> configure:27988: checking for pkg-config
> configure:28006: found /sw/bin/pkg-config
> configure:28019: result: /sw/bin/pkg-config
> configure:28040: checking for GTK+ - version >= 2.0.0
> configure:28155: gcc -o conftest  -I/sw/include/pango-1.0 
> -I/sw/include/freetype
> 2 -I/sw/include -I/sw/lib/fontconfig2/include 
> -I/sw/include/gtk-2.0 -I/sw/lib/gt
> k-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo 
> -I/sw/include/glib-2.0 -
> I/sw/lib/glib-2.0/include -I/usr/X11R6/include 
> -I/usr/X11/include -I/sw/include/
> SDL -I/usr/X11R6/include -I/sw/include 
> -L/sw/lib/fontconfig2/lib -Wl,-dylib_file
> ,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/S
> ystem/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 
> -L/us
> r/X11R6/lib -L/sw/lib conftest.c -L/sw/lib 
> -L/sw/lib/fontconfig2/lib -lgtk-x11-2
> .0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 
> -lgdk_pixbuf-2.0 -lpangocair
> o-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig 
> -lgobject-2.0 -lgmodule-2.0 -l
> gthread-2.0 -lglib-2.0 -lintl  >&5
> configure:28158: $? = 0
> configure:28160: ./conftest
> dyld: Library not loaded: /usr/X11/lib/libpixman-1.0.dylib
>    Referenced from: /usr/X11/lib/libcairo.2.dylib
>    Reason: Incompatible library version: libcairo.2.dylib 
> requires version 15.0.0
>   or later, but libpixman-1.0.dylib provides version 13.0.0
> 
> This is a headless server, so I haven't paid attention to 
> the version of X installed on it: X --version gives
> 
> X.org Release 7.4
> X.Org X Server 1.5.3-apple14
> Build Date: 20090805
> 
> I'm sure I can find a newer one if that's what it needs...do 
> you know which is recommended?
> 
> many thanks,
> -- Viv
> ________________________________________________
> Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
> tel: +44 113 343 4864      Physics and Astronomy
> Quantum Information Group    University of Leeds
> 
> 

What probably happened is that your X11 libraries got downgraded by a
system updated.  You'll want to reinstall your Xquartz X11.

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzUFe0ACgkQB8UpO3rKjQ92GgCcCoendFHQnTx8CnY4vRKVIDR6
ueYAn2lwTZM93dNeuKe01yNNUinE2HpE
=LYyP
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to