From owner-freebsd-perl@FreeBSD.ORG Thu Oct 24 19:03:07 2013 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A51D3E3F; Thu, 24 Oct 2013 19:03:07 +0000 (UTC) (envelope-from andrej.zverev@gmail.com) Received: from mail-oa0-x229.google.com (mail-oa0-x229.google.com [IPv6:2607:f8b0:4003:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 627042375; Thu, 24 Oct 2013 19:03:07 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id o9so2894947oag.14 for ; Thu, 24 Oct 2013 12:03:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KU+etF7ioG3wM4DsgyScDXMgiNMlOS7QQlHWVUx4kXg=; b=KrHDmWgs1cd574oUnsY1q9yLBhTAbL49vv34Ik/vQvbTouYaY+6FOaEkJddTD3fen+ q/bnx/G10tX9nGA0mx19QSyBEBRNLN9zer3alMBKgEXnnnDvvNeWb4pY5lCCWwSuJAFU HTMTds2agP1UVJWmySLGqKOKZlnF3cyov5i8sWNCDfdmJUs3ceNQGX8ObdMnrZ8rIBMX C7P0QZ1S/yh7hR7ki465Orv+4g6cWM40Bw5RfJ1w6sNMKd63oislF8ekqT4/BqxLo4/R YXh1MRSj42CntrzCr5a6xavlYLALEXPwG5AQGJu1dZ0US1eEGy7M3acZaTpElfFCKyvl 4YnQ== MIME-Version: 1.0 X-Received: by 10.182.204.41 with SMTP id kv9mr1870951obc.78.1382641386608; Thu, 24 Oct 2013 12:03:06 -0700 (PDT) Received: by 10.182.230.131 with HTTP; Thu, 24 Oct 2013 12:03:06 -0700 (PDT) In-Reply-To: <52696698.6000801@intertainservices.com> References: <52682816.9050207@intertainservices.com> <52696333.4050301@intertainservices.com> <52696698.6000801@intertainservices.com> Date: Thu, 24 Oct 2013 23:03:06 +0400 Message-ID: Subject: Re: FreeBSD Port: devel/p5-Mouse From: Andrej Zverev To: Mike Jakubik Content-Type: text/plain; charset=ISO-8859-1 Cc: Sunpoet Hsieh , "perl@FreeBSD.org" X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2013 19:03:07 -0000 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 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 >>> 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" >> >> >