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

SourceForge.net noreply at sourceforge.net
Wed Sep 5 23:21:24 CEST 2007


Bugs item #1789000, was opened at 2007-09-05 17:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tom Payerle (payerle)
Assigned to: Nobody/Anonymous (nobody)
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

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

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