Problems at cross-compiling pkg-config-0.23

Enrico Weigelt weigelt at metux.de
Tue Nov 10 04:46:37 PST 2009


* John Taylor <pi00100100 at gmail.com> schrieb:
> Hello,
> 
> I'm trying to cross-compile pkg-config-0.23. The host system is
> i686-unknown-linux-gnu, while the target system is
> x86_64-unknown-linux-gnu. After having issued the configure
> --prefix=/mnt/clfs/cross-tools/usr --build=i686-unknown-linux-gnu
> --host=x86_64-unknown-linux-gnu I get the following error message:
> 
> checking for extra flags to get ANSI library prototypes... configure:
> error: cannot run test program while cross compiling
> See `config.log' for more details.
> configure: error: ../../pkg-config-0.23/glib-1.2.10/configure failed
> for glib-1.2.10

The bundled glib-1.2.10 is not crosscompile'able.

Look at glib-1.2.10/configure.ac: once you use AC_TRY_RUN, your
package cannot crosscompile. A very common standard error in
autoconf-based packages ...


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------


More information about the pkg-config mailing list