nerate dependencies you must specify either -M or -MM
Where do I specify -M or -MM?
Any advice would be appreciated.
Thanks!
--
Ed Hartnett -- [EMAIL PROTECTED]
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 n
automatic dependency tracking.
Is there a good solution to this problem?
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
than autoconf 2.59 is used. Is there
a similar macro for automake?
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
n TEST_F77, automake does things in the correct order.
Any comments or observations would be helpful.
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
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]
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 s
\
fi
It seems that makeinfo is creating 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]
directory
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?
ckage is at fault
> here, though.
>
> Regards,
> Ralf
>
>
Thanks Ralf,
I fixed this by turning netcdf-2 into a convenience library. I'll have
another alpha release soon.
The challenge was to have the netcdf-2 code build using either
netcdf-3 or netcdf-4 as a base, and have that be decided at configure
time.
Using a convenience library made it work great.
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
, 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]
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
>
s.h5 tst_h_wrt_cmp.h5 \
tst_h_vl.h5 tst_h_opaques.h5 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 ts
king for perl... /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]
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...
>
TH_AO
bash-3.00$ aclocal --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]
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 at
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 = ...)
>>
&
;, `RFLAGS', and `YFLAGS'."
What am I missing?
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
Ralf Wildenhues <[EMAIL PROTECTED]> writes:
> Hi Ed,
>
> * Ed Hartnett wrote on Mon, Oct 24, 2005 at 04:34:27PM CEST:
>>
>> I am getting warnings from aclocal about a bunch of macros being
>> underquoted. But these are not my macros! They seem to be part of
>
pected behavior 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]
fo files and around the web. There must be a better way to run this
cmp test without a whole extra shell script!
Thanks,
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
ep through 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]
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 produ
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.
>>
-o $@ $(AM_FCFLAGS) $(FCFLAGS_f90)
`$(CYGPATH_W) '$<'`
.f90.lo:
$(LTFCCOMPILE) -c -o $@ $(FCFLAGS_f90) $<
as you suggested. Unfortunately, that didn't seem to help libtools tag
problem.
Thanks,
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
bsrc
make[2]: Entering directory `/shecky/netcdf-3/netcdf-4.0-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]
texi2dvi?
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
hat I would say about netCDF-4.0 beta!!
Actually I can't release until HDF5 (another data package) 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]
the help. You are assisting in the study of the
global climate, which is certainly one of our greatest computational
challenges!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
erent if I 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]
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
?
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
ls -l $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!
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 yo
wand, and make AC_PROG_FC
do everything, 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]
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]
t; Since all these manuals contain cross-references, I
need the links to work so I can post the entire set of manuals 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]
t
"netcdf.html." Since all these manuals contain cross-references, I
need the links to work so I can post the entire set of manuals 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]
rom the command line, all
works as expected:
$ libsrc/t_nc
dimrename: IXX
nc_close ret = 0
reopen id = 3 for filename test.nc
NC done
GATTR VAR VATTR
VATTR
VATTR
...
So how do I get automake to use the shell script, and not the .exe,
when it builds the Makefile that runs the tests?
Thanks!
Ed
-
lly:
http://sources.redhat.com/automake/automake.html#EXEEXT
However it looks like this should not happen on mingw builds, because
apparently some tool is constructing the shell script wrappers which
make the EXEEXT unneeded.
Thanks,
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
Bob Friesenhahn <[EMAIL PROTECTED]> writes:
> On Wed, 26 Jul 2006, Ed Hartnett wrote:
>>
>> I have no check target per se, just the automake primary. I have:
>>
>> # Test the netCDF-3 library.
>> check_PROGRAMS = t_nc
>> TESTS = ${chec
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]
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.g
, 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]
e
distribution, it rebuilds them all. I don't want it to rebuild the
files, just to install the ones I've already shipped.
Any thoughts on this?
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
) Solution is to put
> netcdf.dvi in EXTRA_DIST as well.
Yep, you sure hit it that time! Works like a charm now!
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
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 in
t will confuse many users...
Thanks, and thanks for the fine freeware too!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
hecky/n3_new/install/lib64
> |
> | Modules have been installed in:
> |/shecky/n3_new/install/lib/foopkg/
> [...]
>
> I don't see a trivial way to do this in Automake/Libtool 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]
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]
The next thing I am going to try is to put the texi documentation into
it's own directory, and see if I can cause the top level makefile to
just skip that directory. But this will be dorky, because I still have
to install built docs...
Any thoughts appreciated...
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
]
=
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 Har
Brian Dessent <[EMAIL PROTECTED]> writes:
> Ed Hartnett wrote:
>
>> TESTFILES = nctst tst_failure
>> [...]
>> TESTS = $(TESTFILES) run_nc_tests.sh
>> XFAIL_TESTS = tst_failure
>> [...]
>> XFAIL: tst_failure
>> [...]
>> FAIL: tst_failure
xe
[EMAIL PROTECTED] ~/ming/tmp6/mindll-1.0
$ echo $?
127
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
RFLAGS = -X64 cru
But anyway, it's not working. Anyone who can suggest what I am doing
wrong here would be very helpful...
Thanks!
Ed
--
Ed Hartnett -- [EMAIL PROTECTED]
BST(ARFLAGS, ["$ARFLAGS"])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT()
Makefile.am:
AM_ARFLAGS = $(ARFLAGS)
lib_LTLIBRARIES = libsmall.la
libsmall_la_SOURCES = small.c
small.c:
int
fun()
{
return 42;
}
--
Ed Hartnett -- [EMAIL PROTECTED]
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
Ralf Wildenhues writes:
> Hi Ed,
>
> * Ed Hartnett wrote on Fri, Nov 13, 2009 at 05:14:24PM CET:
>> The netCDF C library uses other libraries, for example the hdf5,
>> hdf5_hl, and zlib libraries. I was building the library without
>> explicitly linking to these oth
rror 1
make[1]: *** Waiting for unfinished jobs
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
make[1]: *** [netcdf.pdf] Error 1
/usr/bin/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
netcdf.3 .
cp $(top_srcdir)/fortran/netcdf_f77.3 .
cp $(top_srcdir)/f90/netcdf_f90.3 .
tar cf netcdf_man.tar netcdf.3 netcdf_f77.3 netcdf_f90.3 ncdump.1
ncgen.1 ncgen3.1
gzip -f netcdf_man.tar
zip netcdf_man netcdf.3 netcdf_f77.3 netcdf_f90.3 ncdump.1 ncgen.1
ncgen3.1
tar cf netcdf_docs.tar $(html_dirs) *.pdf *.txt *.html *.tar.gz *.zip
gzip -f netcdf_docs.tar
--
Ed Hartnett -- e...@unidata.ucar.edu
61 matches
Mail list logo