[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


                 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



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.

ashb at #machomebrew found the cause and fixed the problem here via a patch
in the package manager:

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
STRING(REGEX REPLACE "-arch i386|-arch ppc|-arch x86_64" "" 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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]