Quote: ./configure --host=arm-linux-uclibc CC=arm-linux-uclibc-gcc
to nie zadziałało ale mała przeróbka i poszło
./configure --host=arm CC=arm-linux-uclibc-gcc
w odpowiedzi otrzymałem
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
configure: error:
***
*** libgcrypt was not found. You may want to get it from
*** ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/
***
i teraz tak podany adres to pusty katalog na ftp ale zawsze można libcrypt
ściągnąć stąd
Link
ale to jest kolejny program do kompilacji tyle że nie wiem jak to zrobić żeby skompilować je razem
znalazłem w configure opcje
-with-libgcrypt-prefix=PFX
prefix where LIBGCRYPT is installed (optional)
tyle że nie mogę podać ścieżki do libcrypt zainstalowanego na moim pc bo przecież kompiluje dla arma .
i tu pytanie jak sobie z tym poradzić ?
doszedłem do tego że najpierw skompiluje libcrypt a następnie dopiero gnuTLS gdzie przy konfiguracji podam ścieżkę do wcześniej skompilowanego libcrypt
lecz niestety w odpowiedzi na:
./configure --host=arm CC=arm-linux-uclibc-gcc --prefix=/home/radziu/Pulpit/ARM/libcrypt_ARM/ -q
otrzymuje
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
i niema pojęcia jak to ugryźć [/code]
Ok powyższy problem został rozwiązany po przez zainstalowanie zwykłego gcc i g++
ale pojawił eis kolejny . co prawda config przeszedł bez błędów to podczas kompilacji otrzymałem
make -q
cat: ./.prev-version: No such file or directory
make all-recursive
cat: ./.prev-version: No such file or directory
make[1]: Entering directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6'
Making all in lib
make[2]: Entering directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib'
make all-recursive
make[3]: Entering directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib'
Making all in gl
make[4]: Entering directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib/gl'
make all-recursive
make[5]: Entering directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib/gl'
Making all in tests
make[6]: Entering directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib/gl/tests'
make all-recursive
make[7]: Entering directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib/gl/tests'
make[7]: Leaving directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib/gl/tests'
make[6]: Leaving directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib/gl/tests'
make[5]: Leaving directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib/gl'
make[4]: Leaving directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib/gl'
Making all in po
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/radziu/Pulpit/ARM/gnutls-2.8.6'
make: *** [all] Błąd 2