nasty port bug

Hiten Pandya hmp at
Thu Nov 27 09:19:25 PST 2003

Erik Paulsen Skaalerud wrote:
I am trying to compile net/nagios, wich exits with a pretty nasty output. I
am not sure where I should debug this either..
Any ideas?
	You could try the following patch, but I am not sure if it's
	gonna work for sure (i.e. apply).  I haven't got my machine
	configured with ports so I can't test it.
	Also, if the above patch doesn't work, you might want to
	reverse diff rev. 1.29 and 1.30 of ports/net/nagios/Makefile
	and patch -R that.  We should probably get the libgnugetopt
	into base.

	Hiten Pandya (hmp at xxxxxxxxxxxxx)

[root at dragon:/usr/ports/net/nagios]$ make
===>  Extracting for nagios-1.1_3
Checksum OK for nagios-1.1.tar.gz.
===>  Patching for nagios-1.1_3
===>  Applying FreeBSD patches for nagios-1.1_3
===>   nagios-1.1_3 depends on shared library: gd.4 - found
===>   nagios-1.1_3 depends on shared library: gnugetopt.1 - found
===>  Configuring for nagios-1.1_3
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g
checking for gcc... cc
checking whether the C compiler
(cc -I/usr/local/include -I/usr/local/include -I/usr/local/include -O -pipe 
 -I/usr/local/include  -L/usr/local/lib -lgnugetopt) works... no

More information about the Bugs mailing list