Re: [Monetdb-developers] [Monetdb-checkins] buildtools/autogen/autogen am.py, 1.30.2.6, 1.30.2.7

2007-04-02 Thread Stefan Manegold
Niels (and others),

my change below indeed yields the indented, i.e., modules' .mil files are
only created if/after the respective library was compiled successfully,
and thus, `make check` does not see and try to load modules unless (as
required) both the .mil file and the respective library are avialable.

However, it also has two negative effects:

(1)
automake 1.6.3 on Darwin/MacOS X complains about (e.g.)

src/mapi/Makefile.am:31: mapi.mil defined both conditionally and unconditionally

since now next to the former (conditional)

if NEED_MX
...
mapi.mil: mapi.tmpmil ...
...
endif

there's now also a (unconditional)

mapi.mil: lib_mapi.la

(on all other platforms, we use automake >= 1.8.3, hence, this might be and
 automake rather than a Darwin problem...)

(2)
`make dist` fails for MonetDB4 (only) with

 gcc -DHAVE_CONFIG_H -I. 
-I/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf
 -I../../.. 
-I/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf
 
-I/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-optimize_--enable-debug/include/MonetDB
 
-I/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-optimize_--enable-debug/include/MonetDB/common
 
-I/ufs/manegold/_/scratch0/Monet/Testing/Stable/prefix.--enable-strict_--disable-optimize_--enable-debug/include/MonetDB/gdk
 -I../../monet 
-I/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/../../monet
 -I../plain 
-I/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/../plain
 -Wall -Wextra -std=c99 -g -Werror-implicit-function-declaration -Werror 
-Wpointer-arith -Wdeclaration-after-statement -D_REENTRANT -c mnetcdf.c  -fPIC 
-DPIC -o .libs/lib_mnetcdf_la-mnetcdf.o
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:93:20:
 error: netcdf.h: No such file or directory
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:
 In function '_nc_open':
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:126:
 error: implicit declaration of function 'nc_open'
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:126:
 error: 'NC_NOWRITE' undeclared (first use in this function)
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:126:
 error: (Each undeclared identifier is reported only once
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:126:
 error: for each function it appears in.)
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:127:
 error: 'NC_NOERR' undeclared (first use in this function)
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:127:
 error: implicit declaration of function 'nc_strerror'
cc1: warnings being treated as errors
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:127:
 warning: passing argument 1 of 'GDKerror' makes pointer from integer without a 
cast
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:
 In function '_nc_create':
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:138:
 error: implicit declaration of function 'nc_create'
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:139:
 error: 'NC_NOERR' undeclared (first use in this function)
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:139:
 warning: passing argument 1 of 'GDKerror' makes pointer from integer without a 
cast
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:151:
 error: implicit declaration of function 'nc_enddef'
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:152:
 warning: passing argument 1 of 'GDKerror' makes pointer from integer without a 
cast
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:
 In function '_nc_close':
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:163:
 error: implicit declaration of function 'nc_close'
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:164:
 error: 'NC_NOERR' undeclared (first use in this function)
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:164:
 warning: passing argument 1 of 'GDKerror' makes pointer from integer without a 
cast
/ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:
 In function '_nc_list':
/ufs/manegold/_/scratch0/Monet/Testing/Stable/s

Re: [Monetdb-developers] [Monetdb-checkins] buildtools/autogen/autogen am.py, 1.30.2.6, 1.30.2.7

2007-04-02 Thread Fabian Groffen
On 02-04-2007 09:16:01 +0200, Stefan Manegold wrote:
> However, it also has two negative effects:
> 
> (1)
> automake 1.6.3 on Darwin/MacOS X complains about (e.g.)
> 
> src/mapi/Makefile.am:31: mapi.mil defined both conditionally and 
> unconditionally
> 
> since now next to the former (conditional)
> 
> if NEED_MX
> ...
> mapi.mil: mapi.tmpmil ...
> ...
> endif
> 
> there's now also a (unconditional)
> 
> mapi.mil: lib_mapi.la
> 
> (on all other platforms, we use automake >= 1.8.3, hence, this might be and
>  automake rather than a Darwin problem...)

Please give up on supporting ancient development software/tools.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Monetdb-developers mailing list
Monetdb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-developers


Re: [Monetdb-developers] [Monetdb-checkins] buildtools/autogen/autogen am.py, 1.30.2.6, 1.30.2.7

2007-04-02 Thread Stefan Manegold
On Mon, Apr 02, 2007 at 10:18:17AM +0200, Fabian Groffen wrote:
> On 02-04-2007 09:16:01 +0200, Stefan Manegold wrote:
> > However, it also has two negative effects:
> > 
> > (1)
> > automake 1.6.3 on Darwin/MacOS X complains about (e.g.)
> > 
> > src/mapi/Makefile.am:31: mapi.mil defined both conditionally and 
> > unconditionally
> > 
> > since now next to the former (conditional)
> > 
> > if NEED_MX
> > ...
> > mapi.mil: mapi.tmpmil ...
> > ...
> > endif
> > 
> > there's now also a (unconditional)
> > 
> > mapi.mil: lib_mapi.la
> > 
> > (on all other platforms, we use automake >= 1.8.3, hence, this might be and
> >  automake rather than a Darwin problem...)
> 
> Please give up on supporting ancient development software/tools.

in fact, newer automakes also "complain", but with them, ./bootstrap
eventually succeeds in creating a "configure":

src/mapi/Makefile.am:39: mapi.mil was already defined in condition NEED_MX, 
which is included in condition TRUE ...
src/mapi/Makefile.am:31: ... `mapi.mil' previously defined here


Stefan

-- 
| Dr. Stefan Manegold | mailto:[EMAIL PROTECTED] |
| 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   |

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Monetdb-developers mailing list
Monetdb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-developers


Re: [Monetdb-developers] [Monetdb-checkins] buildtools/autogen/autogen am.py, 1.30.2.6, 1.30.2.7

2007-04-02 Thread Fabian Groffen
Maybe this helps a bit tracking down the problem:

On 02-04-2007 09:16:01 +0200, Stefan Manegold wrote:
> /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:93:20:
>  error: netcdf.h: No such file or directory

Are you confident that netcdf compilation is also enabled before this
commit on your platform?  I cannot find netcdf.h on my system.

> /ufs/manegold/_/scratch0/Monet/Testing/Stable/source/MonetDB4/src/modules/mnetcdf/mnetcdf.mx:
>  In function '_nc_open':

these look ok to me considering the error above.

Maybe configure/make does something unexpected because of the
conditional here.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Monetdb-developers mailing list
Monetdb-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-developers