From: Borut R. <bor...@si...> - 2009-02-10 14:00:22
|
Kusti, below is a Makefile I used to compile gpsim on ppc Mac OS X: automake is without --force-missing. Try automake is without --force-missing. If it won't help, try to get a fresh version from svn and retry. If it still won't work, then I'm out of ideas :-( . Borut ----8<-------- include ../packages.mk ifeq ($(OS), Darwin) LIBTOOLIZE = glibtoolize else LIBTOOLIZE = libtoolize endif .PHONY: all all: gpsim-install.tag clean gpsim-download.tag: svn --force export https://gpsim.svn.sourceforge.net/svnroot/gpsim/trunk gpsim touch $@ gpsim-configure.tag: gpsim-download.tag cd gpsim && \ $(LIBTOOLIZE) --force && \ aclocal && \ autoheader && \ automake --add-missing && \ autoconf && \ ./configure --prefix=$(LOCAL_DIR) --disable-gui CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" touch $@ gpsim-make.tag: gpsim-configure.tag $(MAKE) -C gpsim touch $@ gpsim-install.tag: gpsim-make.tag $(MAKE) -C gpsim install touch $@ clean: rm -rf gpsim *.tag ---->8-------- Kustaa Nyholm wrote: > Hi, > > that is exactly what I did (if you look the end of my previous mail). > > glibtoolize , aclocal and autoheader calls succeeds as far as I > understand > but automake fails as follows (snipped it, see the comple list at the > end of mail): > > nyholkumac2:trunk nyholku$ glibtoolize --force > You should update your `aclocal.m4' by running aclocal. > nyholkumac2:trunk nyholku$ aclocal > configure.ac:107: warning: macro `AM_PROG_LIBTOOL' not found in > library > nyholkumac2:trunk nyholku$ autoheader > nyholkumac2:trunk nyholku$ automake --force-missing --add-missing > cli/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined > cli/Makefile.am:5: The usual way to define `LIBTOOL' is to add > `AC_PROG_LIBTOOL' > cli/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' > again. > cli/Makefile.am:5: If `AC_PROG_LIBTOOL' is in `configure.ac', make > sure > cli/Makefile.am:5: its definition is in aclocal's search path. > > So it seems I'm missing something (AM_PROG_LIBTOOL?) but I don't > know what is the proper way to fix it. My previous attempts with > other projectes of similar scope and tool chain discrourage me to > just wildly hack...it never seems to get me anywhere! > > br Kusti > > > >>>> bor...@si... 10.2.2009 13:15:31 >>> >>>> > Kusta, > > try the following: > > $ glibtoolize --force > $ aclocal > $ autoheader > $ automake --force-missing --add-missing > $ autoconf > $ ./configure > $ make > > Borut > > |