# from Gabor Szabo
# on Tuesday 06 May 2008:
>> What do you get for `wx-config --cxxflags`?
>
>-I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8
>-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread
The wxUSE_GUI=0 was probably a bad sign ;-) When it is setup correctly,
the build will find -D__WXGTK__
>If you meant libwxgtk2.8-dev then, it was not.
>Now I installed it and the installation of Alien::wxWidgets went well.
Yay!
>It now installs in
>/home/gabor/perl5lib/lib/perl/5.8.8/Alien/wxWidgets.pm
>which is better but still not what all other modules do.
>
>my humble understanding is that it somehow does not care about my
>LIB= parameter for Makemaker.PL
>or the following param of Build.PL:
>--install_path lib=/home/gabor/perl5lib/lib
Alien/wxWidgets.pm installs in 'arch' because the settings are
architecture specific. If you want to change that, you'll need to add
an "--install_path arch=..." argument to Build.PL.
>[EMAIL PROTECTED]:~/Wx-0.82$ perl Makefile.PL PREFIX=/home/gabor/perl5lib
>LIB=/home/gabor/perl5lib/lib
>Checking if your kit is complete...
>Looks good
>'WX' is not a known MakeMaker parameter name.
That sounds ominous, but I think these messages are the actual problem:
> Note (probably harmless): No library found for -lwx_gtk2_adv-2.8
It is not harmless. I'm guessing that your wx is unicode, which means
that should be -"lwx_gtk2u_adv-2.8", so something went wrong. (Or
maybe it isn't unicode and something still went wrong.)
What do you get for these?
wx-config --cflags
wx-config --cxxflags
wx-config --libs
The last should match:
perl -e 'use Alien::wxWidgets; warn Alien::wxWidgets->libraries'
And, because you installed the deb, the files should be
in /usr/lib/libwx_gtk2u_*
Aside: I once had some trouble with Alien on debian etch because of
mismatched symlinks to my gcc and g++, but none of your symptoms seem
to match that.
--Eric
--
Atavism n: The recurrence of any peculiarity or disease of an ancestor
in a subsequent generation, usually due to genetic recombination.
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------