Skip Menu |

This queue is for tickets about the Alien-wxWidgets CPAN distribution.

Report information
The Basics
Id: 21854
Status: resolved
Priority: 0/
Queue: Alien-wxWidgets

People
Owner: Nobody in particular
Requestors: jpo [...] di.uminho.pt
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.21
Fixed in: (no value)



Subject: Alien-wxWidgets fails to cache the libraries names in a x86_64 system
Hi, During the process of packaging your module as an RPM for the Fedora Extras project we discovered that it failed to store the libraries needed to build Wx in a x86_64 system (the "_libraries" hash entry was empty). This happens because the script fails to look into /usr/lib64 for libraries (RedHat/Fedora linux distros use this path for 64 bit libraries). The following patch fixes the problem: ---------- diff -ruN Alien-wxWidgets-0.21-orig/inc/My/Build/Any_wx_config.pm Alien-wxWidgets-0.21/inc/My/Build/Any_wx_config.pm --- Alien-wxWidgets-0.21-orig/inc/My/Build/Any_wx_config.pm 2006-08-27 16:21:49.000000000 +0100 +++ Alien-wxWidgets-0.21/inc/My/Build/Any_wx_config.pm 2006-10-01 02:27:40.000000000 +0100 @@ -116,7 +116,7 @@ } my @paths = ( ( map { s/^-L//; $_ } grep { /^-L/ } split ' ', $libs ), - qw(/usr/local/lib /usr/lib) ); + qw(/usr/local/lib /usr/lib /usr/lib64) ); foreach ( split /\s+/, $libs ) { m{^-[lL]|/} && do { $config{link_libraries} .= " $_"; next; }; ---------- Best regards, jpo PS - the current perl-Alien-wxWidgets rpm (perl-Alien-wxWidgets-0.21-3) in Fedora Extras includes the above patch. PS2 - A build log can be found in this bugzilla ticket https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=208009 (see comment #7)
On Mon Oct 02 16:17:35 2006, jpo@di.uminho.pt wrote: Hi, <snip> Show quoted text
> During the process of packaging your module as an RPM for the Fedora > Extras project we discovered that it failed to store the libraries > needed to build Wx in a x86_64 system (the "_libraries" hash entry was > empty).
<snip> Show quoted text
> The following patch fixes the problem:
Applied to Alien::wxWidgets 0.22. Thanks! Mattia