[Monetdb-developers] Compilation error on embeddedclient.mx
Hi All, I tried to install the new split repository on a SuSe10 system this morning. I threw away all old stuff, even the prefix. The installation of buildtools and MonetDB went well. But I got a compilation error on the make install for the mapi: Making install in tools make[4]: Entering directory `/usr/local/flokstra/software/MonetDB4/src/tools' make install-am make[5]: Entering directory `/usr/local/flokstra/software/MonetDB4/src/tools' /bin/sh ../../libtool --tag=CC --mode=compile gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I/usr/local/flokstra/include/MonetDB -I/usr/local/flokstra/include/MonetDB/common -I/usr/local/flokstra/include/MonetDB/gdk -I../monet -I./../monet -I../modules/plain -I./../modules/plain -DLIBEMBEDDEDMIL -g -O2 -Wall -W -std=c99 -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c -o libembeddedmil_la-embeddedclient.lo `test -f 'embeddedclient.c' || echo './'`embeddedclient.c gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I/usr/local/flokstra/include/MonetDB -I/usr/local/flokstra/include/MonetDB/common -I/usr/local/flokstra/include/MonetDB/gdk -I../monet -I./../monet -I../modules/plain -I./../modules/plain -DLIBEMBEDDEDMIL -g -O2 -Wall -W -std=c99 -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c embeddedclient.c -fPIC -DPIC -o .libs/libembeddedmil_la-embeddedclient.o In file included from embeddedclient.mx:69: embeddedclient.h:29:18: error: Mapi.h: No such file or directory In file included from embeddedclient.mx:69: embeddedclient.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'embedded_mil' embeddedclient.mx:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'embedded_mil' Any ideas, Jan Flokstra.
On 02-01-2007 09:32:19 +0100, Jan Flokstra wrote:
Hi All,
I tried to install the new split repository on a SuSe10 system this morning. I threw away all old stuff, even the prefix. The installation of buildtools and MonetDB went well. But I got a compilation error on the make install for the mapi:
[snip]
Any ideas,
I use this order to avoid the problem, maybe it helps for you too: 1 buildtools 2 common (MonetDB) 3 clients 4 four (MonetDB4) 5 five (Monet5) 6 sql 7 xquery (pathfinder) I think steps 1, 2 and 3 are "mandatory" and in that order, the other steps are optional. Let us know if this helps.
From Sjoerd's message (http://sourceforge.net/mailarchive/message.php?msg_id=37747207) " MonetDB4 depends on MonetDB and clients. It depends on clients only for
Hi Jan, I suspect, you did not compile & install "clients" before compiling MonetDB4 (or your <clients-prefix>/bin was not in your PATH when calling MonetDB4's configure). the embedded library and programs using that library. " For the developers at CWI: We apparently need to improve the configure scripts to (1) either fail immediately with MonetDB4/5, if "clients" (i.e., monetdb-clients-config) is not found, (2) or skip compilation of embedded (i.e., everything that requires clients) in case $have_clients/HAVE_MONETDBCLIENTS is false/not set. Likewise for all other (new/changed) dependencies after the repository split Stefan On Tue, Jan 02, 2007 at 09:32:19AM +0100, Jan Flokstra wrote:
Hi All,
I tried to install the new split repository on a SuSe10 system this morning. I threw away all old stuff, even the prefix. The installation of buildtools and MonetDB went well. But I got a compilation error on the make install for the mapi:
Making install in tools make[4]: Entering directory `/usr/local/flokstra/software/MonetDB4/src/tools' make install-am make[5]: Entering directory `/usr/local/flokstra/software/MonetDB4/src/tools' /bin/sh ../../libtool --tag=CC --mode=compile gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I/usr/local/flokstra/include/MonetDB -I/usr/local/flokstra/include/MonetDB/common -I/usr/local/flokstra/include/MonetDB/gdk -I../monet -I./../monet -I../modules/plain -I./../modules/plain -DLIBEMBEDDEDMIL -g -O2 -Wall -W -std=c99 -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c -o libembeddedmil_la-embeddedclient.lo `test -f 'embeddedclient.c' || echo './'`embeddedclient.c gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I/usr/local/flokstra/include/MonetDB -I/usr/local/flokstra/include/MonetDB/common -I/usr/local/flokstra/include/MonetDB/gdk -I../monet -I./../monet -I../modules/plain -I./../modules/plain -DLIBEMBEDDEDMIL -g -O2 -Wall -W -std=c99 -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c embeddedclient.c -fPIC -DPIC -o .libs/libembeddedmil_la-embeddedclient.o In file included from embeddedclient.mx:69: embeddedclient.h:29:18: error: Mapi.h: No such file or directory In file included from embeddedclient.mx:69: embeddedclient.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'embedded_mil' embeddedclient.mx:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'embedded_mil'
Any ideas,
Jan Flokstra.
------------------------------------------------------------------------- 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-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
On Tuesday 02 January 2007 09:49, Stefan Manegold wrote:
Hi Jan,
I suspect, you did not compile & install "clients" before compiling
This was in indeed the case. Now everything works, including pathfinder. Thanx , Jan.
MonetDB4 (or your <clients-prefix>/bin was not in your PATH when calling MonetDB4's configure).
From Sjoerd's message
(http://sourceforge.net/mailarchive/message.php?msg_id=37747207) " MonetDB4 depends on MonetDB and clients. It depends on clients only for the embedded library and programs using that library. "
For the developers at CWI:
We apparently need to improve the configure scripts to (1) either fail immediately with MonetDB4/5, if "clients" (i.e., monetdb-clients-config) is not found, (2) or skip compilation of embedded (i.e., everything that requires clients) in case $have_clients/HAVE_MONETDBCLIENTS is false/not set.
Likewise for all other (new/changed) dependencies after the repository split
Stefan
On Tue, Jan 02, 2007 at 09:32:19AM +0100, Jan Flokstra wrote:
Hi All,
I tried to install the new split repository on a SuSe10 system this morning. I threw away all old stuff, even the prefix. The installation of buildtools and MonetDB went well. But I got a compilation error on the make install for the mapi:
Making install in tools make[4]: Entering directory `/usr/local/flokstra/software/MonetDB4/src/tools' make install-am make[5]: Entering directory `/usr/local/flokstra/software/MonetDB4/src/tools' /bin/sh ../../libtool --tag=CC --mode=compile gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I/usr/local/flokstra/include/MonetDB -I/usr/local/flokstra/include/MonetDB/common -I/usr/local/flokstra/include/MonetDB/gdk -I../monet -I./../monet -I../modules/plain -I./../modules/plain -DLIBEMBEDDEDMIL -g -O2 -Wall -W -std=c99 -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c -o libembeddedmil_la-embeddedclient.lo `test -f 'embeddedclient.c' || echo './'`embeddedclient.c gcc -m64 -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I/usr/local/flokstra/include/MonetDB -I/usr/local/flokstra/include/MonetDB/common -I/usr/local/flokstra/include/MonetDB/gdk -I../monet -I./../monet -I../modules/plain -I./../modules/plain -DLIBEMBEDDEDMIL -g -O2 -Wall -W -std=c99 -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c embeddedclient.c -fPIC -DPIC -o .libs/libembeddedmil_la-embeddedclient.o In file included from embeddedclient.mx:69: embeddedclient.h:29:18: error: Mapi.h: No such file or directory In file included from embeddedclient.mx:69: embeddedclient.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'embedded_mil' embeddedclient.mx:183: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'embedded_mil'
Any ideas,
Jan Flokstra.
------------------------------------------------------------------------- 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-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
participants (3)
-
Fabian Groffen
-
Jan Flokstra
-
Stefan Manegold