Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
jss 3.4 build fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
azaidi
n00b
n00b


Joined: 19 Oct 2004
Posts: 9

PostPosted: Sat Feb 05, 2005 4:01 pm    Post subject: jss 3.4 build fails Reply with quote

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
View user's profile Send private message
azaidi
n00b
n00b


Joined: 19 Oct 2004
Posts: 9

PostPosted: Sun Feb 06, 2005 8:37 am    Post subject: Reply with quote

no replies?
Back to top
View user's profile Send private message
azaidi
n00b
n00b


Joined: 19 Oct 2004
Posts: 9

PostPosted: Sun Feb 06, 2005 9:28 am    Post subject: solution / hack Reply with quote

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
View user's profile Send private message
parker
n00b
n00b


Joined: 11 Aug 2006
Posts: 5

PostPosted: Fri Aug 11, 2006 9:17 pm    Post subject: dev-java fails on AMD64 Reply with quote

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
View user's profile Send private message
mpcww
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2003
Posts: 115

PostPosted: Thu Aug 24, 2006 3:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
parker
n00b
n00b


Joined: 11 Aug 2006
Posts: 5

PostPosted: Thu Aug 24, 2006 7:29 pm    Post subject: JSS works now when in package.keywords Reply with quote

Adding it to package keywords did the trick for me too.

Thanks mpcww
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum