make -j not working in my documentation directory - but why?

2009-11-27 Thread Ed Hartnett
/texi2dvi: line 733: cd: /machine/netcdf/n4_new6/man4/netcdf.t2d/dvi/bak: No such file or directory make[1]: *** [netcdf.dvi] Error 1 Any suggestions would be appreciated! Thanks, Ed -- Ed Hartnett -- e...@unidata.ucar.edu

how to link other libraries to *my* library...

2009-11-13 Thread Ed Hartnett
libnetcdf_la_LIBADD += -lmfhdf -ldf -ljpeg endif # USE_HDF4 if USE_SZIP libnetcdf_la_LIBADD += -lsz endif # USE_SZIP LDADD += -lhdf5_hl -lhdf5 -lz if USE_PNETCDF LDADD += -lpnetcdf libnetcdf_la_LIBADD += -lpnetcdf endif Is there a better way to do this? Thanks, Ed -- Ed Hartnett -- e...@unidata.ucar.edu

bug in automake? Getting ARFLAGS to work...

2008-05-21 Thread Ed Hartnett
() { return 42; } -- Ed Hartnett -- [EMAIL PROTECTED]

Getting ARFLAGS to work...

2008-05-13 Thread Ed Hartnett
not working. Anyone who can suggest what I am doing wrong here would be very helpful... Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

problem with a test that is expected to fail, on cygwin only...

2007-01-15 Thread Ed Hartnett
] = make[2]: *** [check-TESTS] Error 1 The make version on cygwin is: sh-3.1$ make --version GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. Which seems reasonably recent. What's up with this? Is this kind of thing only handled by newer makes? Thanks! Ed -- Ed Hartnett

building texi files with make check under AIX - how to stop it!!

2007-01-04 Thread Ed Hartnett
. But this will be dorky, because I still have to install built docs... Any thoughts appreciated... Ed -- Ed Hartnett -- [EMAIL PROTECTED]

any way to set AM_CPPFLAGS for all subdirs at one time?

2006-11-24 Thread Ed Hartnett
subdirs? Or must this be done in each directory's Makefile.am? Is there some more automakeish way to handle this situation? Thanks and Happy Thanksgiving to all U.S.A. readers! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

how to turn off shared library notice in output of make install?

2006-09-27 Thread Ed Hartnett
... Thanks, and thanks for the fine freeware too! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: how to turn off shared library notice in output of make install?

2006-09-27 Thread Ed Hartnett
yet, but I suppose it could be solved at the same time as the inter-makefile library-installation-order issue is solved. Well, no need to get too fancy. Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: trying to install docs that are distributed with my package...

2006-08-29 Thread Ed Hartnett
in EXTRA_DIST as well. Yep, you sure hit it that time! Works like a charm now! Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: trying to install docs that are distributed with my package...

2006-08-29 Thread Ed Hartnett
Stepan Kasal [EMAIL PROTECTED] writes: Hello, On Mon, Aug 28, 2006 at 06:04:13PM -0700, Tyler MacDonald wrote: Ed Hartnett [EMAIL PROTECTED] wrote: It sounds like the best plan would be to add a flag to configure that indicates you want to build docs, like --with-build-docs using

trying to install docs that are distributed with my package...

2006-08-28 Thread Ed Hartnett
it to rebuild the files, just to install the ones I've already shipped. Any thoughts on this? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

how to install man pages to directory man3f?

2006-08-11 Thread Ed Hartnett
, man3f, and man3f90. But according to automake the only valid extensions are 1 through 9, l, and n. Is there a way to get automake to create man3f0, and install my F90 API man page there? Any help appreciated. Thanks, Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: config.guess comments from our sysadmins

2006-08-09 Thread Ed Hartnett
Ralf Wildenhues [EMAIL PROTECTED] writes: * Ed Hartnett wrote on Wed, Aug 09, 2006 at 07:22:40PM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: * John Wohlbier wrote on Tue, Jul 25, 2006 at 04:12:57PM CEST: http://cvs.savannah.gnu.org/viewcvs/~checkout~/config/config/config.guess http

need to install (but not build or distribute) something to the bin directory...

2006-08-02 Thread Ed Hartnett
that there is a file I would like installed, but not specially built nor included in the distribution? I'm sure there is something very easy I am missing here... Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: running tests with automake on windows with mingw...

2006-07-26 Thread Ed Hartnett
is constructing the shell script wrappers which make the EXEEXT unneeded. Thanks, Ed -- Ed Hartnett -- [EMAIL PROTECTED]

question about how the html version of a texinfo file is named...

2006-05-15 Thread Ed Hartnett
on the web site. It seems like the best thing would be if there was a way to turn off this directory renaming. Is that possible? If not, how have other users of texinfo docs managed this? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

how to something from the configure script into one of the test programs?

2006-04-04 Thread Ed Hartnett
. This works if I supply TEMP_LARGE on the command line with the make command, but it doesn't pick up the TEMP_LARGE defined during configure. So how do I take TEMP_LARGE and get it into one of my test programs? Any suggestions welcome. Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

using FC *and* F77, or FC *instead of* F77?

2006-01-07 Thread Ed Hartnett
, including telling me somehow whether it can handle F90 code. Is there a better way? Or is it required that I have AC_PROG_F77 and AC_PROG_FC? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

what's a good way to check a file size (as part of a make check) from automake?

2005-12-26 Thread Ed Hartnett
$file' with sed to parse the output for the file size? If so, do we have to check for the existence of ls and sed during the configure? Or is going to be found everywhere? Or is there some more clever way to check the size of a file? Any comments would be appreciated. Thanks! Ed -- Ed

Re: what's a good way to check a file size (as part of a make check) from automake?

2005-12-26 Thread Ed Hartnett
Alexandre Duret-Lutz [EMAIL PROTECTED] writes: EH == Ed Hartnett [EMAIL PROTECTED] writes: EH Should we just use 'ls -l $file' with sed to parse the output for the EH file size? Depending on how portable you want to be, getting the size out of ls -l will not be as easy as it seems: see

what happens to EXTRA_DIST during distcheck?

2005-12-12 Thread Ed Hartnett
? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

way to specify dependencies for lots of code files easily?

2005-12-06 Thread Ed Hartnett
used the SOURCES primary? Like this: tst_h_files_SOURCES tst_h_files.c ../nc_test.h tst_h_atts_SOURCES tst_h_atts.c ../nc_test.h etc. Any suggestions would be welcome! Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: way to specify dependencies for lots of code files easily?

2005-12-06 Thread Ed Hartnett
Bruce Korb [EMAIL PROTECTED] writes: Ed Hartnett wrote: Howdy all! I am using automake to build my library, and I have a slew of test programs: # These programs are all built for make check in this directory. check_PROGRAMS = tst_h_files tst_h_atts tst_h_vars tst_h_grps

Re: AM_FCFLAGS not working as I expect...

2005-11-08 Thread Ed Hartnett
$@ $(FCFLAGS_f90) $ as you suggested. Unfortunately, that didn't seem to help libtools tag problem. Thanks, Ed -- Ed Hartnett -- [EMAIL PROTECTED]

make dvi expected during make distcheck?

2005-11-08 Thread Ed Hartnett
-alpha10/_build/libsrc' make[2]: Nothing to be done for `dvi'. ... Is there a way to turn this off? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

no TEXI2DVIFLAGS?

2005-11-08 Thread Ed Hartnett
for texi2dvi? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: AM_FCFLAGS not working as I expect...

2005-11-08 Thread Ed Hartnett
) comes out with its next version, sometime next year. How long until libtool 2.0 comes out in beta? Thanks for the help, you've given me a lot to try! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: AM_FCFLAGS not working as I expect...

2005-11-07 Thread Ed Hartnett
Ralf Wildenhues [EMAIL PROTECTED] writes: Hi Ed, * Ed Hartnett wrote on Sat, Nov 05, 2005 at 02:18:40AM CET: What am I missing here? I define the following in my Makefile.am: # Point the fortran compiler to current directory. AM_FFLAGS = -I$(srcdir) But no matter what I do, that -I

environment for tests (was: Re: make distcheck creates directory that I don't have write permissions for - is this expected?)

2005-11-06 Thread Ed Hartnett
Ralf Wildenhues [EMAIL PROTECTED] writes: Hi Ed, * Ed Hartnett wrote on Sat, Nov 05, 2005 at 07:52:01PM CET: My current problem is that I have some reference netCDF files, which ship with the distribution. I also have a test program, which produces data files that need to be identical

make distcheck creates directory that I don't have write permissions for - is this expected?

2005-11-05 Thread Ed Hartnett
from make dist? Is this what the user see when he unpacks my package - a bunch of read-only files? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: make distcheck creates directory that I don't have write permissions for - is this expected?

2005-11-05 Thread Ed Hartnett
without a whole extra shell script! Thanks, Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: strange warnings from aclocal...

2005-11-05 Thread Ed Hartnett
my many configuration and test files, trying to get everything to be more well-behaved, in the hopes that this might clear up some of the problems I'm having on other platforms... Thanks, Ed -- Ed Hartnett -- [EMAIL PROTECTED]

any way to set an automake variable in a top-level automake file, and have it apply to subdirs?

2005-11-04 Thread Ed Hartnett
Howdy all! Is there any way to set an automake variable in the top-level automake file? (That is, the file which contains SUBDIRS = ...) I find myself setting AM_CFLAGS=-g in many subdirectories. Also I am setting AM_LDFLAGS everywhere to point to a library directory that the user can specify

Re: any way to set an automake variable in a top-level automake file, and have it apply to subdirs?

2005-11-04 Thread Ed Hartnett
Ralf Wildenhues [EMAIL PROTECTED] writes: Hi Ed, * Ed Hartnett wrote on Fri, Nov 04, 2005 at 02:57:44PM CET: Is there any way to set an automake variable in the top-level automake file? (That is, the file which contains SUBDIRS = ...) I find myself setting AM_CFLAGS=-g in many

AM_FCFLAGS not working as I expect...

2005-11-04 Thread Ed Hartnett
-- Ed Hartnett -- [EMAIL PROTECTED]

strange warnings from aclocal...

2005-10-24 Thread Ed Hartnett
--version aclocal (GNU automake) 1.9.5 bash-3.00$ autoconf --version autoconf (GNU Autoconf) 2.59 bash-3.00$ m4 --version GNU M4 1.4.3 -- Ed Hartnett -- [EMAIL PROTECTED]

Re: automake configure script hangs on OSF1...

2005-10-07 Thread Ed Hartnett
Ralf Wildenhues [EMAIL PROTECTED] writes: Hi Ed, * Ed Hartnett wrote on Fri, Oct 07, 2005 at 12:57:26AM CEST: I am trying to install automake and an OSF1 system. I just installed autoconf, but the automake configure hangs looking for it... *snip* checking whether autoconf is installed

automake configure script hangs on OSF1...

2005-10-06 Thread Ed Hartnett
... /usr/bin/perl checking for tex... no checking whether autoconf is installed... yes checking whether autoconf works... And there it sits, until I kill it. Any thoughts? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

making tests dependent on the library that they test...

2005-07-21 Thread Ed Hartnett
tst_h_strings.h5 tst_h_converts.h5 \ tst_h_dimscales.h5 tst_h_dimscales2.h5 tst_lists.nc tst_dims.nc \ tst_files.nc tst_vars.nc tst_unlim_vars. nc tst_atts.nc \ tst_converts.nc tst_grps.nc tst_compounds.nc tst_vl.nc tst_opaque.nc\ tst_strings.nc -- Ed Hartnett

Re: question about test dependencies on libraries in makefile.am

2005-07-10 Thread Ed Hartnett
Ralf Wildenhues [EMAIL PROTECTED] writes: * Ralf Wildenhues wrote on Fri, Jul 08, 2005 at 08:15:08PM CEST: * Ed Hartnett wrote on Fri, Jul 08, 2005 at 07:28:38PM CEST: I have a slew of test programs, and my Makefile.am contains something like this: # These programs are all built

question about test dependencies on libraries in makefile.am

2005-07-08 Thread Ed Hartnett
a long list, and I am wondering if there is any easy way to specify that they *all* depend on tests.h, instead of listing it for each. Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: broken make distclean...

2005-06-27 Thread Ed Hartnett
. Using a convenience library made it work great. Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

broken make distclean...

2005-06-26 Thread Ed Hartnett
Makefile:375: .deps/var.Plo: No such file or directory make[1]: *** No rule to make target `.deps/var.Plo'. Stop. make[1]: Leaving directory `/home/ed/netcdf-3/libsrc' make: *** [ distclean-recursive] Error 1 I've got no clue what's going on here. Anyone seen this before? Thanks! Ed -- Ed Hartnett

question about directory names in makeinfo --html invocation...

2005-06-21 Thread Ed Hartnett
the output in the netcdf directory, but automake has inserted some commands into the makefile to copy that to netcdf.html. Why? Can I stop it? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: how to run a test file with command line options...

2005-06-17 Thread Ed Hartnett
Ralf Wildenhues [EMAIL PROTECTED] writes: Hi Ed, * Ed Hartnett wrote on Thu, Jun 16, 2005 at 10:09:05PM CEST: If I have some tests, and want to run them with command line options, how do I do it? You are using the Automake builtin support for tests. It's quite limited, and I believe

how to run a test file with command line options...

2005-06-16 Thread Ed Hartnett
command line options. check_PROGRAMS = tst_parallel TESTS = run_par_test.sh Where run_par_test.sh is: MP_TASKS_PER_NODE=4 MP_PROCS=4 poe ./tst_parallel This works, but is there a way to do this in the Makefile.am, and not use a shell script? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

using same automake conditional twice doesn't work?

2005-06-07 Thread Ed Hartnett
in the correct order. Any comments or observations would be helpful. Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

is there a way to ensure that at least a certain automake version is used?

2005-05-29 Thread Ed Hartnett
autoconf 2.59 is used. Is there a similar macro for automake? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

is there a better way to solve this problem: building a library with code from another directory?

2005-03-13 Thread Ed Hartnett
to the automatic dependency tracking. Is there a good solution to this problem? Thanks! Ed -- Ed Hartnett -- [EMAIL PROTECTED]

Re: make dependencies not working for me...

2005-01-30 Thread Ed Hartnett
Ralf Wildenhues [EMAIL PROTECTED] writes: Hi Ed, Ralf, * Ralf Corsepius wrote on Fri, Jan 28, 2005 at 07:39:48AM CET: On Thu, 2005-01-27 at 09:42 -0700, Ed Hartnett wrote: Howdy all! I'm a developer working on netCDF, a freeware library for climate and Earth scientists

make dependencies not working for me...

2005-01-27 Thread Ed Hartnett
specify -M or -MM? Any advice would be appreciated. Thanks! -- Ed Hartnett -- [EMAIL PROTECTED]