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: compilationSeverity: 3 - Normal
Item Group: compile/installStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: SpecimenOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 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:

Still problem, reported on bug #36113 by sembei:

https://github.com/mxcl/homebrew/blob/master/Library/Formula/weechat.rb

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 03 Jun 2012 08:22:15 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Sat 07 Apr 2012 09:32:42 AM UTCflashcodeStatusConfirmed=>Fixed
    Fri 06 Apr 2012 12:28:59 PM UTCflashcodeStatusNeed Info=>Confirmed
    Sun 18 Mar 2012 11:39:59 AM UTCflashcodeStatusNone=>Need Info
      Assigned toNone=>flashcode

    Back to the top


    Powered by Savane 3.1-cleanup1