Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Module::Build::WithXSpp and cc flags

by psiciliano (Novice)
on May 20, 2015 at 15:31 UTC ( [id://1127250]=perlquestion: print w/replies, xml ) Need Help??

psiciliano has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I'm trying to compile a module that uses Module::Build::WithXSpp on Mac OSX Mavericks. More precisely Slic3r-XS.

When I ran perl Build.PL I get this error: clang: error: unknown argument: --no-merge-constants

In other modules, like cpan modules I successfully edit make file and run make by hand. But this Build.PL doesn't generates a Makefile.

Does anyone can tell me how can I remove that option from GCC default parameters on Mac OSX when I try to compile from perl? (Or how use Module::Build::WithXSpp to generate a Makefile to edit this by hand too ...)

Thanks for your help!

Replies are listed 'Best First'.
Re: Module::Build::WithXSpp and cc flags
by karlgoethebier (Abbot) on May 21, 2015 at 17:37 UTC

      Yeah, I've read those documents. But I'm trying to modifying Slic3r, then I need compile it.

      And I'm trying to compile it from source with CitrusPerl on Mac because compiling document doen't work any more since more than a year, and does not includes Mavericks OSX. One of advantages of CitrusPerl, that does it specialy appropiate to compile Slic3r on windows, is it has their own distribution of wxWidgets and Alien::wxWidgets. In mac osx is particulary usefull because last version of cpan wxWidgets does not compile.

      Thanks anyway

Re: Module::Build::WithXSpp and cc flags
by Anonymous Monk on May 21, 2015 at 00:26 UTC
    gcc isn't clang, and clang isn't gcc -- Build.PL is like 99.99% pure-perl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1127250]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-03-28 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found