[Monetdb-developers] Compilation error on embeddedclient.mx

Stefan Manegold Stefan.Manegold at cwi.nl
Tue Jan 2 09:49:39 CET 2007


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).

>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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
> 

-- 
| Dr. Stefan Manegold | mailto:Stefan.Manegold at 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       |




More information about the developers-list mailing list