
To sum it up.. add #include <pthread.h> #include <pthread_np.h> in MonetDB-11.3.1/tools/merovingian/daemon/merovingian.h file add #include <sys/uio.h> in MonetDB-11.3.1/tools/merovingian/daemon/[client.c|proxy.c] files in MonetDB-11.3.1/clients/mapilib/mapic file and in MonetDB-11.3.1/monetdb5/modules/mal/mal_mapi.mx file use gmake instead of make use bison instead of yacc And all compiles well :) BUT then: $ ./monetdbd $ ./monetdb create mydb created database in maintenance mode: mydb $ ./monetdb release mydb taken database out of maintenance mode: mydb $ ./mclient -u monetdb -l sql -d mydb password: [it hangs here] ^C and... 2011-05-04 17:44:29 MSG mydb[19795]: !MALException:malInclude:could not open file: mal_init 2011-05-04 17:44:39 ERR merovingian[7191]: client error: database 'mydb' has crashed after starting, manual intervention needed, check merovingian's logfile for details I am attaching the whole merovingian.log, it is rather small. On Wed, May 4, 2011 at 4:47 PM, Michael Sioutis <papito.dit@gmail.com> wrote:
I'll fill a bug for the missing include, as soon as I have time.
Bison helped me proceed even further and now I get: In file included from ../../../../tools/merovingian/daemon/argvcmds.c:32: ../../../../tools/merovingian/daemon/merovingian.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_mero_topdp_lock'
I can't see anything funny about: extern pthread_mutex_t _mero_topdp_lock;
On Wed, May 4, 2011 at 3:56 PM, Fabian Groffen <Fabian.Groffen@cwi.nl> wrote:
On 04-05-2011 15:45:47 +0300, Michael Sioutis wrote:
OK, gmake moved a bit further untill: ../../../clients/mapilib/mapi.c:2240: error: storage size of 'vec' isn't known
I think struct iovec is not properly defined for OpenBSD. I did: #include <sys/uio.h> in mapi.c and mal_mapi.mx file and it was solved. The header file is this: http://fxr.watson.org/fxr/source/sys/uio.h?v=OPENBSD
Ok, this sounds like a missing include. Would you mind filing a bug for this issue? It's trivial to fix, but we shouldn't forget this one.
NOW I have this problem: ../../../sql/server/sql_parser.y:81: syntax error %pure_parser ^ At first I thought it was a typo because of the underscore (_) and I changed to %pure-parser as stated here: http://invisible-island.net/byacc/manpage/yacc.html
Please try using GNU bison. I have little to no expertise on various dialects here. If it's easy to fix, we'll do, otherwise we should request bison I think.
How should I proceed even further? I'm thinking of bison, but perhaps you know of an easy fix.
------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users