=
make[1]: *** [test-suite.log] Error 1
make: *** [recheck] Error 2
Log file attached.
Fang
--
David Fang
http://www.csl.cornell.edu/~fang/
automake-1.11.4-powerpc-darwin8-recheck.log.bz2
Description: BZip2 compressed data
just
that output phase, config.status.)
And if you want the target to always be up-to-date,
add it to BUILT_SOURCES=, or all-local:, as others suggested.
I let 'make' take care of any dependencies, basically.
HTH,
Fang
David Fang
Computer Systems Laboratory
Electrical & Compute
C++. I've been doing this since yacc (skeleton
1.14?) and bison 1.35.
Fang
David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
-- (2400 baud? Netscape 3.0?? lynx??? No problem!)
---
just guessing ? could make distcheck be using something like a very
demanding, 'no cast warnings allowed' or some '-Werror' compiler flag ?
distcheck doesn't add anything to your flags.
Sometimes it helps to log distcheck to a file for debugging
Hi,
With automake 1.9.6, I'm getting distcheck failures during the
install phase (or just during non-distcheck make install):
= reduced Makefile.am =
# let package name == 'yoyodyne'
foodir = $(pkgdatadir)/foo
foo_DATA = file1
dist_foo_DATA = file2
==
> > Could you give me an hand, i have been searching for 2 entire days..
>
> Try Fink.
>
> http://fink.sourceforge.net
FWIW, fink has done wonders for my open-source software addiction. :)
When being prompted through the configuration process, I recommend
enabling the 'unstable' tree which conta
commend doing this for any
reasonably large test suite.
Is this enough to work with, or should I post a more concrete example?
Fang
David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
-- (2400 baud? Netscape 3.0?? lynx??? No problem!)
> SUFFIXES = .i
> noinst_DATA = Quadratic.i
> .cpp.i:
> $(CPP) $(CPPFLAGS) -E -o $@ $<
Hi,
Sometimes it is useful to distinguish C from C++ preprocessed
files, I use .ii for C++ and .i for C. If you want to retain the
CFLAGS/CXXFLAGS/CPPFLAGS from configure, then it's convenient to
> I think you're confusing the idea of a build system for portable
> software (something the autotools suite can help with) and an
> installer (or package if you're installing onto a system that has a
> package manager). From a Windows perspective, it's the same as the
> difference between Visual
any case, it's not too difficult for me to add my own
target, say 'distdir-subdir' and pass the
$(PACKAGE)-$(VERSION)[/$(subdir)] paths in that way, calling make
recursively. I have a global Makefile.include that is include-inlined
into every Makefile.in by automake for various useful v
Hi,
I've noticed that the distdir variable in generated Makefile.in's
only appears in the top-level Makefile.in, however, it is not set in
subdirectories' Makefile.in's. Is this intentional? According to the top
Makefile.in, distdir and top_distdir are passed down recursively during a
"mak
dir = \
{ test ! -d $(distdir) \
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
- && rm -fr $(distdir); }; }
+ && { until rm -fr $(distdir); do :; done; }; }; }
endif %?TOPDIR_P%
.PHONY: distdir
--->8 patch snip 8<-
ng several times until removal succeeds.
Is there a way of making the "rm -rf" more robust? Maybe with some sort
of "while distdir exists, try removing" loop?
David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
-- (2400 baud? Netscape 3.0?? lynx??? No problem!)
> is there a way to have automake execute complex commands as tests? For
> example, currently I use something like:
>
> TESTS = numberAtoms input.sh
>
> But it would be nice to have, for instance, a command with arguments like
> input.sh a b c
> executed; is that possible, when yes, how? I'
binary -> depends on modules/libmod.la and libmain.la
> modules/libmod.la -> depends on libmain.la
>
>
> If I use separate Makefiles, I'm going to need three to get around the
> dependencies and to get the build order right, and that's going to get
> ugly.
David Fang
oving it manually everytime on Makefile?
Hi,
I think a combination of
AM_CXXFLAGS =
and
configure CXXFLAGS=""
will work.
Probably just the latter is enough.
I believe -g and -O2 are picked up by default by autoconf when nothing is
specified.
David Fang
ividual shell
commands with @ to suppress echoing in the individual target scripts.
If you're using libtool with automake, add to configure.ac:
LIBTOOL="$LIBTOOL --silent" to keep libtool quiet unconditionally. That
should cover most things. What remain are explicit echo commands.
HTH.
David Fang
directory `/home/ed/netcdf-3/libsrc'
> make: *** [
> distclean-recursive] Error 1
>
> I've got no clue what's going on here.
Hope this helps.
David Fang
Hi,
I ran across a thread about adding options to libtool in automake
or autoconf (since I was looking for the same answer myself). (Last post
May 29, 2004) I've devised a little autoconf solution that may help:
In configure.in, somwhere after AC_PROG_LIBTOOL, add (e.g.):
LIBTOOL="$LIBT
19 matches
Mail list logo