Marc Powell wrote:
-----Original Message-----
From: Mark Haney [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 10:56 AM
To: Marc Powell
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] compile 2.0.0rc2 error take 2

Marc Powell wrote:
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:nagios-users-
[EMAIL PROTECTED] On Behalf Of Mark Haney
Sent: Wednesday, January 18, 2006 10:17 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] compile 2.0.0rc2 error take 2

Okay, let's try this with another tack, does 2.0.0rc2 compile on

systems

with perl 5.6?  Or must it have 5.8?

Yes, just tested on RH7.3, Perl 5.6.1. I presume that you're passing
the
--enable-embedded-perl option to configure. Unless you'll be using a
lot
of Perl based checks there's not much benefit to enabling the
internal
interpreter. I think it's fair to say that most people don't need
it.
http://nagios.sourceforge.net/docs/2_0/embeddedperl.html

--
Marc



So how do I fix that?  I've tried removing that from the configure
option, plus tried addind --disable-embedded-perl and I still get the
same error.

Try 'make distclean' then configure again.

--
Marc


That's all well and good, but since I"m trying to build an RPM this doesn't 
really help me.  At least not while I'm building an RPM from a src.rpm.  You 
woulnd't happen to know how to make that work would you?  I have tried rpmbuild 
--clean after fixing the .sepc file, but it keeps failing on compile, even with 
embedded perl taken out of configure.  It still wants to compile the new_mini_epn.c 
file and it fails every time, with


i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -I/usr/include -DHAVE_CONFIG_H -L/usr/lib perlxsi.o mini_epn.o `perl -MExtUtils::Embed -e ccopts -e ldopts` -o mini_epn
new_mini_epn.c: In function `init_embedded_perl':
new_mini_epn.c:196: `PERL_EXIT_DESTRUCT_END' undeclared (first use in this function)
new_mini_epn.c:196: (Each undeclared identifier is reported only once
new_mini_epn.c:196: for each function it appears in.)
make: *** [new_mini_epn] Error 1


as the error. I'd be willing to bet that even if I tried to compile the source directly it would still fail with this error. Could it be my version of perl (5.6.1)?



--
Interdum feror cupidine partium magnarum Europae vincendarum

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null

Reply via email to