On Oct 18, 11:51 pm, Francois Bissey <francois.bis...@canterbury.ac.nz> wrote: > > Hi, > > I am using Pardus 2011 and trying to build sage on it with gcc 4.5.3. > > It aborts installation due to 12 errors while installing =20 > > gnutls-2.2.1.p5. Some part of the log is in Turkish, all they say is > > something like "exiting from directory <directoryname>" And yamak is the > > user's name. > > > I hope you can help me. I pasting the relevant part of install.log down > > below. > > Thank you in advance. > > > mv -f .deps/gnutls_priority.Tpo .deps/gnutls_priority.Plo > > /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H > > -I. -I.. -DLOCALEDIR=\"/home/yamak/sage-4.7.1/local/share/locale\" > > -I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../libextra > > -I../libextra/openpgp/ -I../libextra/opencdk > > -I/home/yamak/sage-4.7.1/local/include -I./minitasn1 > > -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE > > -pipe -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT > > -D_THREAD_SAFE -Wno-pointer-sign -MT gnutls_hash_int.lo -MD -MP -MF > > .deps/gnutls_hash_int.Tpo -c -o gnutls_hash_int.lo gnutls_hash_int.c > > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. > > -DLOCALEDIR=\"/home/yamak/sage-4.7.1/local/share/locale\" -I../lgl -I../lgl > > -I../includes -I../includes -I./x509 -I../libextra -I../libextra/openpgp/ > > -I../libextra/opencdk -I/home/yamak/sage-4.7.1/local/include -I./minitasn1 > > -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE > > -pipe -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT > > -D_THREAD_SAFE -Wno-pointer-sign -MT gnutls_hash_int.lo -MD -MP -MF > > .deps/gnutls_hash_int.Tpo -c gnutls_hash_int.c -fPIC -DPIC -o > > .libs/gnutls_hash_int.o > > mv -f .deps/gnutls_hash_int.Tpo .deps/gnutls_hash_int.Plo > > /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H > > -I. -I.. -DLOCALEDIR=\"/home/yamak/sage-4.7.1/local/share/locale\" > > -I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../libextra > > -I../libextra/openpgp/ -I../libextra/opencdk > > -I/home/yamak/sage-4.7.1/local/include -I./minitasn1 > > -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE > > -pipe -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT > > -D_THREAD_SAFE -Wno-pointer-sign -MT gnutls_cipher_int.lo -MD -MP -MF > > .deps/gnutls_cipher_int.Tpo -c -o gnutls_cipher_int.lo gnutls_cipher_int.c > > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. > > -DLOCALEDIR=\"/home/yamak/sage-4.7.1/local/share/locale\" -I../lgl -I../lgl > > -I../includes -I../includes -I./x509 -I../libextra -I../libextra/openpgp/ > > -I../libextra/opencdk -I/home/yamak/sage-4.7.1/local/include -I./minitasn1 > > -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE > > -pipe -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT > > -D_THREAD_SAFE -Wno-pointer-sign -MT gnutls_cipher_int.lo -MD -MP -MF > > .deps/gnutls_cipher_int.Tpo -c gnutls_cipher_int.c -fPIC -DPIC -o > > .libs/gnutls_cipher_int.o > > mv -f .deps/gnutls_cipher_int.Tpo .deps/gnutls_cipher_int.Plo > > /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H > > -I. -I.. -DLOCALEDIR=\"/home/yamak/sage-4.7.1/local/share/locale\" > > -I../lgl -I../lgl -I../includes -I../includes -I./x509 -I../libextra > > -I../libextra/openpgp/ -I../libextra/opencdk > > -I/home/yamak/sage-4.7.1/local/include -I./minitasn1 > > -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE > > -pipe -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT > > -D_THREAD_SAFE -Wno-pointer-sign -MT gnutls_compress_int.lo -MD -MP -MF > > .deps/gnutls_compress_int.Tpo -c -o gnutls_compress_int.lo > > gnutls_compress_int.c > > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. > > -DLOCALEDIR=\"/home/yamak/sage-4.7.1/local/share/locale\" -I../lgl -I../lgl > > -I../includes -I../includes -I./x509 -I../libextra -I../libextra/openpgp/ > > -I../libextra/opencdk -I/home/yamak/sage-4.7.1/local/include -I./minitasn1 > > -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT -D_THREAD_SAFE > > -pipe -I/home/yamak/sage-4.7.1/local/include -g -O2 -D_REENTRANT > > -D_THREAD_SAFE -Wno-pointer-sign -MT gnutls_compress_int.lo -MD -MP -MF > > .deps/gnutls_compress_int.Tpo -c gnutls_compress_int.c -fPIC -DPIC -o > > .libs/gnutls_compress_int.o > > gnutls_compress_int.c: In function '_gnutls_comp_init': > > gnutls_compress_int.c:119:33: error: 'LZO1X_1_MEM_COMPRESS' undeclared > > (first use in this function) > > gnutls_compress_int.c:119:33: note: each undeclared identifier is reported > > only once for each function it appears in > > gnutls_compress_int.c: In function '_gnutls_compress': > > gnutls_compress_int.c:193:2: error: 'lzo_uint' undeclared (first use in > > this function) > > gnutls_compress_int.c:193:11: error: expected ';' before 'out_len' > > gnutls_compress_int.c:208:7: error: 'out_len' undeclared (first use in this > > function) > > gnutls_compress_int.c:210:13: error: 'LZO_E_OK' undeclared (first use in > > this function) > > gnutls_compress_int.c: In function '_gnutls_decompress': > > gnutls_compress_int.c:307:2: error: 'lzo_uint' undeclared (first use in > > this function) > > gnutls_compress_int.c:307:11: error: expected ';' before 'out_size' > > gnutls_compress_int.c:308:11: error: expected ';' before 'new_size' > > gnutls_compress_int.c:314:2: error: 'out_size' undeclared (first use in > > this function) > > gnutls_compress_int.c:327:6: error: 'new_size' undeclared (first use in > > this function) > > gnutls_compress_int.c:334:17: error: 'LZO_E_OUTPUT_OVERRUN' undeclared > > (first use in this function) > > gnutls_compress_int.c:336:13: error: 'LZO_E_OK' undeclared (first use in > > this function) > > > *** 12 errors, 0 warnings > > make[5]: *** [gnutls_compress_int.lo] Hata 1 > > make[5]: `/home/yamak/sage-4.7.1/spkg/build/gnutls-2.2.1.p5/src/lib' > > dizininden çıkılıyor > > make[4]: *** [all-recursive] Hata 1 > > make[4]: `/home/yamak/sage-4.7.1/spkg/build/gnutls-2.2.1.p5/src/lib' > > dizininden çıkılıyor > > make[3]: *** [all-recursive] Hata 1 > > make[3]: `/home/yamak/sage-4.7.1/spkg/build/gnutls-2.2.1.p5/src' dizininden > > çıkılıyor > > make[2]: *** [all] Hata 2 > > make[2]: `/home/yamak/sage-4.7.1/spkg/build/gnutls-2.2.1.p5/src' dizininden > > çıkılıyor > > failed to build GNUTLS > > > real 1m9.975s > > user 0m36.059s > > sys 0m32.184s > > sage: An error occurred while installing gnutls-2.2.1.p5 > > Please email sage-develhttp://groups.google.com/group/sage-devel > > explaining the problem and send the relevant part of > > of /home/yamak/sage-4.7.1/install.log. Describe your computer, operating > > system, etc. > > If you want to try to fix the problem yourself, *don't* just cd to > > /home/yamak/sage-4.7.1/spkg/build/gnutls-2.2.1.p5 and type 'make check' or > > whatever is appropriate. > > Instead, the following commands setup all environment variables > > correctly and load a subshell for you to debug the error: > > (cd '/home/yamak/sage-4.7.1/spkg/build/gnutls-2.2.1.p5' && > > '/home/yamak/sage-4.7.1/sage' -sh) > > When you are done debugging, you can type "exit" to leave the > > subshell. > > make[1]: *** [installed/gnutls-2.2.1.p5] Hata 1 > > make[1]: `/home/yamak/sage-4.7.1/spkg' dizininden çıkılıyor > > > real 1m13.482s > > user 0m39.386s > > sys 0m32.944s > > Error building Sage. > > make: *** [build] Hata 1 > > Hi, > > it looks like it is trying to build the lzo back end but is missing bits. > Do you have lzo installed on the machine? If so do you have the matching > development package installed? > > Francois
Thank you, that worked. So i'd need to look for libs if any error occurs again. It would be nice to list all the dependencies on manual or something actually. Anyway. Thanks for the help. Peace. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org