[SOLVED] Re: Can't build p5-Encode-Detect

Andrea Venturoli ml at netfence.it
Thu Aug 22 11:27:26 UTC 2013


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 at 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.


More information about the freebsd-ports mailing list