Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Greek
  • Search

Problem with compiling nss for gaim

Καλώs ήρθατε στο ελληνικό φόρουμ του Gentoo!
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
Author
Message
ksenos
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Thu Nov 06, 2003 11:19 pm
Location: Athens, Greece
Contact:
Contact ksenos
Website

Problem with compiling nss for gaim

  • Quote

Post by ksenos » Sun Jan 09, 2005 11:52 am

Γεια και χαρά και χρόνια πολλά σε όλους.

Είπα να βάλω την τελευταία έκδοση του gaim αλλά μου το έκανε σαλάτα λίγο. Κανοντας manually update τα απαιτούμενα portage entries (56K ακόμα :() και στην συνέχεια εγκατάσταση του gaim μου πέταξε ένα error κατα το compile του nss. Παραθέτω ένα μέρος απο το output μήπως και μπορεί κάποιος να μου πεί που οφείλεται.

Code: Select all

gcc -shared -Wl,-soname -Wl,libsoftokn3.so -Wl,--version-script,Linux2.6_x86_glibc_PTH_OPT.OBJ/softokn.def -o Linux2.6_x86_glibc_PTH_OPT.OBJ/libsoftokn3.so Linux2.6_x86_glibc_PTH_OPT.OBJ/alghmac.o Linux2.6_x86_glibc_PTH_OPT.OBJ/dbinit.o Linux2.6_x86_glibc_PTH_OPT.OBJ/dbmshim.o Linux2.6_x86_glibc_PTH_OPT.OBJ/ecdecode.o Linux2.6_x86_glibc_PTH_OPT.OBJ/fipstest.o Linux2.6_x86_glibc_PTH_OPT.OBJ/fipstokn.o Linux2.6_x86_glibc_PTH_OPT.OBJ/keydb.o Linux2.6_x86_glibc_PTH_OPT.OBJ/lowcert.o Linux2.6_x86_glibc_PTH_OPT.OBJ/lowkey.o Linux2.6_x86_glibc_PTH_OPT.OBJ/lowpbe.o Linux2.6_x86_glibc_PTH_OPT.OBJ/padbuf.o Linux2.6_x86_glibc_PTH_OPT.OBJ/pcertdb.o Linux2.6_x86_glibc_PTH_OPT.OBJ/pk11db.o Linux2.6_x86_glibc_PTH_OPT.OBJ/pkcs11.o Linux2.6_x86_glibc_PTH_OPT.OBJ/pkcs11c.o Linux2.6_x86_glibc_PTH_OPT.OBJ/pkcs11u.o Linux2.6_x86_glibc_PTH_OPT.OBJ/rawhash.o Linux2.6_x86_glibc_PTH_OPT.OBJ/rsawrapr.o Linux2.6_x86_glibc_PTH_OPT.OBJ/softkver.o Linux2.6_x86_glibc_PTH_OPT.OBJ/tlsprf.o   ../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libfreebl.a ../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libsecutil.a ../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/libdbm.a  -L../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib/ -L/usr//nspr/ -lplc4 -lplds4 -lnspr4
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lplc4
collect2: ld returned 1 exit status
make[2]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/libsoftokn3.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/nss/lib/softoken'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/var/tmp/portage/nss-3.9.2-r2/work/nss-3.9.2/mozilla/security/nss/lib'
make: *** [libs] Error 2
Ευχαριστώ πολύ.

Κώστας
Honor guide me...
Top
menace
n00b
n00b
Posts: 47
Joined: Thu Dec 25, 2003 9:22 pm

  • Quote

Post by menace » Sun Jan 09, 2005 2:22 pm

απο οτι βλέπω το compile σπάει όταν πάει να κάνει link με το libplc4.so

στο σύστημά μου κάνω:

Code: Select all

[~@ H:5 RC:OK root]#locate libplc4.so
/opt/OpenOffice.org/program/libplc4.so
/usr/aw/maya6.0/lib/libplc4.so
/usr/lib/nspr/libplc4.a
/usr/lib/nspr/libplc4.so
/usr/lib/MozillaFirefox/libplc4.so
/usr/lib/mozilla/libplc4.so
λογικά ο linker ψάχνε στο /lib , /usr/lib και /usr/local/lib.(ανάλογα με το /etc/ld.so.conf)
Μάλλον αυτό που θέλεις είναι το /usr/lib/nspr/libplc4.so
Για να δούμε σε ποιό ebuild ανοίκει το αρχείο αυτό:

Code: Select all

[~@ H:5 RC:OK root]# qpkg -f /usr/lib/nspr/libplc4.so
dev-libs/nspr *
Δες αν έχεις το nspr (ή μήπως θέλει upgrade??)

Ενναλακτικά, αν έχεις ήδη το libplc4.so μπορείς να κάνεις symlink το αρχείο σε ένα directory που είναι ήδη στο /etc/ld.so.conf ή να προσθέσεις το directory που βρίσκεται το libplc4.so στο /etc/ld.so.conf
Top
ksenos
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Thu Nov 06, 2003 11:19 pm
Location: Athens, Greece
Contact:
Contact ksenos
Website

  • Quote

Post by ksenos » Sun Jan 09, 2005 3:41 pm

Δυστυχώς δεν μου δούλεψε ούτε έτσι (με προσθήκη του path στο /etc/ld.so.conf).

Παρατήρησα οτι μου βγάζει και ένα ακόμα error στην αρχή.

Code: Select all

/usr/lib/portage/bin/ebuild.sh: line 1: get_libdir: command not found
Το παραπάνω μου το εμφανίζει κατά την έναρξη του compile 5 φορες συνεχόμενες (ίσως ψάχνει και άλλα libs?)

Το qpkg που βρίσκεται? Μήπως επειδη το portage μου είναι από την έκδοση 2004.2 με χειροκίνητες προσθήκες έχω τέτοια προβλήματα?
Honor guide me...
Top
menace
n00b
n00b
Posts: 47
Joined: Thu Dec 25, 2003 9:22 pm

  • Quote

Post by menace » Sun Jan 09, 2005 4:05 pm

το qpkg είναι μέρος του gentoolkit.

τώρα για τα υπόλοιπα προβλήματα δεν μπορώ να πώ και πολλά.

Ισως να δοκιμάσεις να βγάλεις το path που έβαλες στο /etc/ld.so.conf και να κάνεις emerge το dev-libs/nspr ?
Top
ksenos
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Thu Nov 06, 2003 11:19 pm
Location: Athens, Greece
Contact:
Contact ksenos
Website

  • Quote

Post by ksenos » Sun Jan 09, 2005 4:43 pm

Έκανα και το παραπάνω αλλά...

Τελικα όμως διορθώθηκε κάνοντας ένα link του /usr/lib/nspr στο /usr/nspr. Το κακό είναι οτι το πρόβλημα μετατέθηκε αλλού. Αφού έκανε compile με επιτυχία το gaim έχει προβλήματα με το gaim-encryption το οποίο μου πετάει τα παρακάτω errors.

Code: Select all

 gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\" -DDATADIR=\"/usr/share\" -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -O2 -march=i686 -c config_ui.c  -fPIC -DPIC -o .libs/config_ui.o
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\" -DDATADIR=\"/usr/share\" -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -O2 -march=i686 -c ge_blist.c  -fPIC -DPIC -o .libs/ge_blist.o
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:33:19: keyhi.h: No such file or directory
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:36: error: syntax error before "SECKEYPrivateKey"
rsa_nss.h:36: warning: no semicolon at end of struct or union
rsa_nss.h:37: warning: type defaults to `int' in declaration of `pub'
rsa_nss.h:37: warning: data definition has no type or storage class
rsa_nss.h:39: error: syntax error before '}' token
rsa_nss.h:39: warning: type defaults to `int' in declaration of `RSA_NSS_KEY'
rsa_nss.h:39: warning: data definition has no type or storage class
In file included from config_ui.c:31:
cryptproto.h:32: error: syntax error before "RSA_NSS_KEY"
cryptproto.h:32: warning: no semicolon at end of struct or union
cryptproto.h:33: warning: type defaults to `int' in declaration of `proto_union'
cryptproto.h:33: warning: data definition has no type or storage class
In file included from config_ui.c:32:
keys.h:35: error: syntax error before "proto_union"
keys.h:35: warning: no semicolon at end of struct or union
keys.h:43: error: syntax error before '}' token
config_ui.c: In function `config_do_regen':
config_ui.c:113: error: dereferencing pointer to incomplete type
config_ui.c: In function `GE_get_config_frame':
config_ui.c:331: error: dereferencing pointer to incomplete type
config_ui.c:337: error: dereferencing pointer to incomplete type
config_ui.c:339: error: dereferencing pointer to incomplete type
config_ui.c:348: error: dereferencing pointer to incomplete type
config_ui.c:354: error: dereferencing pointer to incomplete type
config_ui.c:356: error: dereferencing pointer to incomplete type
make[2]: *** [config_ui.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\" -DDATADIR=\"/usr/share\" -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -O2 -march=i686 -c ge_blist.c -o ge_blist.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/gaim-encryption-2.32-r1/work/gaim-encryption-2.32'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gaim-encryption-2.32-r1/work/gaim-encryption-2.32'
make: *** [all-recursive-am] Error 2
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/gaim-encryption-2.32-r1/work/gaim-encryption-2.32'
Making all in po
make[2]: Entering directory `/var/tmp/portage/gaim-encryption-2.32-r1/work/gaim-encryption-2.32/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gaim-encryption-2.32-r1/work/gaim-encryption-2.32/po'
Making all in intl
make[2]: Entering directory `/var/tmp/portage/gaim-encryption-2.32-r1/work/gaim-encryption-2.32/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gaim-encryption-2.32-r1/work/gaim-encryption-2.32/intl'
make[2]: Entering directory `/var/tmp/portage/gaim-encryption-2.32-r1/work/gaim-encryption-2.32'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.  -DLOCALEDIR=\"/usr/share/locale\"     -DLIBDIR=\"/usr/lib/gaim/\"          - DDATADIR=\"/usr/share\"                                         -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include                  -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -O2 -march=i686 -c config_ui.c
 gcc -DHAVE_CONFIG_H -I. -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib/gaim/\" -DDATADIR=\"/usr/share\" -I/usr/include/gaim -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -O2 -march=i686 -c config_ui.c  -fPIC -DPIC -o .libs/config_ui.o
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:33:19: keyhi.h: No such file or directory
In file included from cryptproto.h:24,
                 from config_ui.c:31:
rsa_nss.h:36: error: syntax error before "SECKEYPrivateKey"
rsa_nss.h:36: warning: no semicolon at end of struct or union
rsa_nss.h:37: warning: type defaults to `int' in declaration of `pub'
rsa_nss.h:37: warning: data definition has no type or storage class
rsa_nss.h:39: error: syntax error before '}' token
rsa_nss.h:39: warning: type defaults to `int' in declaration of `RSA_NSS_KEY'
rsa_nss.h:39: warning: data definition has no type or storage class
In file included from config_ui.c:31:
cryptproto.h:32: error: syntax error before "RSA_NSS_KEY"
cryptproto.h:32: warning: no semicolon at end of struct or union
cryptproto.h:33: warning: type defaults to `int' in declaration of `proto_union'
cryptproto.h:33: warning: data definition has no type or storage class
In file included from config_ui.c:32:
keys.h:35: error: syntax error before "proto_union"
keys.h:35: warning: no semicolon at end of struct or union
keys.h:43: error: syntax error before '}' token
config_ui.c: In function `config_do_regen':
config_ui.c:113: error: dereferencing pointer to incomplete type
config_ui.c: In function `GE_get_config_frame':
config_ui.c:331: error: dereferencing pointer to incomplete type
config_ui.c:337: error: dereferencing pointer to incomplete type
config_ui.c:339: error: dereferencing pointer to incomplete type
config_ui.c:348: error: dereferencing pointer to incomplete type
config_ui.c:354: error: dereferencing pointer to incomplete type
config_ui.c:356: error: dereferencing pointer to incomplete type
make[2]: *** [config_ui.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gaim-encryption-2.32-r1/work/gaim-encryption-2.32'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gaim-encryption-2.32-r1/work/gaim-encryption-2.32'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: x11-plugins/gaim-encryption-2.32-r1 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! Make failed
!!! If you need support, post the topmost build error, NOT this status message.
Χάος, ε? Τουλάχιστον εγώ δεν μπορώ να βγάλω άκρη :oops: :cry:
Honor guide me...
Top
menace
n00b
n00b
Posts: 47
Joined: Thu Dec 25, 2003 9:22 pm

  • Quote

Post by menace » Sun Jan 09, 2005 5:02 pm

Δεν μπορεί να βρεί το /usr/include/nss/keyhi.h include file

Αυτό απο οτι βλέπω ανοίκει στο dev-libs/nss

Αν δεν το έχεις (που μάλλον δεν το έχεις) πρέπει να το βάλεις.

Κανονικά αυτά πρέπει να τα κάνει μονο του το portage. Οπως είπες το έκανες update στο χέρι, οπότε μάλλον έχεις δημιουργήσει προβλήματα.
Πάντως ότι αλλαγές και να κάνεις θα χαθούν με το επόμενο sync
Top
ksenos
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Thu Nov 06, 2003 11:19 pm
Location: Athens, Greece
Contact:
Contact ksenos
Website

  • Quote

Post by ksenos » Mon Jan 10, 2005 9:12 am

Και όμως υπάρχει :( :( :(

Θα την βρω την άκρη που θα πάει. Ευχαριστώ πολύ πάντως :D
Honor guide me...
Top
ksenos
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Thu Nov 06, 2003 11:19 pm
Location: Athens, Greece
Contact:
Contact ksenos
Website

  • Quote

Post by ksenos » Mon Jan 10, 2005 9:19 am

Το πρόβλημα λύθηκε τελικα. Αλλό ένα symlink του /usr/nss στο /usr/lib/nss. Μάλλον τα εγκαθιστά το portage σε "λάθος" σημεία τα πακέτα :roll:
Honor guide me...
Top
ksenos
Apprentice
Apprentice
User avatar
Posts: 164
Joined: Thu Nov 06, 2003 11:19 pm
Location: Athens, Greece
Contact:
Contact ksenos
Website

  • Quote

Post by ksenos » Mon Jan 10, 2005 10:32 am

Τελικά δούλεψε μόνο χρησιμοποιώντας το gnutls. Έπρεπε να γράψω στο /etc/portage/package.use "net-im/gaim gnutls".

Κάνοντας compile από την αρχή το "τιμημένο" δούλεψε αυτή την φορά. :D
Honor guide me...
Top
Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “Greek”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic