Hi Francois,
On 17/04/15 04:01, RAPPAZ Francois wrote:
Is there a way I could successfully install Wx::Alien and telling him : use my
"standalone" setup of wxWidgets, don't build your own ?
There is a parameter (--prefix), which I don't use, but you can play
with it. If you do a search on these email archives, Mark talks about
it more. On Linux something like the following would work,
Good luck,
Regards,
Steve.
#
# Remove your old install files.
cd ~
rm -rf Alien-wxWidgets
svn co https://svn.code.sf.net/p/wxperl/code/Alien-wxWidgets/trunk
Alien-wxWidgets
cd ~/Alien-wxWidgets
perl Build.PL \
--wxWidgets-build=1 \
--wxWidgets-graphicscontext \
--wxWidgets-build-opengl=1 \
--wxWidgets-version=3.0.2 \
--wxWidgets-source=tar.bz2 \
--wxWidgets-unicode=1 \
--wx-unicode='yes' \
--wxWidgets-build-opengl=1 \
--wxWidgets-extraflags="--enable-graphics_ctx \
--disable-compat26 \
--enable-mediactrl \
--with-libjpeg=builtin \
--with-libpng=builtin \
--with-regex=builtin \
--with-libtiff=builtin \
--with-zlib=builtin \
--with-expat=builtin \
--with-libxpm=builtin \
--with-gtk=2\
--with-gtkprint"
#\
#--prefix=/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_2_uni
perl Build # Download and compile wxWidgets.
perl Build install
ldconfig
cd ..
cd ~
rm -rf ~/wxPerl
svn co https://svn.code.sf.net/p/wxperl/code/wxPerl/trunk ~/wxPerl
cd ~/wxPerl
perl Makefile.PL
make
make install
cd ~