View previous topic :: View next topic |
Author |
Message |
DrSeltsam n00b
Joined: 20 Oct 2002 Posts: 50
|
Posted: Sun Oct 20, 2002 2:10 pm Post subject: Problems installing mozilla ... |
|
|
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 |
|
|
maxpower n00b
Joined: 07 Aug 2002 Posts: 65 Location: South Korea
|
Posted: Sun Oct 20, 2002 2:28 pm Post subject: |
|
|
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 |
|
|
|