[Nagiosplug-devel] [ nagiosplug-Bugs-1789000 ] Minor VPATH prob in plugins-root MF

SourceForge.net noreply at sourceforge.net
Thu Dec 13 23:23:44 CET 2007


Bugs item #1789000, was opened at 2007-09-05 22:21
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1789000&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Tom Payerle (payerle)
>Assigned to: Ton Voon (tonvoon)
Summary: Minor VPATH prob in plugins-root MF

Initial Comment:
When compiling in a subdirectory, e.g.
i386_rel30 of main plugins root directory, get the
following error after running
../configure 
make
[ eliding much successful compilations ... ]
Making all in plugins-root
make[2]: Entering directory `[...]/Nagios/src/plugins/nagios-plugins-1.4.9/i386_rel30/plugins-root'
make[2]: *** No rule to make target `check_dhcp.c', needed by `check_dhcp.o'.  Stop.

The problem appears to be in Makefile in plugins-root,
changing it to include $(srcdir) in VPATH, e.g.
133c133
< VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t
---
> VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t $(srcdir)

seems to fix the problem

----------------------------------------------------------------------

>Comment By: Ton Voon (tonvoon)
Date: 2007-12-13 22:23

Message:
Logged In: YES 
user_id=664364
Originator: NO

Tom,

Thanks for the report. This is fixed in SVN now.

Ton

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1789000&group_id=29880




More information about the Devel mailing list