Re: [Monetdb-developers] [Monetdb-checkins] buildtools/conf MonetDB.m4, MonetDB_1-20, 1.37.2.18, 1.37.2.19
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: $ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
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. 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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 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.
and "of course" replace "[89]" by "[[89]]" --- need to quote '[' & ']' in configure code in case they're not to be interpreted by autoconf ... 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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 |
------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 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 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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 |
------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 |
------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 |
------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 |
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
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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 |
------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 |
------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 |
------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 Sat, Jan 19, 2008 at 11:49:07AM +0100, Stefan Manegold wrote:
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
\n#include \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}
or even
echo -e '#include
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
-- | 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 |
Hi Stefan, Thanks for you help. I was sure that the system can produce 64 bits binary (see below). The error: "configure: WARNING: you should use --build, --host, --target checking build system type... Invalid configuration `64': machine `64' not recognized" was caused by an error in my compile script, so it is solved. However, the changes Fabian has added seems not complete, because compiling MonetDB results in: configure: error: case "yes-gcc-darwin9.1.0-i686-apple-darwin9.1.0-64" not handled with --enable-bits, yet; please use CC, CFLAGS and/or LDFLAGS (instead of --enable-bits=64) to make "gcc" produce 64-bit code I think this is because: $ gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465) Following your suggestion, I changed "yes-*-darwin[89]*-i386*-*" into "yes-*-darwin[89]*-i[[36]]86*-*", which allows me to compile monet :) I think I can check in the following change: $ cvs diff conf/MonetDB.m4 Index: conf/MonetDB.m4 =================================================================== RCS file: /cvsroot/monetdb/buildtools/conf/MonetDB.m4,v retrieving revision 1.37.2.19 diff -r1.37.2.19 MonetDB.m4 523c523 < yes-*-darwin[89]*-powerpc*-* | yes-*-darwin[89]*-i386*-* | yes-*- darwin[89]*-x86_64*-*) ---
yes-*-darwin[[89]]*-powerpc*-*|yes-*-darwin[[89]]*-i[[36]]86*-*|yes- *-darwin[[89]]*-x86_64*-*)
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
\n#include \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}
$ echo -e '#include
Could you please also report what uname -a says on your system?
$ uname -a Darwin leopard.mshome.net 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386 Jennie
On Sun, Jan 20, 2008 at 09:39:49PM +0100, Ying Zhang wrote:
Hi Stefan,
Thanks for you help. I was sure that the system can produce 64 bits binary (see below).
And now, you also know how to check it in case your in doubt ;-)
The error:
"configure: WARNING: you should use --build, --host, --target checking build system type... Invalid configuration `64': machine `64' not recognized"
was caused by an error in my compile script, so it is solved.
I see -- so your did not just call `configure` or `configure --enable-bits=64` --- I did not know that ...
However, the changes Fabian has added seems not complete, because compiling MonetDB results in:
configure: error: case "yes-gcc-darwin9.1.0-i686-apple-darwin9.1.0-64" not handled with --enable-bits, yet; please use CC, CFLAGS and/or LDFLAGS (instead of --enable-bits=64) to make "gcc" produce 64-bit code
Isn't it great, this very verbosely self-explaining error message? ;-)
I think this is because:
$ gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465)
Following your suggestion, I changed "yes-*-darwin[89]*-i386*-*" into "yes-*-darwin[89]*-i[[36]]86*-*", which allows me to compile monet :) I think I can check in the following change:
Go ahead --- in fact, you might want to replace "[[36]]" by "[[3-6]]" to make it even more generic. Stefan
$ cvs diff conf/MonetDB.m4 Index: conf/MonetDB.m4 =================================================================== RCS file: /cvsroot/monetdb/buildtools/conf/MonetDB.m4,v retrieving revision 1.37.2.19 diff -r1.37.2.19 MonetDB.m4 523c523 < yes-*-darwin[89]*-powerpc*-* | yes-*-darwin[89]*-i386*-* | yes-*- darwin[89]*-x86_64*-*) ---
yes-*-darwin[[89]]*-powerpc*-*|yes-*-darwin[[89]]*-i[[36]]86*-*|yes- *-darwin[[89]]*-x86_64*-*)
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
\n#include \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} $ echo -e '#include
\n#include \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} #include #include int main() { printf("Hello\n"); return 0; } Hello Hello Hello hello: Mach-O executable i386 hello32: Mach-O executable i386 hello64: Mach-O 64-bit executable x86_64 Could you please also report what uname -a says on your system?
$ uname -a Darwin leopard.mshome.net 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386
Jennie
------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | 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 |
participants (2)
-
Stefan Manegold
-
Ying Zhang