[MonetDB-users] ../conf/*.mk: No such file or directory
Hello, I did a fresh checkout of the current branch, and tried to build it. After having compiled and installed buildtools, 'make install' of MonetDB gives the following error: [andorea:/ufs/zhang/current/MonetDB/build-debug] $ make install Makefile:860: ../conf/*.mk: No such file or directory make: *** No rule to make target `../conf/*.mk'. Stop. I have seen this error before, but I can't rememeber how I solved it. Does someone have an idea? Thanks a lot! Jennie
On 03/02/2007 05:50 PM, Ying Zhang wrote:
Hello,
I did a fresh checkout of the current branch, and tried to build it. After having compiled and installed buildtools, 'make install' of MonetDB gives the following error:
[andorea:/ufs/zhang/current/MonetDB/build-debug] $ make install Makefile:860: ../conf/*.mk: No such file or directory make: *** No rule to make target `../conf/*.mk'. Stop.
I have seen this error before, but I can't rememeber how I solved it. Does someone have an idea?
Yes, do a proper clean build. It looks like perhaps you used the stable branch buildtools for a development branch build. A stable branch autogen generates these lines in a Makefile.am: include $(MONETDB_CONFDIR)/*.mk include $(top_builddir)/*.mk whereas a development branch autogen generates these lines: if HAVE_BUILDTOOLS include $(BUILDTOOLS_CONFDIR)/rules.mk endif if HAVE_EXTRA_MK include $(top_builddir)/extra.mk endif include $(top_builddir)/rpm.mk As you can see, in the latter there is no *.mk whereas in the former there is. -- Sjoerd Mullender
On Fri, Mar 02, 2007 at 06:04:37PM +0100, Sjoerd Mullender wrote:
On 03/02/2007 05:50 PM, Ying Zhang wrote:
Hello,
I did a fresh checkout of the current branch, and tried to build it. After having compiled and installed buildtools, 'make install' of MonetDB gives the following error:
[andorea:/ufs/zhang/current/MonetDB/build-debug] $ make install Makefile:860: ../conf/*.mk: No such file or directory make: *** No rule to make target `../conf/*.mk'. Stop.
I have seen this error before, but I can't rememeber how I solved it. Does someone have an idea?
Yes, do a proper clean build. It looks like perhaps you used the stable branch buildtools for a development branch build.
Thanks Sjoerd! Your explanation gives me an idea. The build is clean, but the shell isn't. The shell has been used for stable branch, so some of the env. variables have been set. Using a clean shell helps. Jennie
A stable branch autogen generates these lines in a Makefile.am: include $(MONETDB_CONFDIR)/*.mk include $(top_builddir)/*.mk
whereas a development branch autogen generates these lines: if HAVE_BUILDTOOLS include $(BUILDTOOLS_CONFDIR)/rules.mk endif if HAVE_EXTRA_MK include $(top_builddir)/extra.mk endif include $(top_builddir)/rpm.mk
As you can see, in the latter there is no *.mk whereas in the former there is.
-- Sjoerd Mullender
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
participants (2)
-
Sjoerd Mullender
-
Ying Zhang