cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem with cross-compile install

From: Guenter <lists_at_gknw.net>
Date: Tue, 24 Apr 2012 11:14:32 +0200

Hi Yang,
Am 23.04.2012 15:54, schrieb Yang Tse:
> We do nothing funny in our configure script or Makefile.am files
> relative to the 'install' target of generated makefiles. Whatever we
> get is whatever 'automake' decides is appropriate to generate. So in
> case there is something blatantly wrong this should most likely be
> directed to the automake mailing list.
true.

> Are you attempting to run 'make-install' in the cross compiling
> environment or in the actual destination machine? I believe that it is
> in the cross compiling environment in order to allow other build
> processes to locate the cross compiled library.
yes.

> Are you using '--prefix' when running configure?
yes.

> Are you setting DESTDIR environment variable before running 'make install'?
no. I do now use:
--prefix=${IPREFIX} --libdir=${IPREFIX}/lib
which fixes this issue, so I can live with that ...

thanks for looking into it!

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-24