Updated RPM for Nagios 1.0

Karl DeBisschop karl at debisschop.net
Sun Jun 1 19:34:18 CEST 2003


On Sat, 2003-05-31 at 12:35, Ethan Galstad wrote:
> On 31 May 2003 at 23:41, Karl DeBisschop wrote:
> 
> > On Fri, 2003-05-30 at 15:08, Ethan Galstad wrote:
> > 
> > > I was just about to release 1.1 on my day off, so this is good 
> > > timing.  I forgot to apply the cmd CGI patch to the 1.x branch, but 
> > > will do so ASAP.  FYI, the stable branch of CVS for 1.x is called 
> > > nagios-1-x-bugfixes.  
> > > 
> > > I believe the Postgres timestamp patch (submitted by jbearce on Nov. 
> > > 6th) was already applied to 1.0, although there might have been a 
> > > later patch that I missed.  Other than that, you got all the patches 
> > > since 1.0 (there weren't many). 
> > 
> > The spec file has been patched in CVS. 
> > 
> > I am getting an error in the build, however:
> > 
> > perl -MExtUtils::Embed -e xsinit
> > gcc -O3 -mcpu=pentium -I/usr/include -DHAVE_CONFIG_H -c perlxsi.c  `perl
> > -MExtUtils::Embed -e ccopts`
> > gcc -O3 -mcpu=pentium -I/usr/include -DHAVE_CONFIG_H -c mini_epn.c `perl
> > -MExtUtils::Embed -e ccopts`
> > mini_epn.c: In function `main':
> > mini_epn.c:116: `my_perl' undeclared (first use in this function)
> > mini_epn.c:116: (Each undeclared identifier is reported only once
> > mini_epn.c:116: for each function it appears in.)
> > make: *** [mini_epn] Error 1
> > error: Bad exit status from /tmp/rpm-tmp.53847 (%build)
> > 
> > This is on RH 9. I'll look into it, but if anyone recognizes the
> > problem, I'm not averse to hints.
> 
> 
> Are you sure you have an up-to-date version of mini_epn.c?  I can't 
> find any reference to "my_perl" in the current code.

It is up-to-date, and neither can I find it in the code. I assume it is
geneterated by something like `perl -MExtUtils::Embed -e xsinit`.

I think my solution will be to change the makefile so mini-epn is not
generated unless you do a embedded perl build, which is more correct
anyway. I will do that later today, if the kids cooperate.

Then, we'll just have the caveat thet the update won't build embedded
perl for RH9, which I think is the case anyway.

Input from Stanley might help here too, as I do not use embedded perl
yet (although I have great hope for it in the future).

--
Karl



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5




More information about the Developers mailing list