Skip Menu |

This queue is for tickets about the Alien-IUP CPAN distribution.

Report information
The Basics
Id: 94615
Status: resolved
Priority: 0/
Queue: Alien-IUP

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.601
Fixed in: (no value)



Subject: Don't hardcode gcc/g++
FreeBSD 10 does not come with gcc anymore, but instead ships clang. It seems that Alien-IUP hardcodes gcc/g++ calls, which fails on clang-based systems. See http://www.cpantesters.org/cpan/report/4d28fe00-bee7-11e3-9d19-f370e0bfc7aa for a sample report. Probably it's better to use cc/c++ instead. This works with both gcc and clang. Regards, Slaven
Subject: Re: [rt.cpan.org #94615] Don't hardcode gcc/g++
Date: Fri, 11 Apr 2014 15:35:09 +0200
To: bug-Alien-IUP [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
I see the trouble however this is part of the original makefiles of iup/im/cd packages. What I can do is something like: if ($^O eq 'freebsd' && $Config{cc} eq 'cc') { ... replace s/gcc/cc/ in all *.mak makefiles ... replace s/g++/c++/ in all *.mak makefiles } is this what you mean? -- kmx
On 2014-04-11 09:35:23, kmx@volny.cz wrote: Show quoted text
> I see the trouble however this is part of the original makefiles of > iup/im/cd packages. > > What I can do is something like: > > if ($^O eq 'freebsd' && $Config{cc} eq 'cc') { > ... replace s/gcc/cc/ in all *.mak makefiles > ... replace s/g++/c++/ in all *.mak makefiles > } > > is this what you mean? >
This could work. Maybe you can even remove the $^O condition, or be prepared that other operating systems could switch from gcc to clang, too. Regards, Slaven
Could you please test Alien-IUP-0.700_3 ?
On 2014-08-03 16:44:20, KMX wrote: Show quoted text
> Could you please test Alien-IUP-0.700_3 ?
Sorry, I failed to give a response on this. Yes, looking at http://matrix.cpantesters.org/?dist=Alien-IUP%200.700_5;os=freebsd;reports=1#sl=2,1 it seems that there are successful builds for freebsd 10.