From owner-freebsd-perl@FreeBSD.ORG Thu Aug 22 11:27:26 2013 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3133A848; Thu, 22 Aug 2013 11:27:26 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id A88762437; Thu, 22 Aug 2013 11:27:25 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id DEE5F669D73; Thu, 22 Aug 2013 13:27:17 +0200 (CEST) Received: from soth.ventu (adsl-ull-51-185.41-151.net24.it [151.41.185.51]) (authenticated bits=0) by ns2.biolchim.it (8.14.7/8.14.7) with ESMTP id r7MBQtsb009029 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 22 Aug 2013 13:27:13 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: ns2.biolchim.it: Host adsl-ull-51-185.41-151.net24.it [151.41.185.51] claimed to be soth.ventu Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.7/8.14.5) with ESMTP id r7MBQi80009516; Thu, 22 Aug 2013 13:26:47 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <5215F574.9050001@netfence.it> Date: Thu, 22 Aug 2013 13:26:44 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130818 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: [SOLVED] Re: Can't build p5-Encode-Detect References: <52153ABD.7050500@netfence.it> In-Reply-To: <52153ABD.7050500@netfence.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ns2.biolchim.it [192.168.2.203]); Thu, 22 Aug 2013 13:27:13 +0200 (CEST) X-Scanned-By: MIMEDefang 2.74 Cc: 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, 22 Aug 2013 11:27:26 -0000 On 08/22/13 00:10, Andrea Venturoli wrote: > Hello. > > I'm deploying a fresh box and I'm stuck on the following. > >> # cd /usr/ports/converters/p5-Encode-Detect >> # make >> ===> Fetching all distfiles required by p5-Encode-Detect-1.01 for >> building >> ===> Extracting for p5-Encode-Detect-1.01 >> => SHA256 Checksum OK for Encode-Detect-1.01.tar.gz. >> ===> Patching for p5-Encode-Detect-1.01 >> ===> p5-Encode-Detect-1.01 depends on package: >> p5-ExtUtils-CBuilder>=0 - found >> ===> p5-Encode-Detect-1.01 depends on file: >> /usr/local/lib/perl5/site_perl/5.14/Module/Build.pm - found >> ===> p5-Encode-Detect-1.01 depends on file: >> /usr/local/bin/perl5.14.4 - found >> ===> Configuring for p5-Encode-Detect-1.01 >> Warning: ExtUtils::CBuilder not installed or no compiler detected >> Proceeding with configuration, but compilation may fail during Build >> >> Created MYMETA.yml and MYMETA.json >> Creating new 'Build' script for 'Encode-Detect' version '1.01' >> ===> Building for p5-Encode-Detect-1.01 >> Building Encode-Detect >> Error: no compiler detected to compile 'src/LangBulgarianModel.cpp'. >> Aborting >> *** Error code 45 >> >> Stop in /usr/ports/converters/p5-Encode-Detect. > > > > Of course p5-ExtUtils-CBuilder is there and it doesn't even give a > warning when I build it. > >> # pkg_info|grep p5-Ext >> p5-ExtUtils-CBuilder-0.2802.05,1 Compile and link C code for Perl modules >> # perl -v >> >> This is perl 5, version 14, subversion 4 (v5.14.4) built for >> amd64-freebsd > > ... >> # uname -a >> FreeBSD xxxxxxxx.xxxxx 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 >> 21:23:18 UTC 2012 >> root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > > > I tried all the suggestions I could find on the web (including > installing p5-IPC-Cmd and rebuilding), but none worked. > > > > Any help? > > bye & Thanks > av. I'll answer myself, hoping this message will live to help others. The problem was I had /usr/ports mounted through NFS; after I copied it locally, it was gone. I just wish the error message would be clearer :) bye av.