bugWeeChat - Bugs: bug #30701, Perl plugin doesn't compile with...

 
 

bug #30701: Perl plugin doesn't compile with OSX system Perl

Submitted by:  None
Submitted on:  Sun 08 Aug 2010 09:41:45 PM UTC  
 
Category:  compilation Severity:  3 - Normal
Item Group:  compile/install Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Specimen Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  0.3.3
IRC nick:  Specimen

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 07 Apr 2012 09:32:42 AM UTC, comment #4:

Fixed, feedback is welcome (I don't have OS X so I'm unable to test the fix).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Fri 06 Apr 2012 12:28:59 PM UTC, comment #3:
Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Sun 18 Mar 2012 11:39:59 AM UTC, comment #2:

Is is still a problem today?

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Sun 08 Aug 2010 09:45:46 PM UTC, comment #1:

Sorry, the site for Homebrew is: http://mxcl.github.com/homebrew/

Anonymous
Sun 08 Aug 2010 09:41:45 PM UTC, original submission:

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-03 flashcode Open/ClosedOpen => Closed
    2012-04-07 flashcode StatusConfirmed => Fixed
    2012-04-06 flashcode StatusNeed Info => Confirmed
    2012-03-18 flashcode StatusNone => Need Info
        Assigned toNone => flashcode

    Back to the top


    Powered by Savane 3.4