Raphael Neider wrote: > Hi, > > >> 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. >> > > You might need to install libtool, glibtool, libtool-dev, libtool-devel, > glibtool-devel or whatever package (does MacOS have packages?!?) contains > libtool.m4 (or glibtool.m4) and make it accessible in aclocal's search path > (which includes /usr/share/aclocal, use aclocal --print-ac-dir to find > out). > If you do not have libtool.m4 (or glibtool.m4) providing the > AC_PROG_LIBTOOL > and AM_PROG_LIBTOOL macros, you need to get them somewhere else. > I could send you mine and see if that helps... but there must be a right > way > to fix this. > >
Raphael, you are right! I actually installed on ppc Mac OS X with the following Makefile: ----8<-------- PACKAGE=libtool VERSION=$(shell expr download/$(PACKAGE)-*.tar.bz2 : 'download/$(PACKAGE)-\(.*\).tar.bz2') LIBTOOL_DIR=$(PACKAGE)-$(VERSION) .PHONY: all all: $(PACKAGE)-install.tag clean $(PACKAGE)-download.tag: wget -P download http://ftp.gnu.org/gnu/$(PACKAGE)/$(PACKAGE)-2.2.tar.bz2 touch $@ $(PACKAGE)-unpack.tag: $(PACKAGE)-download.tag tar xjvf download/$(LIBTOOL_DIR).tar.bz2 touch $@ $(PACKAGE)-configure.tag: $(PACKAGE)-unpack.tag cd $(LIBTOOL_DIR) && \ ./configure --prefix=$(LOCAL_DIR) touch $@ $(PACKAGE)-make.tag: $(PACKAGE)-configure.tag $(MAKE) -C $(LIBTOOL_DIR) touch $@ $(PACKAGE)-install.tag: $(PACKAGE)-make.tag $(MAKE) -C $(LIBTOOL_DIR) install touch $@ clean: rm -rf $(LIBTOOL_DIR) *.tag ---->8-------- I think that now the mystery is solved. Ufff! Thanks a lot, Raphael! Borut ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user