Building RPMs with embedded Perl

"Neil Davidson" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Am a bit of a novice to this, but perhaps someone here has some
experience in getting Net-SNMP installed on Fedora Core 4 with

embedded perl support.

 

(It looks like embedded perl is disabled by default.)

 

The spec file contains the following lines:

 

 

%{?_with_embedded_perl:%define embedded_perl 1}

%{!?_with_embedded_perl:%define embedded_perl 0}

 

I interpret these as suggesting, that I can build the rpm with embedded
perl, though some configuration option supplied on the

 

rpmbuild command line.

 

Have tried the following:

 

rpmbuild -ba net-snmp.spec --with 'embedded_perl'

rpmbuild -ba net-snmp.spec --define '_enable_embedded_perl 1'

rpmbuild -ba net-snmp.spec --define '_enable_embedded_perl=yes'

rpmbuild -ba net-snmp.spec --define '_enable_embedded_perl=1'

 

all without much luck.

 

I'm probably being quite ignorant, but can anyone point me in the
correct direction?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.