PortaboomThe contents of this website are Copyright (c)2007 by Brian Manning <brian at antlinux dot com>. Please do not reuse any of the content on this website without permission from the author.
CamelBox Home Page :: Building Perl :: Building Core GTK Apps :: Building Extra GTK Apps
Prerequisites:
g++ compiler. The MinGW software is now installed from a centralized installer, from which you can install extra packages if you wish (mostly compilers and make)
dmake, downloadable from CPAN
gcc.exe, dmake.exe, cc1.exe and dmake.exe (and it's subdirectories) are set on the machine using the Environment Variables button from the My Computer properties dialog (see the above section titled Running a pre-zipped Camelbox package for step-by-step instructions on how to change the $PATH environment variable in Windows)
perl -MCPAN -e shell)
wget binary from the Unix Utilities package above is not piping downloaded files correctly for some reason. This breaks the CPAN shell/module badly, as it pipes together wget and gunzip in order to unpack files downloaded from CPAN. Lynx for Win32 seems to work however, but you need to set the path to the lynx.cfg file in the CPAN Config.pm file before you try to use Lynx to download files in Windows. Your lynx line in $PERL/lib/CPAN/Config.pm should look something like this:
'lynx' => q[C:\apps\unxutils\usr\local\wbin\lynx.EXE -cfg=C:\apps\unxutils\usr\local\wbin\lynx.cfg]
objdump can be used to view what functions are compiled into a library; see the MinGW docs page for more on the below command:
objdump -p file.dll > dll.fil
MinGW Wiki Links that fixed problems with linking to .dll files:
More links to pages with Gtk2-Perl compile problems:
http://mail.gnome.org/archives/gtk-perl-list/2005-November/msg00086.html
Other helpful messages: http://mail.gnome.org/archives/gtk-perl-list/2007-October/msg00002.html http://mail.gnome.org/archives/gtk-perl-list/2005-August/msg00054.html http://mail.gnome.org/archives/gtk-perl-list/2007-April/msg00058.html
Next: Building Perl