Hello,
On Mac OS 10.5, source code just checked out from sourceforge.
rebuild (debootstrap, boostrap, configure, make, make install) monet
and its modules ends with some errors in pathfinder:
Putting files in AC_CONFIG_AUX_DIR, `conf'.
/opt/local/share/aclocal/audiofile.m4:12: warning: underquoted
definition of AM_PATH_AUDIOFILE
/opt/local/share/aclocal/audiofile.m4:12: run info
'(automake)Extending aclocal'
/opt/local/share/aclocal/audiofile.m4:12: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:85: warning: macro `AM_MONETDB_JAVA' not found in library
patching file aclocal.m4
Hunk #1 succeeded at 428 (offset -5958 lines).
configure.in:183: installing `conf/compile'
configure.in:37: installing `conf/install-sh'
configure.in:37: installing `conf/missing'
configure.in:85: error: possibly undefined macro: AM_MONETDB_JAVA
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
This problem does not occur on my cwi desktop.
Does anyone have an idea? Thanks!
Jennie
On Mon, Sep 01, 2008 at 10:08:09PM +0200, Hendrike Peetz wrote:
> Ok, I assume I should have set compiler options to --disable-strict.
well, for us, it should also work with --enable-strict (default in CVS
version as that is meant for developers --- and as a reminder to us to
produce clean code ... ;-)) --- but for "users", --disable-strict (default
in tarballs) is indeed just fine.
> But now I can still not check, because it says:
>
> $ make check
> make check-recursive
> Making check in src
> make check-recursive
> Making check in common
> make check-am
> make[5]: Nothing to be done for `check-am'.
> Making check in gdk
> make check-am
> make[5]: Nothing to be done for `check-am'.
> Making check in testing
> make check-am
> rm -f Mapprove.py
> ln -s Mtest.py Mapprove.py
> make[4]: Nothing to be done for `check-am'.
> Making check in conf
> make check-am
> make[3]: Nothing to be done for `check-am'.
for which part did you call `make check`?
for "MonetDB" (Common) there are indeed not tests; neither for
(MonetDB/)"java"; only for clients, MonetDB4, MonetDB5, sql, geom,
pathfinder, template there are tests and `make check` should work --- be
aware though, that some tests are known to fail on some platforms ...
> Sorry for bothering you, but we were two people (who do know the basics
> of working with unix) trying to get this running today and couldn't make
> it work.
No problem --- in fact, `make check` is not "mendatory" for getting it to
work --- just `make && make install` (or use monetdb-install.sh) and then
try to run `Mserver` (MonetDB4) or `mserver5` (MonetDB5) as a very basic
"sanitycheck".
Stefan
> Hendrike
>
>
> Begin forwarded message:
>
>> From: Hendrike Peetz <hendrike(a)peetz-intelligence.com>
>> Date: September 1, 2008 9:27:37 PM GMT+02:00
>> To: Monet(a)cwi.nl
>> Subject: [ADT] bug report?
>>
>> Dear people in charge,
>>
>> I have been spending a lot of time today trying to install Monet on
>> Leopard 10.5.4, 64 bit, core 2 duo.
>>
>> Before I did anything with the cvs, I tried to work with the Super
>> tarball version. Compiling was not a problem but the tests were not
>> installed and I was not too sure wether everything is working. I thus
>> wanted to install it properly:
>>
>> I checked out the latest version (friday I assume) from the cvs.
>> bootstrap and configure worked fine, but I had problems with the
>> compiling.
>>
>> I tried gcc4.1 (apple) and gcc4.2 (apple) (Yes, I recompiled my c-
>> compiler!). Both of them returned the attached error.
>> I am not sure wether this is my mistake or some weird code, but as I
>> was able to compile the tarball version I assume its something in the
>> code.
>>
>> Best regards,
>>
>> Hendrike
>>
>>
>>
>>
>>
>>
>
--
| 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 |
Dear Hendrike,
thank you very much for your detailed report.
I suppose you sucessfully compiled the latest released "Stable" "Aug2008"
version of the Super tarball, right?
Then, indeed the compilation problems seem to be triggered by the (our) code
in the latest "cutting-edge" "Current" development version from the CVS
heads.
Although we do quite some testing (cf.
http://monetdb.cwi.nl/Development/TestWeb/), we do not (yet?) have a
"Leopard" machine in our testing pool (we actually also lost access to the
"Tiger" machine we used to have...).
We will look into the problem ASAP and try to fix it.
Could you please also file your problem as bug report in the MonetDB bug
tracker at SF:
http://sourceforge.net/tracker/?atid=482468&group_id=56967&func=browse
?
For the time being you might want to try the latest "Stable" version from
the CVS branches as listed at
http://monetdb.cwi.nl/projects/monetdb/Development/Releases/Version4.24/ind…
.
What puzzles me, though, is your initial point that no tests were included
in the tests were not included in the Super tarball. They should actaully be
in there. I'll check again ...
Stefan
On Mon, Sep 01, 2008 at 09:27:37PM +0200, Hendrike Peetz wrote:
> Dear people in charge,
>
> I have been spending a lot of time today trying to install Monet on
> Leopard 10.5.4, 64 bit, core 2 duo.
>
> Before I did anything with the cvs, I tried to work with the Super
> tarball version. Compiling was not a problem but the tests were not
> installed and I was not too sure wether everything is working. I thus
> wanted to install it properly:
>
> I checked out the latest version (friday I assume) from the cvs.
> bootstrap and configure worked fine, but I had problems with the
> compiling.
>
> I tried gcc4.1 (apple) and gcc4.2 (apple) (Yes, I recompiled my c-
> compiler!). Both of them returned the attached error.
> I am not sure wether this is my mistake or some weird code, but as I was
> able to compile the tarball version I assume its something in the code.
>
> Best regards,
>
> Hendrike
>
>
> $ make
> make all-recursive
> Making all in src
> make all-recursive
> Making all in common
> make all-am
> make[5]: Nothing to be done for `all-am'.
> Making all in gdk
> make all-am
> /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../MonetDB/src/gdk -I../../../MonetDB/src/gdk -I../common -I../../../MonetDB/src/gdk/../common -DLIBGDK -Wall -Wextra -std=c99 -g -Werror-implicit-function-declaration -Werror -Wpointer-arith -Wdeclaration-after-statement -Wundef -Wp,-D_FORTIFY_SOURCE=2 -Wno-uninitialized -D_REENTRANT -c -o libbat_la-gdk_system.lo `test -f 'gdk_system.c' || echo '../../../MonetDB/src/gdk/'`gdk_system.c
> gcc -DHAVE_CONFIG_H -I. -I../.. -I../../../MonetDB/src/gdk -I../../../MonetDB/src/gdk -I../common -I../../../MonetDB/src/gdk/../common -DLIBGDK -Wall -Wextra -std=c99 -g -Werror-implicit-function-declaration -Werror -Wpointer-arith -Wdeclaration-after-statement -Wundef -Wp,-D_FORTIFY_SOURCE=2 -Wno-uninitialized -D_REENTRANT -c gdk_system.c -fno-common -DPIC -o .libs/libbat_la-gdk_system.o
> cc1: warnings being treated as errors
> ../../../MonetDB/src/gdk/gdk_system.mx: In function 'MT_check_nr_cores':
> ../../../MonetDB/src/gdk/gdk_system.mx:575: warning: ISO C90 forbids mixed declarations and code
> ../../../MonetDB/src/gdk/gdk_system.mx:576: error: implicit declaration of function 'sysctlbyname'
> make[5]: *** [libbat_la-gdk_system.lo] Error 1
> make[4]: *** [all] Error 2
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
>
>
>
--
| 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 |