[Monetdb-developers] [Monetdb-checkins] buildtools/conf MonetDB.m4, MonetDB_1-20, 1.37.2.18, 1.37.2.19

Stefan Manegold Stefan.Manegold at cwi.nl
Sat Jan 19 11:49:07 CET 2008


Jennie,

you might also want to check, if your system & compiler are actually capable
of producing 64-bit binaries, and if so, whether the default of your
compiler is 32- or 64-bit. E.g.:

echo -e '#include <stdlib.h>\n#include <stdio.h>\nint main() {\nprintf("Hello\\n");\nreturn 0;\n}' | tee hello.c ; gcc -o hello hello.c && ./hello ; gcc -m32 -o hello32 hello.c && ./hello32 ; gcc -m64 -o hello64 hello.c && ./hello64 ; file hello{,32,64}

In case "hello" (the default) is 64-bit, you don't need to use --enable-bits=64 at all.

In case "hello64" does not compiler or work, there is not much hope to get a
64-bit MonetDB on your system (at least not easily).

Could you please also report what 
	uname -a
says on your system?

Stefan

On Fri, Jan 18, 2008 at 05:16:42PM +0100, Stefan Manegold wrote:
> On Fri, Jan 18, 2008 at 04:34:44PM +0100, Ying Zhang wrote:
> > 
> > On Jan 18, 2008, at 16:15 , Stefan Manegold wrote:
> > 
> > > On Fri, Jan 18, 2008 at 03:51:37PM +0100, Stefan Manegold wrote:
> > >> On Fri, Jan 18, 2008 at 03:37:00PM +0100, Ying Zhang wrote:
> > >>> helaas, als ik de stable brach compileer, krijg ik steeds de selfde
> > >>> error, misschien is de string "+yes-*-darwin[89]*-powerpc*-* | yes- 
> > >>> *-
> > >>> darwin[89]*-i386*-* | yes-*-darwin[89]*-x86_64*-*)" waar het script
> > >>> naar kijkt niet correct, mijn gcc zegt namelijk zo iets:
> > >>
> > >> remove the spaces (' ') around the pipes ('|'), try again, and if  
> > >> it works,
> > >> check it in.
> > >
> > 
> > Done, it indeed helps.  Can now compile buildtools.  However,  
> > configure in module MonetDB does not like "64":
> > 
> > ***** execute: /Users/jennie/monet/stable/MonetDB/configure
> > configure: WARNING: you should use --build, --host, --target
> > checking build system type... Invalid configuration `64': machine `64'  
> > not recognized
> > configure: error: /bin/sh /Users/jennie/monet/stable/MonetDB/conf/ 
> > config.sub 64 failed
> 
> did you bootsrap MonetDB with your latest buildtools that contain *both* of
> my suggested fixes?
> 
> what does your excat and complete configure call look like?
> 
> Stefan
> 
> > Is there another file needs to be edited?
> > 
> > > and "of course" replace "[89]" by "[[89]]" --- need to quote '[' &  
> > > ']' in
> > > configure code in case they're not to be interpreted by autoconf ...
> > 
> > Also done, but does not have obvious effect.
> > 
> > Jennie
> > 
> > > Stefan
> > >
> > >> Stefan
> > >>
> > >>> $ gcc
> > >>> i686-apple-darwin9-gcc-4.0.1: no input files
> > >>>
> > >>> ik kan dit zelf wel uitzoeken, denk ik, maar niet nu:)
> > >>>
> > >>> Als ik "--enable-bits" helemaal niet gebruikt, compileert het als  
> > >>> een
> > >>> speer:)
> > >>> Ik kan alleen de tijah module net laden in mserver, maar dat is een
> > >>> ander verhaal.
> > >>>
> > >>> Jennie
> > >>>
> > >>> On Jan 18, 2008, at 10:34 , Fabian wrote:
> > >>>
> > >>>> Update of /cvsroot/monetdb/buildtools/conf
> > >>>> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25825
> > >>>>
> > >>>> Modified Files:
> > >>>>     Tag: MonetDB_1-20
> > >>>> 	MonetDB.m4
> > >>>> Log Message:
> > >>>> Add support for 64-bits with GCC 4 on Solaris and on Darwin 9 and
> > >>>> Darwin on Intel
> > >>>>
> > >>>> Index: MonetDB.m4
> > >>>> ===================================================================
> > >>>> RCS file: /cvsroot/monetdb/buildtools/conf/MonetDB.m4,v
> > >>>> retrieving revision 1.37.2.18
> > >>>> retrieving revision 1.37.2.19
> > >>>> diff -u -d -r1.37.2.18 -r1.37.2.19
> > >>>> --- MonetDB.m4	22 Nov 2007 15:44:17 -0000	1.37.2.18
> > >>>> +++ MonetDB.m4	18 Jan 2008 09:34:48 -0000	1.37.2.19
> > >>>> @@ -490,8 +490,8 @@
> > >>>> 	;;
> > >>>> yes-*-solaris*-*-*)
> > >>>> 	case `$bits-$CC -v 2>&1` in
> > >>>> -	32-*|*-*'gcc version 3.'*)	;;
> > >>>> -	*)	AC_MSG_ERROR([need GCC version 3.X for 64 bits]);;
> > >>>> +	32-*|*-*'gcc version '[34]'.'*)	;;
> > >>>> +	*)	AC_MSG_ERROR([need GCC version >=3.X for 64 bits]);;
> > >>>> 	esac
> > >>>> 	CC="$CC -m$bits"
> > >>>> 	;;
> > >>>> @@ -520,7 +520,8 @@
> > >>>> -*pgcc*-linux*-x86_64*-*)
> > >>>> 	CC="$CC -tp=k8-$bits"
> > >>>> 	;;
> > >>>> -yes-*-darwin8*-powerpc*-*)
> > >>>> +yes-*-darwin[89]*-powerpc*-* | yes-*-darwin[89]*-i386*-* | yes-*-
> > >>>> darwin[89]*-x86_64*-*)
> > >>>> +	# Darwin/OSX cases
> > >>>> 	CC="$CC -m$bits"
> > >>>> 	;;
> > >>>> *)
> > >>>>
> > >>>>
> > >>>> -------------------------------------------------------------------------
> > >>>> This SF.net email is sponsored by: Microsoft
> > >>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
> > >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > >>>> _______________________________________________
> > >>>> Monetdb-checkins mailing list
> > >>>> Monetdb-checkins at lists.sourceforge.net
> > >>>> https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
> > >>>
> > >>>
> > >>> -------------------------------------------------------------------------
> > >>> This SF.net email is sponsored by: Microsoft
> > >>> Defy all challenges. Microsoft(R) Visual Studio 2008.
> > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > >>> _______________________________________________
> > >>> Monetdb-developers mailing list
> > >>> Monetdb-developers at lists.sourceforge.net
> > >>> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
> > >>>
> > >>
> > >> -- 
> > >> | 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       |
> > >>
> > >> -------------------------------------------------------------------------
> > >> This SF.net email is sponsored by: Microsoft
> > >> Defy all challenges. Microsoft(R) Visual Studio 2008.
> > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > >> _______________________________________________
> > >> Monetdb-developers mailing list
> > >> Monetdb-developers at lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/monetdb-developers
> > >
> > > -- 
> > > | 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       |
> > 
> > 
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Monetdb-developers mailing list
> > Monetdb-developers at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/monetdb-developers
> > 
> > 
> 
> -- 
> | 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       |
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Monetdb-developers mailing list
> Monetdb-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers

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