Christian Wasmer wrote:
> On Dec 1, 2009, at 12:23 , Alexander Hansen wrote:
>
>> Christian Wasmer wrote:
>>> On Dec 1, 2009, at 02:54 , Alexander Hansen wrote:
>>>
>>>> Christian Wasmer wrote:
>>>>> Dear fink users,
>>>>>
>>>>> the compilation of the newest version of wxgtk2.8 (unstable) seems to
>>>>> cause problems on my machine (Intel core2duo, OS 10.6.2). Anyone knows
>>>>> how to resolve this (output below)?
>>>>>
>>>>> Thanks,
>>>>> Christian.
>>>>>
>>>>>
>>>>> g++ -c -o advdll_sound_sdl.o -D__WXGTK__ -I../src/regex
>>>>> -DWXUSINGDLL -DWXMAKINGDLL_ADV -dynamic -fPIC -DPIC
>>>>> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
>>>>> -I/sw/src/fink.build/wxgtk2.8-2.8.10-21/wxGTK-2.8.10/build/lib/wx/include/gtk2-unicode-release-2.8
>>>>> -I../include -I/sw/include/pango-1.0 -I/sw/include/freetype2
>>>>> -I/sw/include -I/sw/lib/fontconfig2/include -I/sw/include/gtk-2.0
>>>>> -I/sw/lib/gtk-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/sw/include/pixman-1
>>>>> -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include
>>>>> -I/sw/include/gstreamer-0.10 -I/sw/include/glib-2.0
>>>>> -I/sw/lib/glib-2.0/include -I/sw/include/libxml2 -I/sw/include
>>>>> -I/sw/include/gconf/2 -I/sw/include/orbit-2.0 -I/sw/include/dbus-1.0
>>>>> -I/sw/lib/dbus-1.0/include -DORBIT2=1 -I/sw/include/SDL
>>>>> -I/usr/X11R6/include -I/sw/include -I/sw/include -Wall -Wundef
>>>>> -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing
>>>>> -I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-vf
s2
>> .16/gnome-vfs-2.0/include -I/sw/include/gconf/2 -I/sw/include/orbit-2.0
>> -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include -I/sw/include/glib-2.0
>> -I/sw/lib/glib-2.0/include -DORBIT2=1 -I/sw/include/pango-1.0
>> -I/sw/include/freetype2 -I/sw/include -I/sw/lib/fontconfig2/include
>> -I/sw/include/libgnomeprintui-2.2 -I/sw/include/libgnomeprint-2.2
>> -I/sw/include/libgnomecanvas-2.0 -I/sw/include/libart-2.0
>> -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libxml2
>> -I/sw/include/gail-1.0 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0
>> -I/sw/lib/gtk-2.0/include -I/sw/include/cairo -I/sw/include/pixman-1
>> -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -fno-common
>> ../src/unix/sound_sdl.cpp
>>>>> ../src/unix/sound_sdl.cpp:21:17: error: SDL.h: No such file or directory
>>>>>
>>>> sdl is in the dependency list, and you're showing -I /sw/include/SDL on
>>>> the include lines, so I'd think that /sw/include/SDL/SDL.h should be
>>>> visible there. Do you have that file? If not, maybe try "fink
>>>> reinstall sdl".
>>>>
>>> Actually sdl was never installed before. Apparently it wasn't needed for
>>> the previous version that compiled well.
>>> With SDL everything went smoothly but from my understanding fink should
>>> know this dependency and install SDL automatically.
>>> Thank you for the help!
>>>
>>>
>> That's strange, since I'm showing a dependency on sdl for the same
>> version of wxgtk2.8:
>>
>> $ fink show-deps wxgtk2.8
>> Information about 9611 packages read in 1 seconds.
>>
>> Package: wxgtk2.8 (2.8.10-21)
>> To install the compiled package...
>> The following other packages (and their dependencies) must be installed:
>> wxgtk2.8-shlibs (>= 2.8.10-21)
>> The following other packages must not be installed:
>> wxgtk
>> wxmac
>> wxmac28
>> To compile this package from source...
>> The following packages are also compiled at the same time:
>> wxgtk2.8-shlibs (2.8.10-21)
>> The following other packages (and their dependencies) must be installed:
>> atk1 (>= 1.24.0-1)
>> atk1-shlibs (>= 1.24.0-1)
>> cairo (>= 1.8.2-1)
>> cairo-shlibs (>= 1.8.2-1)
>> dbus-dev (>= 1.2.3-6)
>> expat1
>> expat1-shlibs
>> fink (>= 0.28.6-1)
>> fontconfig2-dev (>= 2.4.1-5)
>> freetype219 (>= 2.3.7-7)
>> gconf2-dev (>= 2.24.0-1)
>> gconf2-shlibs (>= 2.24.0-1)
>> glib2-dev (>= 2.18.2-1)
>> glib2-shlibs (>= 2.18.2-1)
>> glitz
>> gnome-vfs2-unified-dev (>= 1:2.24.0-1)
>> gst-plugins-base-0.10-dev
>> gst-plugins-base-0.10-shlibs
>> gstreamer-0.10-dev
>> gstreamer-0.10-shlibs
>> gtk+2-dev (>= 2.14.4-1)
>> gtk+2-shlibs (>= 2.14.4-1)
>> libart2
>> libbonobo2-dev (>= 2.20.0-1)
>> libgettext3-dev
>> libgettext3-shlibs
>> libgl
>> libgnomecanvas2-dev (>= 2.20.1-1)
>> libgnomeprint2.2-dev (>= 2.18.5-1)
>> libgnomeprintui2.2-dev (>= 2.18.3-1)
>> libiconv
>> libiconv-dev
>> libjpeg
>> libjpeg-shlibs
>> libpng3
>> libpng3-shlibs
>> libtiff
>> libtiff-shlibs
>> libxml2 (>= 2.6.32-1)
>> libxml2-shlibs (>= 2.6.32-1)
>> orbit2-dev (>= 2.14.16-1)
>> orbit2-shlibs (>= 2.14.16-1)
>> pango1-xft2-ft219-dev (>= 1.22.0-4)
>> pango1-xft2-ft219-shlibs (>= 1.22.0-4)
>> pixman (>= 0.12.0-1)
>> pkgconfig (>= 0.23-1)
>> sdl
>> sdl-shlibs
>> x11-dev
>> x11-shlibs
>> xft2-dev
>> The following other packages must not be installed:
>> [none]
>>
>>
>>
>> --
>> Alexander Hansen
>> Fink User Liaison
>
> That's indeed strange, as I get a different output for the same version:
>
> $ fink show-deps wxgtk2.8
> Information about 7848 packages read in 1 seconds.
>
> Package: wxgtk2.8 (2.8.10-21)
> To install the compiled package...
> The following other packages (and their dependencies) must be installed:
> wxgtk2.8-shlibs (>= 2.8.10-21)
> The following other packages must not be installed:
> wxgtk
> wxmac
> wxmac28
> To compile this package from source...
> The following packages are also compiled at the same time:
> wxgtk2.8-shlibs (2.8.10-21)
> The following other packages (and their dependencies) must be installed:
> atk1 (>= 1.24.0-1)
> atk1-shlibs (>= 1.24.0-1)
> cairo (>= 1.8.2-1)
> cairo-shlibs (>= 1.8.2-1)
> dbus-dev (>= 1.2.3-6)
> expat1
> expat1-shlibs
> fink (>= 0.28.6-1)
> fontconfig2-dev (>= 2.4.1-5)
> freetype219 (>= 2.3.7-7)
> gconf2-dev (>= 2.24.0-1)
> gconf2-shlibs (>= 2.24.0-1)
> glib2-dev (>= 2.18.2-1)
> glib2-shlibs (>= 2.18.2-1)
> glitz
> gnome-vfs2-unified-dev (>= 1:2.24.0-1)
> gst-plugins-base-0.10-dev
> gst-plugins-base-0.10-shlibs
> gstreamer-0.10-dev
> gstreamer-0.10-shlibs
> gtk+2-dev (>= 2.14.4-1)
> gtk+2-shlibs (>= 2.14.4-1)
> libart2
> libbonobo2-dev (>= 2.20.0-1)
> libgettext3-dev
> libgettext3-shlibs
> libgl
> libgnomecanvas2-dev (>= 2.20.1-1)
> libgnomeprint2.2-dev (>= 2.18.5-1)
> libgnomeprintui2.2-dev (>= 2.18.3-1)
> libiconv
> libiconv-dev
> libjpeg
> libjpeg-shlibs
> libpng3
> libpng3-shlibs
> libtiff
> libtiff-shlibs
> libxml2 (>= 2.6.32-1)
> libxml2-shlibs (>= 2.6.32-1)
> orbit2-dev (>= 2.14.16-1)
> orbit2-shlibs (>= 2.14.16-1)
> pango1-xft2-ft219-dev (>= 1.22.0-4)
> pango1-xft2-ft219-shlibs (>= 1.22.0-4)
> pixman (>= 0.12.0-1)
> pkgconfig (>= 0.23-1)
> x11-dev
> x11-shlibs
> xft2-dev
> The following other packages must not be installed:
> [none]
>
>
Ah, I see what the issue is. You didn't specify whether you were using
the 32-bit or 64-bit Fink distribution, but the SDL dependency is marked
with
(%m != x86_64) sdl,
meaning that it's not supposed to use sdl for 64-bit systems--probably a
leftover from when sdl didn't work on 64-bit. Though this would have
failed anyway since I don't see any flag to disable sdl, and clearly
from your experience, the package still looks for it.
--
Alexander Hansen
Fink User Liaison
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users