On Tuesday 14 of October 2008 10:45:13 Koen Kooi wrote: > > GDAL is already in OE, so why not use OE instead of the toolchain? >
Firstly, because I don't want to spend several hours by compiling OE. Secondly, because this is only example of problems with GRASS compilation and I want to learn how to solve it. For example, there is similar error in compilation of GRASS itself: NOTE: Running /home/blackhex/Projekty/MokoGRASS/grass/configure --build=x86_64-linux --host=arm-angstrom-linux-gnueabi --target=arm-angstrom-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --enable-mainainer-mode ... configure: WARNING: unrecognized options: --enable-mainainer-mode configure: loading site script /usr/local/openmoko/arm/site-config checking build system type... x86_64-pc-linux-gnu checking host system type... arm-angstrom-linux-gnueabi checking for arm-angstrom-linux-gnueabi-gcc... ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t accepts -g... yes checking for ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t option to accept ISO C89... none needed /home/blackhex/Projekty/MokoGRASS/grass/configure: line 2974: LOC_EXEEXT: command not found /home/blackhex/Projekty/MokoGRASS/grass/configure: line 2984: syntax error near unexpected token `,' /home/blackhex/Projekty/MokoGRASS/grass/configure: line 2984: `LOC_CHECK_FP_INF_NAN(,' FATAL: oe_runconf failed The problem is caused because there are several local macros defined in aclocal.m4 which is overwritten by om-config. I've moved them to m4/local.m4 file but it is not included in autoreconf execution even if I use EXTRA_AUTORECONF="-I/home/blackhex/Projekty/MokoGRASS/grass/m4" om-conf grass command and AC_CONFIG_MACRO_DIR([m4]) in configure.in. If you think that these kind of errors will not occur with OE, I'll try to go this way... ? -- Ing. Radek Bartoň Faculty of Information Technology Department of Computer Graphics and Multimedia Brno University of Technology E-mail: [EMAIL PROTECTED] Web: http://blackhex.no-ip.org Jabber: [EMAIL PROTECTED] -- Ing. Radek Bartoň Faculty of Information Technology Department of Computer Graphics and Multimedia Brno University of Technology E-mail: [EMAIL PROTECTED] Web: http://blackhex.no-ip.org Jabber: [EMAIL PROTECTED] _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community