Re: [Monetdb-developers] [Monetdb-checkins] MonetDB5/src/tools/Tests mclient-lmal--help.stable.out.SunOS5.11.STATIC, Nov2008, NONE, 1.1.2.1
On Tue, Nov 25, 2008 at 01:45:28PM +0000, Fabian wrote:
Update of /cvsroot/monetdb/MonetDB5/src/tools/Tests In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12238
Added Files: Tag: Nov2008 mclient-lmal--help.stable.out.SunOS5.11.STATIC ^^^^^^^
IMHO, this will not work since Mtest.py considers ".STATIC" specific stable
output only in case MonetDB is "statically linked", i.e., configures with
"--disable-shared --enable-static", i.e., extension modules are statically
linked into Mserver --- a "feature" which is (soon: was) only supported by
MonetDB version 4, but is not (has never been) supported by MonetDB version
5).
... I guess, we should rather try to find out, why the compilation seems to
find a usable readline on the very same machine (build-x86-sol10) when using GNU gcc
(http://monetdb.cwi.nl/testing/projects/monetdb/Stable/MonetDB5/.mTests103/GN...),
while is apparently does not when using the Sun Studio 12 compiler
(http://monetdb.cwi.nl/testing/projects/monetdb/Stable/MonetDB5/.mTests103/Su...)
...
(Mtest.py does not (yet) provide functionality to have *compiler*-specific
stable output, mainly because is (still) uses the stabdard welcome message
of both Mserver & mserver5 to get configuration information --- but only
mserver5's --version option reveals the compiler name ...)
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/MonetDB5/.GNU.32.32.d....
says
========
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking for readline in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
========
and
========
configure:31480: checking readline/readline.h usability
configure:31497: gcc -c -O2 -D__EXTENSIONS__ -Wall -Wextra -std=c99 -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt conftest.c >&5
configure:31503: $? = 0
configure:31517: result: yes
configure:31521: checking readline/readline.h presence
configure:31536: gcc -E conftest.c
configure:31542: $? = 0
configure:31556: result: yes
configure:31589: checking for readline/readline.h
configure:31596: result: yes
configure:31601: checking for readline in -lreadline
configure:31636: gcc -o conftest -O2 -D__EXTENSIONS__ -Wall -Wextra -std=c99 -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt conftest.c -lreadline >&5
configure:31642: $? = 0
configure:31660: result: yes
configure:31815: checking for rl_completion_matches in -lreadline
configure:31850: gcc -o conftest -O2 -D__EXTENSIONS__ -Wall -Wextra -std=c99 -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt conftest.c -lreadline -lreadline >&5
configure:31856: $? = 0
configure:31874: result: yes
========
while
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/MonetDB5/.Sun.32.32.d....
says
========
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
========
and
========
configure:31480: checking readline/readline.h usability
configure:31497: cc -c -D__EXTENSIONS__ -xc99 -xO5 conftest.c >&5
"conftest.c", line 104: cannot find include file:
Log Message: Attempt to approve no static readline library on SunOS 5.11 (when not Prefix-enabled)
--- NEW FILE: mclient-lmal--help.stable.out.SunOS5.11.STATIC --- stdout of test 'mclient-lmal--help` in directory 'src/tools` itself:
# 11:03:02 > # 11:03:02 > Mtimeout -timeout 240 mserver5 "--config=/ufs/mk/monet5/Linux/etc/monetdb5.conf" --debug=10 --set "monet_mod_path=/ufs/mk/monet5//Linux/lib/MonetDB5:/ufs/mk/monet5//Linux/lib/MonetDB5/lib:/ufs/mk/monet5//Linux/lib/MonetDB5/bin" --set "gdk_dbfarm=/ufs/mk/monet5//Linux/var/MonetDB5/dbfarm" --set "sql_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/sql_logs" --set "xquery_logdir=/ufs/mk/monet5//Linux/var/MonetDB5/xquery_logs" --set mapi_open=true --set xrpc_open=true --set mapi_port=36261 --set xrpc_port=45929 --set monet_prompt= --trace "--dbname=mTests_src_tools" --dbinit="" ; echo ; echo Over.. # 11:03:02 >
!WARNING: GDKlockHome: ignoring empty or invalid .gdk_lock. !WARNING: BBPdir: initializing BBP. # MonetDB server v5.1.0, based on kernel v1.19.0 # Serving database 'mTests_src_tools' # Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically linked # Copyright (c) 1993-2007 CWI, all rights reserved # Visit http://monetdb.cwi.nl/ for further information # Listening for connection requests on mapi:monetdb://gio.ins.cwi.nl:36261/
Ready. #function user.main():void; # clients.quit(); #end main;
Over..
# 11:03:02 > # 11:03:02 > Mtimeout -timeout 120 ./mclient-lmal--help.MAL.sh mclient-lmal--help # 11:03:02 >
# 11:03:02 > # 11:03:02 > Mtimeout -timeout 60 mclient -lmal -umonetdb -Pmonetdb --config=/ufs/mk/monet5/Linux/etc/monetdb5.conf --host=gio --port=36261 --help # 11:03:02 >
\? - show this message ?pat - MAL function help. pat=[modnme[.fcnnme][(][)]] wildcard * \
file - save response in file, or stdout if no file is given \|cmd - pipe result to process, or stop when no command is given \t - toggle timer \e - echo the query in sql formatting mode \f - format using a built-in renderer {csv,tab,raw,sql,xml} \w# - set maximal page width (-1=raw,0=no limit, >0 max char) \r# - set maximum rows per page (-1=raw) \L file - save client/server interaction \X - trace mclient code \q - terminate session mal> # 11:03:02 > # 11:03:02 > Done. # 11:03:02 > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Monetdb-checkins mailing list Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
-- | 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 25-11-2008 15:02:43 +0100, Stefan Manegold wrote:
On Tue, Nov 25, 2008 at 01:45:28PM +0000, Fabian wrote:
Update of /cvsroot/monetdb/MonetDB5/src/tools/Tests In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12238
Added Files: Tag: Nov2008 mclient-lmal--help.stable.out.SunOS5.11.STATIC ^^^^^^^
IMHO, this will not work since Mtest.py considers ".STATIC" specific stable output only in case MonetDB is "statically linked", i.e., configures with "--disable-shared --enable-static", i.e., extension modules are statically linked into Mserver --- a "feature" which is (soon: was) only supported by MonetDB version 4, but is not (has never been) supported by MonetDB version 5).
I got confused. I took S for Static, not for Sun.
... I guess, we should rather try to find out, why the compilation seems to find a usable readline on the very same machine (build-x86-sol10) when using GNU gcc (http://monetdb.cwi.nl/testing/projects/monetdb/Stable/MonetDB5/.mTests103/GN...), while is apparently does not when using the Sun Studio 12 compiler (http://monetdb.cwi.nl/testing/projects/monetdb/Stable/MonetDB5/.mTests103/Su...) ...
I saw that indeed.
(Mtest.py does not (yet) provide functionality to have *compiler*-specific stable output, mainly because is (still) uses the stabdard welcome message of both Mserver & mserver5 to get configuration information --- but only mserver5's --version option reveals the compiler name ...)
Not really. It returns the CHOST, which is just produced by config.guess, or given by the user.
while http://monetdb.cwi.nl/testing/projects/monetdb/Stable/MonetDB5/.Sun.32.32.d.... says ======== checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no ======== and ======== configure:31480: checking readline/readline.h usability configure:31497: cc -c -D__EXTENSIONS__ -xc99 -xO5 conftest.c >&5 "conftest.c", line 104: cannot find include file:
cc: acomp failed for conftest.c configure:31503: $? = 2 configure: failed program was: | #include configure:31517: result: no configure:31521: checking readline/readline.h presence configure:31536: cc -E conftest.c "conftest.c", line 71: cannot find include file:
apparently, readline/readline.h is in GNU gcc's default include path but not in Sun Studio cc's default include path on that machine ...
Can check that.
On 25-11-2008 15:07:51 +0100, Fabian Groffen wrote:
apparently, readline/readline.h is in GNU gcc's default include path but not in Sun Studio cc's default include path on that machine ...
Can check that.
echo $path /usr/bin /bin /usr/sbin /sbin /opt/csw/bin ls /usr/include/readline /usr/include/readline: No such file or directory whereis readline.h whereis: Command not found. locate readline.h locate: Command not found. find /opt/csw -name "readline.h" /opt/csw/include/readline/readline.h
which gcc gcc: Command not found.
Problem clarified. I already wondered, since a virgin Solaris installation doesn't come with readline. That's what Prefix is for :)
participants (2)
-
Fabian Groffen
-
Stefan Manegold