Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330353 - net-analyzer/net-snmp-5.4.2.1-r4 fails to build on hppa with USE=perl
Summary: net-analyzer/net-snmp-5.4.2.1-r4 fails to build on hppa with USE=perl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-29 13:05 UTC by Guy Martin (RETIRED)
Modified: 2012-08-20 02:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build fix (net-snmp-5.4.2.1-perlcc-hppa.diff,644 bytes, patch)
2010-07-29 13:06 UTC, Guy Martin (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Martin (RETIRED) gentoo-dev 2010-07-29 13:05:04 UTC
This applies to net-snmp-5.4.3 as well.

Error message :

checking for Perl cc... configure: error: Could not determine the compiler that was used to build /usr/bin/perl. Either set the environment variable PERLPROG to a different perl binary or use --without-perl-modules to build without Perl.

The problems comes from the fact that perl -V:cc returns this :
cc='hppa2.0-unknown-linux-gnu-gcc';

The regex doesn't match the . in hppa2.0.

The attached patch solves the issue.
Comment 1 Guy Martin (RETIRED) gentoo-dev 2010-07-29 13:06:16 UTC
Created attachment 240575 [details, diff]
Build fix
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-04 01:40:23 UTC
Fixed without a revision bump in 5.4.2.1-r4.