mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] [patch] gdal build fix


From: Mark Brand
Subject: Re: [Mingw-cross-env-list] [patch] gdal build fix
Date: Mon, 15 Feb 2010 23:03:17 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100111 SUSE/3.0.1-11.1 Thunderbird/3.0.1

> There is a new problem now:
>
> make -C
> '/home/brand/projects/mingw-cross-env.dev/origin.gdal/tmp-gdal/gdal-1.7.1'    
>   
> -j 1 lib-target
> make[2]: Entering directory
> `/home/brand/projects/mingw-cross-env.dev/origin.gdal/tmp-gdal/gdal-1.7.1'
> (cd port; make)
> make[3]: Entering directory
> `/home/brand/projects/mingw-cross-env.dev/origin.gdal/tmp-gdal/gdal-1.7.1/port'
> /bin/sh
> /home/brand/projects/mingw-cross-env.dev/origin.gdal/tmp-gdal/gdal-1.7.1/libtool
> --mode=compile --tag=CXX i686-pc-mingw32-g++ -g -O2  -Wall 
> -DOGR_ENABLED
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/tmp-gdal/gdal-1.7.1/port
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32/include
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32/include
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32/include
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32/include
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32/include
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32/include
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32/include
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32/include
>    
> -I/home/brand/projects/mingw-cross-env.dev/origin.gdal/usr/i686-pc-mingw32/include
>  
> -DHAVE_CURL -DHAVE_LIBZ -c -o cpl_conv.lo cpl_conv.cpp
> /home/brand/projects/mingw-cross-env.dev/origin.gdal/tmp-gdal/gdal-1.7.1/libtool:
> line 152: CDPATH: command not found
> libtool: Version mismatch error.  This is libtool 2.1a, but the
> libtool: definition of this LT_INIT comes from an older release.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.1a
> libtool: and run autoconf again.
> make[3]: *** [cpl_conv.lo] Error 63
> make[3]: Leaving directory
> `/home/brand/projects/mingw-cross-env.dev/origin.gdal/tmp-gdal/gdal-1.7.1/port'
> make[2]: *** [port-target] Error 2
> make[2]: Leaving directory
> `/home/brand/projects/mingw-cross-env.dev/origin.gdal/tmp-gdal/gdal-1.7.1'
> make[1]: *** [build-only-gdal] Error 2
> make[1]: Leaving directory
> `/home/brand/projects/mingw-cross-env.dev/origin.gdal'
>
>
>   

This change makes the build work for me:

diff -r 9f2e0025bfbd src/gdal.mk
--- a/src/gdal.mk       Mon Feb 15 17:37:56 2010 +0100
+++ b/src/gdal.mk       Mon Feb 15 23:01:33 2010 +0100
@@ -20,7 +20,8 @@
 endef

 define $(PKG)_BUILD
-    cd '$(1)' && autoconf
+    cd '$(1)' && libtoolize
+    cd '$(1)' && ./autogen.sh
     # The option '--without-threads' means native win32 threading
without pthread.
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \






reply via email to

[Prev in Thread] Current Thread [Next in Thread]