bug#11204: automake-1.11.4 test failures, powerpc-darwin8

2012-04-12 Thread David Fang
= 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

Re: How do I configure Makefile.am to run a program?

2008-04-02 Thread David Fang
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

Re: Bison C++ parsers and ylwrap

2008-03-02 Thread David Fang
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!)

Re: can 'make', can 'make dist', but can't 'make distcheck'

2007-09-29 Thread David Fang
--- 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

duplicate installdirs bug

2007-06-14 Thread David Fang
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 ==

Re: autotools on mac os x

2007-05-06 Thread David Fang
> > 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

Re: running tests in parallel

2007-02-07 Thread David Fang
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!)

Re: Preprocessing C++ only

2007-01-08 Thread David Fang
> 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

Re: autotools not suited to proprietary development?

2006-10-04 Thread David Fang
> 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

Re: distdir unset in subdir Makefiles?

2006-08-28 Thread David Fang
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

distdir unset in subdir Makefiles?

2006-08-24 Thread David Fang
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

Re: robustifying remove_distdir?

2006-06-30 Thread David Fang
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<-

robustifying remove_distdir?

2006-06-30 Thread David Fang
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!)

Re: Complex commands in TESTS

2006-03-30 Thread David Fang
> 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'

Re: Automake problem: one makefile for everything

2005-12-14 Thread David Fang
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

Re: How to remove "-O2" on Makefile generated by autoconf/make

2005-11-29 Thread 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

Re: Hide issued compiler commands

2005-08-13 Thread 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

Re: broken make distclean...

2005-06-26 Thread 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

Re: Need a way to pass options to libtool

2004-08-13 Thread 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