[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [bug #30701] Perl plugin doesn't compile with OSX system P
From: |
anonymous |
Subject: |
[Weechat-dev] [bug #30701] Perl plugin doesn't compile with OSX system Perl |
Date: |
Sun, 08 Aug 2010 21:41:46 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us) AppleWebKit/533.17.8 (KHTML, like Gecko) Version/5.0.1 Safari/533.17.8 |
URL:
<http://savannah.nongnu.org/bugs/?30701>
Summary: Perl plugin doesn't compile with OSX system Perl
Project: WeeChat
Submitted by: None
Submitted on: Sun 08 Aug 2010 09:41:45 PM UTC
Category: compilation
Severity: 3 - Normal
Item Group: compile/install
Status: None
Privacy: Public
Assigned to: None
Originator Name: Specimen
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 0.3.3
IRC nick: Specimen
_______________________________________________________
Details:
Context: Using Homebrew ( http://github.com/ashb/homebrew ), a popular
package manager for OSX that uses the tools OSX already comes with to install
Weechat (unlike Macports that duplicates everything).
Bug: Perl plugin fails to compile.
Cause: OSX System Perl is a fat binary with 32,64 and PPC compiles but our
dependencies don't have that.
Fix:
ashb at #machomebrew found the cause and fixed the problem here via a patch
in the package manager:
http://github.com/ashb/homebrew/commit/1b7f0b5cc0eeb62e7ccc23b22a66954f16d117d1
Possible fix for weechat:
In: src/plugins/scripts/perl/CMakeLists.txt
Add after 'IF(PERL_FOUND)':
STRING(REGEX REPLACE "-arch i386|-arch ppc|-arch x86_64" "" PERL_CFLAGS
"${PERL_CFLAGS"})
STRING(REGEX REPLACE "-arch i386|-arch ppc|-arch x86_64" "" PERL_LFLAGS
"${PERL_LFLAGS"})
This fix should probably be inside a psecific OSX block.
ashb also suggested for weechat dev to:
1) in FindPerl.cmake, and 2) inside an IF(APPLE) block
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?30701>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Weechat-dev] [bug #30701] Perl plugin doesn't compile with OSX system Perl,
anonymous <=