Subject: | Wx does not build on Ubuntu 14.04: target 'PropertyGrid.o' failed (was ticket 121930) |
Hi,
Ticket 121930 is marked as "resolved". However, I still receive the same error as described in https://rt.perl.org/Ticket/Display.html?id=121930#txn-1293557 when using perl 5.20.1 and 5.20.2.
Attached you'll find the output of the perl Makefile.PL and make command. What may be relevant is that Alien::wxWidgets had to be patched lightly to make it build on Ubuntu 14.10 (in short add support for wx 3.0.1). However, I don't think the error lays there.
This are the commands used (from a HOWTO I am working on to build Padre for developers):
Get the OS dependencies
$ sudo apt-get install libgtk-3-dev libwxgtk3.0-dev
Install CPAN modules needed for development
$ cpanm Module::Install Locale::Msgfmt
Install "tricky" modules: Alien::wxWidgets and Wx
Alien::wxWidgets does not build with wxWidgets 3.0.0. We need version 3.0.1, so we need to patch Alien::wxWidgets.
$ cpanm Module::Pluggable # needed for module test
$ mkdir -p ~/tmp/ && cd ~/tmp && cpan -g Alien::wxWidgets && tar xvzf Alien-wxWidgets-*.tar.gz && cd Alien-wxWidgets-*
$ cp patches/data-3.0.0 patches/data-3.0.1
$ perl -pi -e 's/3\.0\.0/3.0.1/g' Build.PL patches/data-3.0.1
$ export CXXFLAGS="-std=gnu++11"
(Accept all the defaults)
$ perl Build.PL
$ perl Build
$ perl Build test
$ perl Build install
# Build Wx.pm (does not work yet)
$ cpanm ExtUtils::XSpp
$ cd ~/tmp
$ /usr/bin/cpan -g Wx
$ tar xvzf Wx-*.tar.gz && cd Wx*
$ perl Makefile.PL --extra-cflags='-std=gnu++11'
$ make
Thank you. Please feel free to contact me for what ever info you need of if test must be run. I have been looking for some days at the problem but I haven't been able to make it work yet.
Claudio
Subject: | configure.txt |
Checking if your kit is complete...
Looks good
'WX' is not a known MakeMaker parameter name.
Generating a Unix-style Makefile
Writing Makefile for Wx::WebView
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::DateTime
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Socket
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::PerlTest
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Html
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::PropertyGrid
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::RichText
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Media
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::DND
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::MDI
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::DataView
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::IPC
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::XRC
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::STC
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::FS
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Ribbon
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::DocView
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Print
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Grid
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Calendar
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Help
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::AUI
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Perl::SplashFast
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Perl::Carp
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Perl::TextValidator
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx::Perl
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Wx
Writing MYMETA.yml and MYMETA.json
======================================================================
For installation instructions and further help please see
docs/INSTALL.pod
For command line switches help use:
perl Makefile.PL --help
======================================================================
Subject: | make.txt |
Message body is not shown because it is too large.