> -----Original Message----- > From: Mark Haney [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 18, 2006 12:43 PM > To: Marc Powell > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] compile 2.0.0rc2 error take 2 > > Marc Powell wrote: > > > >>> > >> 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.
> > 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 No. My understanding is that when rebuilding an RPM, the BUILD directory for that RPM is removed and recreated thereby eliminating the reason I suggested the 'make distclean' (to remove temporary compile files). > 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 > At the point it failed I would inspect the spec file to see if you removed all references to --enable-embedded-perl. Also remove any references to --with-perlcache. If you're using Dag's RPM it's located in this section -- %configure \ --datadir="%{_datadir}/nagios" \ --libexecdir="%{_libdir}/nagios/plugins" \ --localstatedir="%{_localstatedir}/log/nagios" \ --sbindir="%{_libdir}/nagios/cgi" \ --sysconfdir="%{_sysconfdir}/nagios" \ --with-cgiurl="/nagios/cgi-bin" \ --with-command-user="apache" \ --with-command-group="apache" \ --with-gd-lib="%{_libdir}" \ --with-gd-inc="%{_includedir}" \ --with-init-dir="%{_initrddir}" \ --with-htmurl="/nagios" \ --with-lockfile="%{_localstatedir}/run/nagios.pid" \ --with-mail="/bin/mail" \ --with-nagios-user="nagios" \ --with-nagios-group="nagios" \ ******* --enable-embedded-perl \ ******* --with-perlcache \ --with-template-objects \ --with-template-extinfo \ --enable-event-broker I would then issue the command 'rpmbuild -bb nagios.spc' and see if it worked. I've tested it and the ePN is _not_ built into my rpm. > 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)? I don't know. Don't bet, try it and see. It would only take a few minutes and you'll learn a lot more about the software. -- Marc ------------------------------------------------------- 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&kid3432&bid#0486&dat1642 _______________________________________________ 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