Imam problem sa instalacijom-kompajliranjem PAN newsreadera!
Tačnije, imam problem sa podešavanjem PKG_CONFIG_PATH varijable.
homer:/home/pan-0.128# ./configure
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
…
…
checking for PCRE… yes
checking for pkg-config… (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.7… yes
checking for GLIB - version >= 2.4.0… yes (version 2.12.4)
checking for GMIME… configure: error: Package requirements (gmime-2.0 >= 2.1.0) were not met:
No package ‘gmime-2.0’ found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GMIME_CFLAGS
and GMIME_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
neznam tacno ali mozda ti treba i ovaj paket, ne samo libgmime…
probaj pa javi kako proslo…[/quote]
bio si djelimično u pravu jer imam libgmime (noviju verziju koju kompajler ne prihvata)
međutim, kada pokušam kompajlirati stariju verziju gmime, .configure prođe OK ali kada pokrenem make onda se završi sa sljedećom greškom:
gmime-multipart-encrypted.c: In function ‘g_mime_multipart_encrypted_class_init’:
gmime-multipart-encrypted.c:105: warning: assignment from incompatible pointer type
gmime-multipart-encrypted.c: At top level:
gmime-multipart-encrypted.c:181: error: conflicting types for 'multipart_encrypted_write_to_stream’
gmime-multipart-encrypted.c:57: error: previous declaration of ‘multipart_encrypted_write_to_stream’ was here
make[3]: *** [gmime-multipart-encrypted.lo] Error 1
make[3]: Leaving directory /home/gmime-2.0.0/gmime' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/gmime-2.0.0/gmime’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gmime-2.0.0’
make: *** [all] Error 2
Imam osjećaj da su se mali zeleni urotili protiv mene :o)
Pročitaj nešto o direktorijima na Linux-u, pa će ti biti jasnije šta je “prefix”. Ukratko, na nekom Unix sistemu, standardnu strukturu direktorija (bin,lib,share,tmp,var) možeš imati na više prefixa/poddirektorija.