| View previous topic :: View next topic |
| Author |
Message |
azaidi n00b

Joined: 19 Oct 2004 Posts: 9
|
Posted: Sat Feb 05, 2005 4:01 pm Post subject: jss 3.4 build fails |
|
|
Any help would be appreciated
| Code: | >>> md5 src_uri ;-) jss-3.4-src.tar.gz
>>> Unpacking source...
>>> Unpacking jss-3.4-src.tar.gz to /var/tmp/portage/jss-3.4/work
>>> Source unpacked.
../coreconf/config.mk:67: ../coreconf/Linux2.6.8.mk: No such file or directory
../coreconf/config.mk:167: no file name for `-include'
make: *** No rule to make target ../coreconf/Linux2.6.8.mk. Stop.
make: *** [../coreconf/Linux2.6.8.mk] Error 1
!!! ERROR: dev-java/jss-3.4 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! coreconf make failed
!!! If you need support, post the topmost build error, NOT this status message. |
|
|
| Back to top |
|
 |
azaidi n00b

Joined: 19 Oct 2004 Posts: 9
|
Posted: Sun Feb 06, 2005 8:37 am Post subject: |
|
|
| no replies? |
|
| Back to top |
|
 |
azaidi n00b

Joined: 19 Oct 2004 Posts: 9
|
Posted: Sun Feb 06, 2005 9:28 am Post subject: solution / hack |
|
|
Damn you lot! I found the solution myself.
open up jss.3.4.ebuild and change line 29 from
| Code: | | cp Linux2.5.mk Linux2.6.mk |
to
| Code: | | cp Linux2.5.mk Linux2.6.8.mk |
|
|
| Back to top |
|
 |
parker n00b

Joined: 11 Aug 2006 Posts: 5
|
Posted: Fri Aug 11, 2006 9:17 pm Post subject: dev-java fails on AMD64 |
|
|
This seems to be an old thread, but dev-java/jss is failing on my AMD64 when trying to install tomcat. I've followed the java upgrading howto and am using a sun-sdk 1.4 for compiling. dev-java/jss is marked as stable on AMD64
It ends with the error:
| Quote: | /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljvm
collect2: ld returned 1 exit status
make[1]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/libjss3.so] Error 1
!!! ERROR: dev-java/jss-3.4 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
jss-3.4.ebuild, line 53: Called die |
And line 53 of the jss-3.4.ebuild contains:
| Quote: | | emake -j1 BUILD_OPT=1 || die "nss make failed" |
"cannot find -ljvm" seems to be the first error message. Am I missing a dependancy somewhere? I don't even know what -ljvm means.
Does anyone else have this problem? Is there any way to compile tomcat without dev-java/jss? |
|
| Back to top |
|
 |
mpcww Tux's lil' helper


Joined: 08 Apr 2003 Posts: 115
|
Posted: Thu Aug 24, 2006 3:15 pm Post subject: |
|
|
Hi Parker,
I have an amd64 and get also
| Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljvm
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/libjss3.so] Fehler 1
make[1]: Leaving directory `/mucke/gentoo/portage/jss-3.4/work/jss-3.4-src/mozilla/security/jss/lib'
make: *** [libs] Fehler 2
!!! ERROR: dev-java/jss-3.4 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
jss-3.4.ebuild, line 53: Called die
!!! nss make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
Emerging the unstable 3.4-r1 did it finally by
| Code: | echo "dev-java/jss ~amd64" >> /etc/portage/package.keywords
|
|
|
| Back to top |
|
 |
parker n00b

Joined: 11 Aug 2006 Posts: 5
|
Posted: Thu Aug 24, 2006 7:29 pm Post subject: JSS works now when in package.keywords |
|
|
Adding it to package keywords did the trick for me too.
Thanks mpcww |
|
| Back to top |
|
 |
|