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
>
>
>   
>>>> borut.ra...@siol.net 10.2.2009 13:15:31 >>>
>>>>         
> Kusta,
>
> try the following:
>
> $ glibtoolize --force
> $ aclocal
> $ autoheader
> $ automake --force-missing --add-missing
> $ autoconf
> $ ./configure
> $ make
>
> 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

Reply via email to