[MonetDB-users] embedded SQL server under Windows
Hi, I've installed MonetDB/SQL/32bit under Windows, but I can't find DLL or LIB for embedded server. Although, MonetDB documentation mentioned embedded libraries for UNIX-like system: http://monetdb.cwi.nl/projects/monetdb/MonetDB/Documentation/A-Simple-Exampl... But, what about Windows? Can I use MonetDB under Windows in embedded mode?
Grigorio V. Moshkin wrote:
Hi,
I've installed MonetDB/SQL/32bit under Windows, but I can't find DLL or LIB for embedded server. Although, MonetDB documentation mentioned embedded libraries for UNIX-like system:
http://monetdb.cwi.nl/projects/monetdb/MonetDB/Documentation/A-Simple-Exampl...
But, what about Windows? Can I use MonetDB under Windows in embedded mode?
Dear Grigorio Thank you for the interest in MonetDB. Unfortunately, time did not permit us so far to make a library for the windows platform.
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
On Mon, Jan 14, 2008 at 05:41:52PM +0100, Martin Kersten wrote:
Grigorio V. Moshkin wrote:
Hi,
I've installed MonetDB/SQL/32bit under Windows, but I can't find DLL or LIB for embedded server. Although, MonetDB documentation mentioned embedded libraries for UNIX-like system:
http://monetdb.cwi.nl/projects/monetdb/MonetDB/Documentation/A-Simple-Exampl...
But, what about Windows? Can I use MonetDB under Windows in embedded mode?
Dear Grigorio Thank you for the interest in MonetDB. Unfortunately, time did not permit us so far to make a library for the windows platform.
Just for the records: the respective libraries are built on Windows, too, with nightly testing. However, they have not yet been included in any of the released Windows installers. We plan to include the with the following release. Stefan ps: No, there are no nightly built installers for Windows --- yet ... -- | 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 |
Just for the records: the respective libraries are built on Windows, too, with nightly testing. However, they have not yet been included in any of the released Windows installers.
We plan to include the with the following release.
Stefan
Thank you very much, Stefan. I asked for that because I can not build MonetDB from the sources on Windows. I've read build instructions several times, but I don't understand them. Although, I've successfully built other databases, such as MySQL, BerkeleyDB, Firebird, etc. Maybe, MonetDB Windows-build instructions are too heavy for my understanding. Maybe they are incomplete... Can you simply email me the once-built embedded libraries for Windows, or provide an internet link for me to download them myself? Maybe they are in MonetDB cvs tree?
Grigorio V. Moshkin wrote:
Just for the records: the respective libraries are built on Windows, too, with nightly testing. However, they have not yet been included in any of the released Windows installers.
We plan to include the with the following release.
Stefan
Thank you very much, Stefan. I asked for that because I can not build MonetDB from the sources on Windows. I've read build instructions several times, but I don't understand them. Although, I've successfully built other databases, such as MySQL, BerkeleyDB, Firebird, etc. Maybe, MonetDB Windows-build instructions are too heavy for my understanding. Maybe they are incomplete... Well, we can improve them if you give us some feedback. Could said where did you get problems?
In setting the environment for compilation? Or at the packages compilation? As you know, you should install buildtools common (package name is MonetDB) clients MonetDB5 SQL (I am assuming that you are interested on MonetDB5-SQL). Which of the previous packages do you have already installed? Where the compilation stopped and what was the error? Regards, Romulo
Can you simply email me the once-built embedded libraries for Windows, or provide an internet link for me to download them myself? Maybe they are in MonetDB cvs tree?
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
On Mon, Jan 14, 2008 at 08:03:16PM +0300, Grigorio V. Moshkin wrote:
Just for the records: the respective libraries are built on Windows, too, with nightly testing. However, they have not yet been included in any of the released Windows installers.
We plan to include the with the following release.
Stefan
Thank you very much, Stefan. I asked for that because I can not build MonetDB from the sources on Windows. I've read build instructions several times, but I don't understand them. Although, I've successfully built other databases, such as MySQL, BerkeleyDB, Firebird, etc. Maybe, MonetDB Windows-build instructions are too heavy for my understanding. Maybe they are incomplete...
As Romulo already pointed out, we can only (try to) help once you share your problems (in detail) with us.
Can you simply email me the once-built embedded libraries for Windows, or provide an internet link for me to download them myself?
You might (depending on whether/how well nightly bulding did work) find them in "different flavors" at http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedxq.{dll,lib} http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.{Int,Mic}.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedsql5.{dll,lib} http://monetdb.cwi.nl/testing/projects/monetdb/Current/MonetDB5/.{Int,Mic}.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedmal.{dll,lib} ("{A,B}" lists alternatives; "Int" indicates Intel compiler, "Mic" indicates Microsoft Visual Studio compiler) Feel free to pick which every you need --- I have no idea, though, whether these once will work for you ...
Maybe they are in MonetDB cvs tree?
Nope. The CVS tree obviously only contains sources, but surely no binaries. Stefan -- | 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 |
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedxq.{dll,lib} http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.{Int,Mic}.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedsql5.{dll,lib} http://monetdb.cwi.nl/testing/projects/monetdb/Current/MonetDB5/.{Int,Mic}.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedmal.{dll,lib}
("{A,B}" lists alternatives; "Int" indicates Intel compiler, "Mic" indicates Microsoft Visual Studio compiler) Feel free to pick which every you need --- I have no idea, though, whether these once will work for you ... <<<<< Do these paths work still? Or is there a new path where the dll's for Windows is available? -- View this message in context: http://www.nabble.com/embedded-SQL-server-under-Windows-tp14804094p15174025.... Sent from the monetdb-users mailing list archive at Nabble.com.
Stefan Manegold wrote:
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedxq.{dll,lib} http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.{Int,Mic}.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedsql5.{dll,lib} http://monetdb.cwi.nl/testing/projects/monetdb/Current/MonetDB5/.{Int,Mic}.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedmal.{dll,lib}
("{A,B}" lists alternatives; "Int" indicates Intel compiler, "Mic" indicates Microsoft Visual Studio compiler)
Feel free to pick which every you need --- I have no idea, though, whether these once will work for you ...
Do these paths still work? I am looking for using the MonetDB as a Dll on win32. Thanks, Yuva -- View this message in context: http://www.nabble.com/embedded-SQL-server-under-Windows-tp14804094p15188768.... Sent from the monetdb-users mailing list archive at Nabble.com.
Yuvaraj A R wrote:
Stefan Manegold wrote:
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedxq.{dll,lib} http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.{Int,Mic}.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedsql5.{dll,lib} http://monetdb.cwi.nl/testing/projects/monetdb/Current/MonetDB5/.{Int,Mic}.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedmal.{dll,lib}
("{A,B}" lists alternatives; "Int" indicates Intel compiler, "Mic" indicates Microsoft Visual Studio compiler)
Feel free to pick which every you need --- I have no idea, though, whether these once will work for you ...
Do these paths still work? I am looking for using the MonetDB as a Dll on win32. Thanks, Yuva
See the latest message on this issue http://sourceforge.net/mailarchive/message.php?msg_id=478F83CD.8090403%40gar...
On Wed, Jan 30, 2008 at 10:31:02AM -0800, Yuvaraj A R wrote:
Stefan Manegold wrote:
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedxq.{dll,lib} http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.{Int,Mic}.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedsql5.{dll,lib} http://monetdb.cwi.nl/testing/projects/monetdb/Current/MonetDB5/.{Int,Mic}.{32.32.d-Windows5.1,64.64.d-Windows5.2}/lib/libembeddedmal.{dll,lib}
("{A,B}" lists alternatives; "Int" indicates Intel compiler, "Mic" indicates Microsoft Visual Studio compiler)
Feel free to pick which every you need --- I have no idea, though, whether these once will work for you ...
Do these paths still work?
They do --- provided the nightly build was successful; check http://monetdb.cwi.nl/Development/TestWeb/Current/sql/ and in particuar (e.g.) http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.Makes3/index_sho... or http://monetdb.cwi.nl/testing/projects/monetdb/Current/sql/.Makes3/index.htm... for the latest status info. Stefan
I am looking for using the MonetDB as a Dll on win32. Thanks, Yuva
-- | 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 |
Thanks. I have done as suggested in the referred posting[1]. I see that in the docs [2] there is an Mbedded Example. To start with I would like to make that work. For this I need the matching header files. Where should I pick them from? I could not find them in the installation package. Environment : VC++ 2005 Express Edition. [1] http://sourceforge.net/mailarchive/message.php?msg_id=478F83CD.8090403%40gar... [2] http://monetdb.cwi.nl/projects/monetdb/MonetDB/Documentation/Embedded-Server...
Yuvaraj Athur Raghuvir wrote:
Thanks. I have done as suggested in the referred posting[1].
I see that in the docs [2] there is an Mbedded Example. To start with I would like to make that work. For this I need the matching header files. Where should I pick them from? I could not find them in the installation package. Oh, sorry, I see you refer to my post [1]. I forgot to attach my modified header, Mapi.h, that I made by hand from original Mapi.h and embeddedclient.h. My variant of Mapi.h is "all you need" to include to use monetdb embedded. See attach.
#ifndef _MAPI_H_INCLUDED
#define _MAPI_H_INCLUDED
#include
Thanks Girorio. With the header as described, I did the following simplifications to the code:
opt* set = 0; int setlen = 0; setlen = mo_builtin_settings (&set); char* monetdb_prefix = "E:\\08.Utils\\monetdb01\\monetdb01\\lib"; setlen = mo_add_option (&set, setlen, opt_config, "prefix", monetdb_prefix); setlen = mo_add_option (&set, setlen, opt_config, "exec_prefix", monetdb_prefix); char* monet_mod_lib = "E:\\08.Utils\\monetdb01\\monetdb01\\lib\\monetdb5"; char* monet_mod_path = "E:\\08.Utils\\monetdb01\\monetdb01\\lib;C:\\03.impl\\monetdb01\\monetdb01\\lib\\monetdb5;"; setlen = mo_add_option (&set, setlen, opt_config, "monet_mod_path", monet_mod_path); char* mal_init = "E:\\08.Utils\\monetdb01\\monetdb01\\lib\\monetdb5\\mal_init.mal"; setlen = mo_add_option (&set, setlen, opt_config, "mal_init", mal_init); char* sql_init = "E:\\08.Utils\\monetdb01\\monetdb01\\lib\\monetdb5\\sql.mal"; setlen = mo_add_option (&set, setlen, opt_config, "sql_init", sql_init); setlen = mo_system_config (&set, setlen); dbh = embedded_sql (set, setlen);
<<<<< On the execution of the last line, I see the execution window with the following error: !MALException:malInclude:could not open file: mal_init !MALException:malInclude:could not open file: sql !SyntaxException:parseError:in := "00C034D0":streams; !SyntaxException:parseError: ^Type identifier expected !SyntaxException:parseError:out := "00C03680":streams; !SyntaxException:parseError:^operator expected Any clues on what I am missing? Once all of this works, I would continue with the Mbedded example in the manual. Regards, Yuva
participants (6)
-
Grigorio V. Moshkin
-
Martin Kersten
-
Romulo Goncalves
-
Stefan Manegold
-
Yuvaraj A R
-
Yuvaraj Athur Raghuvir