[Monetdb-developers] [Monetdb-checkins] MonetDB5/src/tools/Tests mclient-lmal--help.stable.out.SunOS5.11.STATIC, Nov2008, NONE, 1.1.2.1

Stefan Manegold Stefan.Manegold at cwi.nl
Tue Nov 25 15:02:43 CET 2008


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/GNU.32.32.d.1-SunOS5.11/src_tools/mclient-lmal--help.out.00.html),
while is apparently does not when using the Sun Studio 12 compiler
(http://monetdb.cwi.nl/testing/projects/monetdb/Stable/MonetDB5/.mTests103/Sun.32.32.d.1-SunOS5.11/src_tools/mclient-lmal--help.out.00.html)
...

(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.1-SunOS5.11..2008.11.25_00-09-02/config.out_log.html
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.1-SunOS5.11..2008.11.25_00-09-02/config.out_log.html
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: <readline/readline.h>
cc: acomp failed for conftest.c
configure:31503: $? = 2
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "MonetDB Server"
| #define PACKAGE_TARNAME "MonetDB5-server"
| #define PACKAGE_VERSION "5.8.1"
| #define PACKAGE_STRING "MonetDB Server 5.8.1"
| #define PACKAGE_BUGREPORT "monet at cwi.nl"
| #define PACKAGE "MonetDB5-server"
| #define VERSION "5.8.1"
| #define HOST "i386-pc-solaris2.11"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 4
| #define _XPG6 1
| #define __EXTENSIONS__ 1
| #define HAVE_C99 1
| #define HAVE_DLFCN_H 1
| #define YYTEXT_POINTER 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIMES_H 1
| #define _FILE_OFFSET_BITS 64
| #define RETSIGTYPE void
| #define HAVE_PTRDIFF_T 1
| #define HAVE_SSIZE_T 1
| #define HAVE_LONG_LONG 1
| #define LLFMT "%lld"
| #define ULLFMT "%llu"
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_VOID_P 4
| #define SIZEOF_SIZE_T 4
| #define SIZEOF_SSIZE_T 4
| #define SIZEOF_PTRDIFF_T 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define HAVE_FTRUNCATE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_OPENDIR 1
| #define HAVE_SYSCONF 1
| #define HAVE_TIMES 1
| #define HAVE_FTELLO 1
| #define HAVE_FSEEKO 1
| #define DIR_SEP '/'
| #define DIR_SEP_STR "/"
| #define PATH_SEP ':'
| #define PATH_SEP_STR ":"
| #define SO_PREFIX "lib"
| #define SO_EXT ".so"
| #define NDEBUG 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_SEMAPHORE_H 1
| #define HAVE_SCHED_H 1
| #define HAVE_PTHREAD_KILL 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETSCHEDPRIO 1
| #define HAVE_LIBPTHREAD 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <readline/readline.h>
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: <readline/readline.h>
cc: acomp failed for conftest.c
configure:31542: $? = 2
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "MonetDB Server"
| #define PACKAGE_TARNAME "MonetDB5-server"
| #define PACKAGE_VERSION "5.8.1"
| #define PACKAGE_STRING "MonetDB Server 5.8.1"
| #define PACKAGE_BUGREPORT "monet at cwi.nl"
| #define PACKAGE "MonetDB5-server"
| #define VERSION "5.8.1"
| #define HOST "i386-pc-solaris2.11"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 4
| #define _XPG6 1
| #define __EXTENSIONS__ 1
| #define HAVE_C99 1
| #define HAVE_DLFCN_H 1
| #define YYTEXT_POINTER 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIMES_H 1
| #define _FILE_OFFSET_BITS 64
| #define RETSIGTYPE void
| #define HAVE_PTRDIFF_T 1
| #define HAVE_SSIZE_T 1
| #define HAVE_LONG_LONG 1
| #define LLFMT "%lld"
| #define ULLFMT "%llu"
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_VOID_P 4
| #define SIZEOF_SIZE_T 4
| #define SIZEOF_SSIZE_T 4
| #define SIZEOF_PTRDIFF_T 4
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define HAVE_FTRUNCATE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_OPENDIR 1
| #define HAVE_SYSCONF 1
| #define HAVE_TIMES 1
| #define HAVE_FTELLO 1
| #define HAVE_FSEEKO 1
| #define DIR_SEP '/'
| #define DIR_SEP_STR "/"
| #define PATH_SEP ':'
| #define PATH_SEP_STR ":"
| #define SO_PREFIX "lib"
| #define SO_EXT ".so"
| #define NDEBUG 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_SEMAPHORE_H 1
| #define HAVE_SCHED_H 1
| #define HAVE_PTHREAD_KILL 1
| #define HAVE_PTHREAD_SIGMASK 1
| #define HAVE_PTHREAD_SETSCHEDPRIO 1
| #define HAVE_LIBPTHREAD 1
| /* end confdefs.h.  */
| #include <readline/readline.h>
configure:31556: result: no
configure:31589: checking for readline/readline.h
configure:31596: result: no
========

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

Stefan

> 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  - read input from file
> \>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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
> 

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