cross problem at gpgme
marcus.brinkmann at ruhr-uni-bochum.de
Fri Mar 13 22:41:57 CET 2009
Oguz Yarimtepe wrote:
> I have a cross compile problem of gpgme. Although i had set the
> LD_LIBRARY_PATH and LDFLAGS i am getting errors at the make process of
> Below is how i compile:
> ./configure --host="sh4-linux" --prefix="$ROOTDIR/usr"
> --enable-maintainer-mode --without-pth-test
> --with-gpg="$ROOTDIR/usr/bin" --with-gpgsm="$ROOTDIR/usr/bin"
> --disable-largefile --with-pth=$ROOTDIR/usr
Oooh, you got some paths wrong.
1. --prefix must be the *host* path. This means that it should just be
"/usr", not $ROOTDIR/usr. But this breaks make install, so ...
2. ... you need to specify $ROOTDIR with make install:
$ make install DESTDIR="$ROOTDIR"
3. --with-gpg and --with-gpgsm also must be *host* paths, and in fact the full
filename to the gpg binary, so:
These files do not need to exist. They are not used at build time (unless
you run the test suite, which is disabled when cross compiling).
The --with-pth spec is fine.
More information about the Gnupg-devel