You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run into this sort of problem several times. gpsee_config.h is thought to
be in some other directory by depend.mk sometimes and upon make install can't
be found there. "rm depend.mk ; make depend.mk" remedies that problem, but i'd
like to figure out why i keep running into it and how to fix it.
hdon@hdon[1]~/cvs/surelynx/src/gpsee$ make install
* Installing JavaScript module components
cp -f modules/binary/binary.js modules/fs-base/fs-base.js modules/gffi/gffi.js
modules/net/net.js modules/shellalike/shellalike.js modules/util/util.js
modules/xhr/xhr.js surelynx_modules/surelog/surelog.js
/var/surelynx/libexec/gpsee
make: *** No rule to make target
`/var/surelynx/include/apr_surelynx/gpsee_config.h', needed by
`gpsee_precompiler.o'. Stop.
hdon@hdon[1]~/cvs/surelynx/src/gpsee$ ls gpsee_config.h
gpsee_config.h
hdon@hdon[1]~/cvs/surelynx/src/gpsee$ make depend.mk
make: `depend.mk' is up to date.
hdon@hdon[1]~/cvs/surelynx/src/gpsee$ rm depend.mk
hdon@hdon[1]~/cvs/surelynx/src/gpsee$ make depend.mk
* Building dependencies for: gpsee.c gpsee_bytethings.c gpsee_compile.c gpsee_context_private.c gpsee_datastores.c gpsee_flock.c gpsee_gccallbacks.c gpsee_hookable_io.c gpsee_lock.c gpsee_modules.c gpsee_monitors.c gpsee_p2open.c gpsee_precompiler.c gpsee_realms.c gpsee_surelynx.c gpsee_util.c gpsee_xdrfile.c gsr.c minimal.c
make: `depend.mk' is up to date.
Original issue reported on code.google.com by donny.vi...@gmail.com on 23 Jul 2010 at 8:40
The text was updated successfully, but these errors were encountered:
Does this also happen with non-SureLynx builds?
I know (approximately) what this is, though.
What happens is that when you build GPSEE, makedepend runs. (makedepend is gcc
-M in GPSEE build, but it basically works the same as the traditional
makedepend).
Okay, so makedepend runs, and automatically generates your dependencies.
Rather than dump them at the end of the makefile as is tradition (ugh), I put
them in depend.mk.
Then, some how, your /var/surelynx/include/apr_surelynx directory vanishes but
your depend.mk file did not get blown away.
*clue* - were you building on my zone? I blew away my includes on Friday as a
debug step while working on ./configure.
There's an interesting point in this discovery, though, it means that the
dependency generator thinks $(INCLUDES)/gpsee_config.h has a higher precedence
than $(GPSEE_SRC)/gpsee_config.h. That's probably a subtle problem we should
look at.
Original comment by wes%page...@gtempaccount.com on 26 Jul 2010 at 12:43
Original issue reported on code.google.com by
donny.vi...@gmail.com
on 23 Jul 2010 at 8:40The text was updated successfully, but these errors were encountered: