Date: Thu, 24 Oct 2013 23:03:06 +0400 From: Andrej Zverev <andrej.zverev@gmail.com> To: Mike Jakubik <mike.jakubik@intertainservices.com> Cc: Sunpoet Hsieh <sunpoet@freebsd.org>, "perl@FreeBSD.org" <perl@freebsd.org> Subject: Re: FreeBSD Port: devel/p5-Mouse Message-ID: <CAD5bB%2BhopQ9rvCv2JQ3ZQT8sDNnBijxxcc0mxDjQNNRh=drLUg@mail.gmail.com> In-Reply-To: <52696698.6000801@intertainservices.com> References: <52682816.9050207@intertainservices.com> <CAD5bB%2BibqSc_2kT0KKMeX7GNNjA2QvK2QyW33L67Lh0s%2BXV9yg@mail.gmail.com> <52696333.4050301@intertainservices.com> <52696698.6000801@intertainservices.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, yes. I just wanted to confirm what you run exactly into this situation. And your solution here I think best in this case. if your perl was built with gcc then you almost certainly want to use gcc to compile extension and dynamic libraries (.so files) should work anyway but there will be chance what different compilers will have different symbols and use different C runtime lib. I'm not sure about this on 100% On Thu, Oct 24, 2013 at 10:27 PM, Mike Jakubik <mike.jakubik@intertainservices.com> wrote: > Okay I found the problem. This is another example of a port taking its > compiler flags from another program instead of the actual environment. At > one point i used gcc48 and compiled perl with it, this is no longer the case > and i switched to clang. Recompiling perl with clang allows me to compile > this port. > > Thanks. > > > On 10/24/13 14:13, Mike Jakubik wrote: >> >> Sure, the output is quite large however so you can download it with this >> link. >> >> >> http://cloud.intertainservices.com/public.php?service=files&t=8c0371b9294d2f3ad7abab8966c01aec >> >> Thanks. >> >> On 10/24/13 13:05, Andrej Zverev wrote: >>> >>> Can you please provide output of command $ perl -MConfig -E 'say "$_ >>> -- $Config{$_}" for (keys %Config)' >>> >>> On Wed, Oct 23, 2013 at 11:48 PM, Mike Jakubik >>> <mike.jakubik@intertainservices.com> wrote: >>>> >>>> Hi, >>>> >>>> I am unable to compile this port. I believe the expectation of gcc is >>>> hard >>>> coded somewhere here. >>>> >>>> # make >>>> ===> License ART10 GPLv1 accepted by the user >>>> ===> Fetching all distfiles required by p5-Mouse-1.13,1 for building >>>> ===> Extracting for p5-Mouse-1.13,1 >>>> => SHA256 Checksum OK for Mouse-1.13.tar.gz. >>>> ===> Patching for p5-Mouse-1.13,1 >>>> ===> p5-Mouse-1.13,1 depends on file: /usr/local/bin/perl5.14.4 - >>>> found >>>> ===> Configuring for p5-Mouse-1.13,1 >>>> Mouse configured with XS. >>>> This distribution requires a C compiler, but it's not available, >>>> stopped. >>>> Can't open Makefile: No such file or directory. >>>> ===> Building for p5-Mouse-1.13,1 >>>> make: cannot open Makefile. >>>> *** [do-build] Error code 1 >>>> >>>> Stop in /usr/ports/devel/p5-Mouse. >>>> >>>> # uname -a >>>> FreeBSD illidan.local 9.2-STABLE FreeBSD 9.2-STABLE #0 r257004: Wed Oct >>>> 23 >>>> 15:16:12 EDT 2013 >>>> >>>> # cc -v >>>> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 >>>> Target: x86_64-unknown-freebsd9.2 >>>> Thread model: posix >>>> >>>> # gcc -v >>>> -bash: gcc: command not found >>>> >>>> Thanks. >>>> _______________________________________________ >>>> freebsd-perl@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-perl >>>> To unsubscribe, send any mail to "freebsd-perl-unsubscribe@freebsd.org" >> >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD5bB%2BhopQ9rvCv2JQ3ZQT8sDNnBijxxcc0mxDjQNNRh=drLUg>