[Monetdb-developers] MonetDB on Darwin/ARM

Stefan de Konink stefan at konink.de
Sun May 3 06:48:53 CEST 2009


With a bit of hacking in the C compiler, and doing a variety of 
--enable-shared vs --disabled-shared I am able to come up to this point:

iPod-van-Stefan-de-Konink:/Applications/MonetDB.app/bin root# ./mserver5
!ERROR: BBPdiskscan: stat(bat/)!OS: No such file or directory
!ERROR: BBPdiskscan: stat(bat/)!OS: No such file or directory
!ERROR: BBPdiskscan: stat(bat/)!OS: No such file or directory
# MonetDB server v5.11.0, based on kernel v1.29.0
# Serving database 'demo', using 1 thread
# Compiled for arm-apple-darwin/32bit with 32bit OIDs dynamically linked
# Copyright (c) 1993-July 2008 CWI.
# Copyright (c) August 2008-2009 MonetDB B.V., all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
#warning: please don't forget to set your vault key!
#(see /Applications/MonetDB.app/etc/monetdb5.conf)
!ERROR: GDKremovedir: rmdir(bat/DELETE_ME) failed.
!OS: Directory not empty
!ERROR: GDKremovedir: rmdir(bat/DELETE_ME) failed.
!OS: Directory not empty
!ERROR: BBPsync: rename(bat/BACKUP/SUBCOMMIT,bat/DELETE_ME) failed.
#WARNING: LoaderException:loadLibrary:mmath: loader error 
dlopen(/Applications/MonetDB.app/lib/MonetDB5/lib/lib_mmath.dylib, 10): 
Symbol not found: ___fpclassifyd
   Referenced from: 
/Applications/MonetDB.app/lib/MonetDB5/lib/lib_mmath.dylib
   Expected in: flat namespace

#WARNING: LoaderException:loadLibrary:optimizer: file not found
#WARNING: LoaderException:loadLibrary:run_isolate: file not found
#WARNING: LoaderException:loadLibrary:run_memo: file not found
#WARNING: LoaderException:loadLibrary:run_octopus: file not found
#WARNING: LoaderException:loadLibrary:mmath: loader error 
dlopen(/Applications/MonetDB.app/lib/MonetDB5/lib/lib_mmath.dylib, 10): 
Symbol not found: ___fpclassifyd
   Referenced from: 
/Applications/MonetDB.app/lib/MonetDB5/lib/lib_mmath.dylib
   Expected in: flat namespace

# Listening for connection requests on mapi:monetdb://127.0.0.1:50000/
Bus error


All this was compiled using a cross compiler, because I didn't trust 
gdkscanselect compiling to the device. If someone sees from the above 
output where I should start looking, I'm happy to take a peak there, my 
guess is some chdir gets wrong.

I was a bit minimalistic with compiling; but mclient works ;) [without 
readline]

iPod-van-Stefan-de-Konink:/Applications/MonetDB.app/bin root# ./mclient 
-lsql -h 192.168.1.2
select * from tables;
% .tables,      .tables,        .tables,        .tables,        .tables, 
        .tables,        .tables,        .tables # table_name
% id,   name,   schema_id,      query,  type,   system, commit_action, 
temporary # name
% int,  varchar,        int,    varchar,        smallint,       boolean, 
        smallint,       tinyint # type
% 4,    29,     4,      168,    1,      5,      1,      1 # length
[ 1062, "schemas",      1061,   NULL,   0,      true,   0,      0       ]
[ 1067, "types",        1061,   NULL,   0,      true,   0,      0       ]
[ 1076, "functions",    1061,   NULL,   0,      true,   0,      0       ]
[ 1085, "args", 1061,   NULL,   0,      true,   0,      0       ]
.....




Stefan




More information about the developers-list mailing list