Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems installing mozilla ...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
DrSeltsam
n00b
n00b


Joined: 20 Oct 2002
Posts: 50

PostPosted: Sun Oct 20, 2002 2:10 pm    Post subject: Problems installing mozilla ... Reply with quote

Hi,

just installed Gentoo and now i wanted to install mozilla using emerge:

andreas root # emerge search mozilla
Searching...
[ Results for search key : mozilla ]
[ Applications found : 1 ]

* net-www/mozilla
Latest version available: 1.0.1-r2
Latest version installed: [ Not Installed ]
Homepage: http://www.mozilla.org
Description: The Mozilla Web Browser

andreas root # emerge net-www/mozilla
Calculating dependencies ...done!
>>> emerge dev-java/blackdown-jre-1.3.1-r7 to /
/usr/sbin/ebuild.sh: /usr/portage/eclass/java.eclass: line -2598: syntax error near unexpected token `}'
/usr/sbin/ebuild.sh: /usr/portage/eclass/java.eclass: line -2598: `}'

!!! ERROR: The ebuild did not complete successfully.
!!! Function inherit, Line 60, Exitcode 1
!!! died sourcing /usr/portage/eclass/java.eclass in inherit()

Every time the same. Did several rsyncs. I also tried to install an other JRE than the blackdown-jre:

andreas root # emerge dev-java/sun-jdk
Calculating dependencies ...done!
>>> emerge dev-java/sun-jdk-1.4.1.01 to /
/usr/sbin/ebuild.sh: /usr/portage/eclass/java.eclass: line -2598: syntax error near unexpected token `}'
/usr/sbin/ebuild.sh: /usr/portage/eclass/java.eclass: line -2598: `}'

!!! ERROR: The ebuild did not complete successfully.
!!! Function inherit, Line 60, Exitcode 1
!!! died sourcing /usr/portage/eclass/java.eclass in inherit()

Always the same. Using gentoo 1.4 rc1. Do anyone know a workaround that solves this problem? :o)
Back to top
View user's profile Send private message
maxpower
n00b
n00b


Joined: 07 Aug 2002
Posts: 65
Location: South Korea

PostPosted: Sun Oct 20, 2002 2:28 pm    Post subject: Reply with quote

Edit the java.eclass file and go to the very end and change the last if to fi like so:

Code:
 
install_mozilla_plugin() {
        local bn
        bn=`basename $1`

        if [ "`use mozilla`" ] ; then
                dodir /usr/lib/mozilla/plugins
                dosym $1 /usr/lib/mozilla/plugins/${bn}
        fi
}



mAx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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