Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2013 13:26:44 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-ports@freebsd.org
Cc:        perl@freebsd.org
Subject:   [SOLVED] Re: Can't build p5-Encode-Detect
Message-ID:  <5215F574.9050001@netfence.it>
In-Reply-To: <52153ABD.7050500@netfence.it>
References:  <52153ABD.7050500@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5215F574.9050001>