Re: [gentoo-user] Emerge Tomcat Problem

2006-10-26 Thread Rafael Barrera Oro

Rafael Barrera Oro wrote:


Rafael Barrera Oro wrote:


Bo Ørsted Andresen wrote:


On Tuesday 24 October 2006 17:19, Rafael Barrera Oro wrote:
 


-L/usr/lib/nspr -L/usr/lib/nss
  



[SNIP]
 


ld: cannot find -lnss3
  




What is the output of:

# ls -ld /usr/lib

# ls -l /usr/lib/nss

Also do:

# java-check-environment

report any errors?

 



# ls -ld /usr/lib gives the following output:

drwxr-xr-x  17 root root 4096 Aug 18 22:54 /usr/lib

# ls -l /usr/lib/nss gives no output at all

as for # java-check-environment the output was:

* === Java Environment Checker ===
* The purpose of this script is to check the sanity of your Java 
Environment.
* We have significantly changed and improved the way Java is handled 
in many respects.
* Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml 
for details


* Checking vm_environment_files 
...  [ ok ]


* Checking user_settings ...
* Generation-1 configurations found in ~/.gentoo
* Please run the following to remove them:
$ rm /home/elrafa/.gentoo/java /home/elrafa/.gentoo/java-env 
/home/elrafa/.gento
o/java-env.csh /home/elrafa/.gentoo/java.csh


* You may also need update your ~/.bash_profile
* or ~/.bashrc if they reference these file
* If you choose, you can select a new user VM.
* Otherwise, the system-vm will be used.
* Run 'java-config -L' to see a list of available VMs
* Then run 'java-config -s VM 
choice'  [ !! ]


* Some problems were found. Please follow the instructions above, and 
rerun java-check-environment



so i deleted the indicated files and i am trying again, i will keep 
you posted on how that turns out


thanks for the tip

Rafael

I am sorry to report that i tried to emerge again and it still does 
not work :(


Rafael


Any ideas laides and gentlemen? :D
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge Tomcat Problem

2006-10-26 Thread Bo Ørsted Andresen
On Thursday 26 October 2006 14:34, Rafael Barrera Oro wrote:
 Any ideas laides and gentlemen? :D

Didn't you receive my last mail on this topic?

http://article.gmane.org/gmane.linux.gentoo.user/172898

-- 
Bo Andresen


pgpu6OgJBm682.pgp
Description: PGP signature


Re: [gentoo-user] Emerge Tomcat Problem

2006-10-26 Thread Rafael Barrera Oro
As a matter of fact, i did not, and i dont get it, since is not a common 
thing for me to miss mails. Anyway, i apologize if i disrespected your 
effort to help me :P


the output of

#eselect profile show

is

Current make.profile symlink:
 /usr/portage/profiles/default-linux/amd64/2006.0

and i checked and yes, nss is installed in /usr/lib64/nss, should i make 
a symlink (/usr/lib/nss - /usr/lib64/nss) ?


thanks for your help
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge Tomcat Problem

2006-10-26 Thread Bo Ørsted Andresen
On Thursday 26 October 2006 15:24, Rafael Barrera Oro wrote:
 As a matter of fact, i did not, and i dont get it, since is not a common
 thing for me to miss mails. Anyway, i apologize if i disrespected your
 effort to help me :P

Heh, it seems to happen quite often..

[SNIP]
 Current make.profile symlink:
   /usr/portage/profiles/default-linux/amd64/2006.0

 and i checked and yes, nss is installed in /usr/lib64/nss, should i make
 a symlink (/usr/lib/nss - /usr/lib64/nss) ?
[SNIP]

That will solve the immediate issue, yes. The bigger issue, however, is that 
on that profile /usr/lib should have been a symlink to /usr/lib64.

$ ls -ld /usr/lib
lrwxrwxrwx 1 root root 5 2006-02-22 23:12 /usr/lib - lib64

-- 
Bo Andresen


pgpKIxyA12mkI.pgp
Description: PGP signature


Re: [gentoo-user] Emerge Tomcat Problem

2006-10-26 Thread Rafael Barrera Oro

Bo Ørsted Andresen wrote:


On Thursday 26 October 2006 15:24, Rafael Barrera Oro wrote:
 


As a matter of fact, i did not, and i dont get it, since is not a common
thing for me to miss mails. Anyway, i apologize if i disrespected your
effort to help me :P
   



Heh, it seems to happen quite often..

[SNIP]
 


Current make.profile symlink:
 /usr/portage/profiles/default-linux/amd64/2006.0

and i checked and yes, nss is installed in /usr/lib64/nss, should i make
a symlink (/usr/lib/nss - /usr/lib64/nss) ?
   


[SNIP]

That will solve the immediate issue, yes. The bigger issue, however, is that 
on that profile /usr/lib should have been a symlink to /usr/lib64.


$ ls -ld /usr/lib
lrwxrwxrwx 1 root root 5 2006-02-22 23:12 /usr/lib - lib64

 


even with symlink manually created it wont work! this is a tough one!

gentoo64 lib # ls -al
lrwxrwxrwx   1 root root14 Oct 26 14:10 nss - /usr/lib64/nss

Any other idea? how about replacing lib with a symlink to lib64 ?

Thanks anyway!



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge Tomcat Problem

2006-10-26 Thread Bo Ørsted Andresen
On Thursday 26 October 2006 17:12, Rafael Barrera Oro wrote:
 and i checked and yes, nss is installed in /usr/lib64/nss, should i make
 a symlink (/usr/lib/nss - /usr/lib64/nss) ?
 [SNIP]
 
  That will solve the immediate issue, yes. The bigger issue, however, is
  that on that profile /usr/lib should have been a symlink to /usr/lib64.
 
 $ ls -ld /usr/lib
 lrwxrwxrwx 1 root root 5 2006-02-22 23:12 /usr/lib - lib64

 even with symlink manually created it wont work! this is a tough one!

 gentoo64 lib # ls -al
 lrwxrwxrwx   1 root root14 Oct 26 14:10 nss - /usr/lib64/nss

It still gives the same error?

 Any other idea?

Well, you could replace /usr/lib/nss with /usr/lib64/nss in the ebuild. The
symlink should work though.

$ grep use amd64 -A 1 `portageq portdir`/dev-java/jss/jss-3.4-r1.ebuild
elif use amd64; then
sed -e 's:-L$(DIST)/lib:-L/usr/lib/nspr -L/usr/lib/nss 
-L$(JAVA_HOME)/jre/lib/amd64 -L$(JAVA_HOME)/jre/lib/amd64/server 
-L$(DIST)/lib:' \

 how about replacing lib with a symlink to lib64 ? 

You mean replace /usr/lib with a symlink like it's supposed to be? I certainly
would do that if it was my system but I guess you'd need to move the contents
of /usr/lib to lib64 first. I certainly would take a good look at what /usr/lib
and /usr/lib64 contains first. Would like to make sure I didn't overwrite
something unintentionally...

-- 
Bo Andresen


pgpd06z1gJ66w.pgp
Description: PGP signature


Re: [gentoo-user] Emerge Tomcat Problem

2006-10-25 Thread Bo Ørsted Andresen
On Tuesday 24 October 2006 17:19, Rafael Barrera Oro wrote:
 -L/usr/lib/nspr -L/usr/lib/nss
[SNIP]
ld: cannot find -lnss3

What is the output of:

# ls -ld /usr/lib

# ls -l /usr/lib/nss

Also do:

# java-check-environment

report any errors?

-- 
Bo Andresen


pgpIeTA65tO9k.pgp
Description: PGP signature


Re: [gentoo-user] Emerge Tomcat Problem

2006-10-25 Thread Rafael Barrera Oro

Bo Ørsted Andresen wrote:


On Tuesday 24 October 2006 17:19, Rafael Barrera Oro wrote:
 


-L/usr/lib/nspr -L/usr/lib/nss
   


[SNIP]
 


ld: cannot find -lnss3
   



What is the output of:

# ls -ld /usr/lib

# ls -l /usr/lib/nss

Also do:

# java-check-environment

report any errors?

 



# ls -ld /usr/lib gives the following output:

drwxr-xr-x  17 root root 4096 Aug 18 22:54 /usr/lib

# ls -l /usr/lib/nss gives no output at all

as for # java-check-environment the output was:

* === Java Environment Checker ===
* The purpose of this script is to check the sanity of your Java 
Environment.
* We have significantly changed and improved the way Java is handled in 
many respects.
* Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml 
for details


* Checking vm_environment_files 
...  [ ok ]


* Checking user_settings ...
* Generation-1 configurations found in ~/.gentoo
* Please run the following to remove them:
$ rm /home/elrafa/.gentoo/java /home/elrafa/.gentoo/java-env 
/home/elrafa/.gento
o/java-env.csh /home/elrafa/.gentoo/java.csh


* You may also need update your ~/.bash_profile
* or ~/.bashrc if they reference these file
* If you choose, you can select a new user VM.
* Otherwise, the system-vm will be used.
* Run 'java-config -L' to see a list of available VMs
* Then run 'java-config -s VM 
choice'  [ !! ]


* Some problems were found. Please follow the instructions above, and 
rerun java-check-environment



so i deleted the indicated files and i am trying again, i will keep you 
posted on how that turns out


thanks for the tip

Rafael

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge Tomcat Problem

2006-10-25 Thread Rafael Barrera Oro

Rafael Barrera Oro wrote:


Bo Ørsted Andresen wrote:


On Tuesday 24 October 2006 17:19, Rafael Barrera Oro wrote:
 


-L/usr/lib/nspr -L/usr/lib/nss
  


[SNIP]
 


ld: cannot find -lnss3
  



What is the output of:

# ls -ld /usr/lib

# ls -l /usr/lib/nss

Also do:

# java-check-environment

report any errors?

 



# ls -ld /usr/lib gives the following output:

drwxr-xr-x  17 root root 4096 Aug 18 22:54 /usr/lib

# ls -l /usr/lib/nss gives no output at all

as for # java-check-environment the output was:

* === Java Environment Checker ===
* The purpose of this script is to check the sanity of your Java 
Environment.
* We have significantly changed and improved the way Java is handled 
in many respects.
* Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml 
for details


* Checking vm_environment_files 
...  [ ok ]


* Checking user_settings ...
* Generation-1 configurations found in ~/.gentoo
* Please run the following to remove them:
$ rm /home/elrafa/.gentoo/java /home/elrafa/.gentoo/java-env 
/home/elrafa/.gento
o/java-env.csh /home/elrafa/.gentoo/java.csh


* You may also need update your ~/.bash_profile
* or ~/.bashrc if they reference these file
* If you choose, you can select a new user VM.
* Otherwise, the system-vm will be used.
* Run 'java-config -L' to see a list of available VMs
* Then run 'java-config -s VM 
choice'  [ !! ]


* Some problems were found. Please follow the instructions above, and 
rerun java-check-environment



so i deleted the indicated files and i am trying again, i will keep 
you posted on how that turns out


thanks for the tip

Rafael

I am sorry to report that i tried to emerge again and it still does not 
work :(


Rafael
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge Tomcat Problem

2006-10-24 Thread Bo Ørsted Andresen
On Tuesday 24 October 2006 15:03, Rafael Barrera Oro wrote:
 I tried to emerge Tomcat and this is what i got:

 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/
ld: cannot find -lnss3

What is the output of:

# equery check dev-libs/nss

?

-- 
Bo Andresen


pgpukF6IHj1NA.pgp
Description: PGP signature


Re: [gentoo-user] Emerge Tomcat Problem

2006-10-24 Thread Rafael Barrera Oro

Bo Ørsted Andresen wrote:


On Tuesday 24 October 2006 15:03, Rafael Barrera Oro wrote:
 


I tried to emerge Tomcat and this is what i got:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/
ld: cannot find -lnss3
   



What is the output of:

# equery check dev-libs/nss

?

 


here it is:

[ Checking dev-libs/nss-3.11.2 ]
* 206 out of 206 files good

rings any bells?

thanks

Rafael

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerge Tomcat Problem

2006-10-24 Thread Bo Ørsted Andresen
On Tuesday 24 October 2006 15:28, Rafael Barrera Oro wrote:
 Bo Ørsted Andresen wrote:
 On Tuesday 24 October 2006 15:03, Rafael Barrera Oro wrote:
 I tried to emerge Tomcat and this is what i got:
 
 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bi
 n/ ld: cannot find -lnss3
 
 What is the output of:
 
 # equery check dev-libs/nss
 
 ?

 here it is:

 [ Checking dev-libs/nss-3.11.2 ]
  * 206 out of 206 files good

 rings any bells?

Well, I'd upgrade that if I were you [1]. If it still fails we need to see 
more info above the error (say 10 lines or so)...

http://www.gentoo.org/security/en/glsa/glsa-200610-06.xml

-- 
Bo Andresen


pgp3TELxDlHjN.pgp
Description: PGP signature


Re: [gentoo-user] Emerge Tomcat Problem

2006-10-24 Thread Rafael Barrera Oro

Bo Ørsted Andresen wrote:


On Tuesday 24 October 2006 15:28, Rafael Barrera Oro wrote:
 


Bo Ørsted Andresen wrote:
   


On Tuesday 24 October 2006 15:03, Rafael Barrera Oro wrote:
 


I tried to emerge Tomcat and this is what i got:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bi
n/ ld: cannot find -lnss3
   


What is the output of:

# equery check dev-libs/nss

?
 


here it is:

[ Checking dev-libs/nss-3.11.2 ]
* 206 out of 206 files good

rings any bells?
   



Well, I'd upgrade that if I were you [1]. If it still fails we need to see 
more info above the error (say 10 lines or so)...


http://www.gentoo.org/security/en/glsa/glsa-200610-06.xml

 


I updated nss and ran revdep-rebuild, still the same problem :(

here is a bigger portion of the output
make[6]: Leaving directory 
`/var/tmp/portage/dev-java/jss-3.4-r1/work/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider/java/security'
make[5]: Leaving directory 
`/var/tmp/portage/dev-java/jss-3.4-r1/work/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider/java'
make[4]: Leaving directory 
`/var/tmp/portage/dev-java/jss-3.4-r1/work/jss-3.4-src/mozilla/security/jss/org/mozilla/jss/provider'
make[3]: Leaving directory 
`/var/tmp/portage/dev-java/jss-3.4-r1/work/jss-3.4-src/mozilla/security/jss/org/mozilla/jss'
make[2]: Leaving directory 
`/var/tmp/portage/dev-java/jss-3.4-r1/work/jss-3.4-src/mozilla/security/jss/org/mozilla'
make[1]: Leaving directory 
`/var/tmp/portage/dev-java/jss-3.4-r1/work/jss-3.4-src/mozilla/security/jss/org'

cd lib; make libs
make[1]: Entering directory 
`/var/tmp/portage/dev-java/jss-3.4-r1/work/jss-3.4-src/mozilla/security/jss/lib'
grep -v ';-' jss.def | sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 
's,;.*,;,'  Linux2.6_x86_glibc_PTH_OPT.OBJ/jssmap.linux

rm -f Linux2.6_x86_glibc_PTH_OPT.OBJ/libjss3.so
gcc -shared -Wl,-soname -Wl,libjss3.so 
-Wl,--version-script,Linux2.6_x86_glibc_PTH_OPT.OBJ/jssmap.linux -o 
Linux2.6_x86_glibc_PTH_OPT.OBJ/libjss3.so  
../org/mozilla/jss/crypto/Linux2.6_x86_glibc_PTH_OPT.OBJ/Algorithm.o 
../org/mozilla/jss/crypto/Linux2.6_x86_glibc_PTH_OPT.OBJ/PQGParams.o 
../org/mozilla/jss/crypto/Linux2.6_x86_glibc_PTH_OPT.OBJ/SecretDecoderRing.o 
../org/mozilla/jss/SecretDecoderRing/Linux2.6_x86_glibc_PTH_OPT.OBJ/KeyManager.o 
../org/mozilla/jss/Linux2.6_x86_glibc_PTH_OPT.OBJ/CryptoManager.o 
../org/mozilla/jss/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11Finder.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11Cert.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11Cipher.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11KeyGenerator.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11KeyPairGenerator.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11KeyWrapper.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11MessageDigest.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11Module.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11PrivKey.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11PubKey.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11Signature.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11SecureRandom.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11Store.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11SymKey.o 
../org/mozilla/jss/pkcs11/Linux2.6_x86_glibc_PTH_OPT.OBJ/PK11Token.o 
../org/mozilla/jss/ssl/Linux2.6_x86_glibc_PTH_OPT.OBJ/SSLSocket.o 
../org/mozilla/jss/ssl/Linux2.6_x86_glibc_PTH_OPT.OBJ/callbacks.o 
../org/mozilla/jss/ssl/Linux2.6_x86_glibc_PTH_OPT.OBJ/SSLServerSocket.o 
../org/mozilla/jss/ssl/Linux2.6_x86_glibc_PTH_OPT.OBJ/common.o 
../org/mozilla/jss/ssl/Linux2.6_x86_glibc_PTH_OPT.OBJ/javasock.o 
../org/mozilla/jss/util/Linux2.6_x86_glibc_PTH_OPT.OBJ/jssutil.o 
../org/mozilla/jss/util/Linux2.6_x86_glibc_PTH_OPT.OBJ/jssver.o 
../org/mozilla/jss/util/Linux2.6_x86_glibc_PTH_OPT.OBJ/errstrings.o 
../org/mozilla/jss/util/Linux2.6_x86_glibc_PTH_OPT.OBJ/NativeErrcodes.o 
../org/mozilla/jss/provider/java/security/Linux2.6_x86_glibc_PTH_OPT.OBJ/JSSKeyStoreSpi.o   
-L/usr/lib/nspr -L/usr/lib/nss 
-L/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64 
-L/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/server 
-L../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib -lnss3 -lsmime3 
-lssl3 -lplc4 -lplds4 -lnspr4 
-L/opt/blackdown-jdk-1.4.2.03/jre/lib/i386/classic -ljvm 
-L/opt/blackdown-jdk-1.4.2.03/jre/lib/i386 -ljava
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lnss3

collect2: ld returned 1 exit status
make[1]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/libjss3.so] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/dev-java/jss-3.4-r1/work/jss-3.4-src/mozilla/security/jss/lib'

make: *** [libs] Error 2

!!! ERROR: dev-java/jss-3.4-r1 failed.
Call stack:
 ebuild.sh, line 1568:   Called dyn_compile
 ebuild.sh, line 937:   Called src_compile