Subject: | Can't build on OpenBSD perl 5.10 wxWidgets 2.8.7 |
Alien::wxWidgets doesn't build on OpenBSD 4.4-current, i386 with
wxWidgets 2.8.7. On ./Build install_wx (or just ./Build) the error
message appears malformed.
$ uname -a
OpenBSD godzilla.bsdhosting.local 4.4 GENERIC#1076 i386
$ perl -v
This is perl, v5.10.0 built for i386-openbsd
$ perl Build.PL
Subroutine version::qv redefined at inc/version.pm line 18.
Deleting _build
Creating custom builder
_build/lib/My/Build/new_from_context_is_broken.pm in _build/lib/My/Build
Checking whether your kit is complete...
Looks good
wxWidgets 2.8.7 seems to be installed in '/usr/local', so it should be
safe to answer 'no' to the following question:
Do you want to fetch and build wxWidgets from sources? [no ]no
$ ./Build install_wx
Subroutine version::qv redefined at inc/version.pm line 18.
-lwx_base_net at inc/My/Build/Any_wx_config_Bakefile.pm line 25.
$ wx-config --cflags
-I/usr/local/lib/wx/include/gtk2-unicode-release-2.8
-I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_IODBC_
-D__WXGTK__ -pthread
$ wx-config --libs
-L/usr/local/lib -pthread -L/usr/local/lib -L/usr/X11R6/lib -pthread
-lwx_gtk2_richtext -lwx_gtk2_aui -lwx_gtk2_xrc -lwx_gtk2_qa
-lwx_gtk2_html -lwx_gtk2_dbgrid -lwx_gtk2_adv -lwx_gtk2_core
-lwx_base_odbc -lwx_base_xml -lwx_base_net -lwx_base
$ wx-config --version
2.8.7
I had to update ExtUtils::CBuilder, since perl 5.10 comes with version
2.1, not 2.4 of that module.