need help: install jdk14

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Sep 21 06:49:12 PDT 2004


Please don't top-post.
http://catb.org/~esr/jargon/html/T/top-post.html

Chiang Seng Chang <cs at ctzen.com> writes:
> Lowell Gilbert wrote:
> > Chiang Seng Chang <cs at ctzen.com> writes:
> >
> >>the error:
> >>
> >> >> Checksum OK for rpm/libstdc++-2.96-112.7.1.i386.rpm.
> >>===>  Patching for linux_base-7.1_7
> >>===>   linux_base-7.1_7 depends on executable: rpm - found
> >>===>  Configuring for linux_base-7.1_7
> >>===>  Installing for linux_base-7.1_7
> >>===>  linux_base-7.1_7 conflicts with installed package(s):
> >>       linux_base-debian-3.0.23_1
> >>       They install files into the same place.
> >>       Please remove them first with pkg_delete(1).
> >>*** Error code 1
> >>Stop in /usr/ports/emulators/linux_base.
> >>*** Error code 1
> >>Stop in /usr/ports/java/linux-sun-jdk14.
> >>*** Error code 1
> >>Stop in /usr/ports/java/jdk14.
> >>
> >>pkg_info | grep linux:
> >>
> >>linux_base-debian-3.0.23_1 Debian base set for the Linux mode
> >>
> >>pkgtools.conf:
> >>
> >>  ALT_PKGDEP = {
> >>     'emulators/linux_base' => 'emulators/linux_base-debian',
> >>  }
> >>
> >>i'm at wits end, pls help.
> > You need linux-sun-jdk14 installed to "bootstrap" the native jdk14
> > build.  It depends on (the Linux) libc.so.6, which it tries to get
> > from linux_base.  However, linux_base-debian also provides that file,
> > so I'm not sure why it's trying to install another linux_base.  Is the
> > file there?  Are you ports up-to-date?
> >
> ls /compat/linux/lib:
> 
> -rwxr-xr-x  1 root  wheel     1.1M Apr 28  2002 libc-2.2.5.so*
> lrwxr-xr-x  1 root  wheel      13B Sep 18 13:53 libc.so.6@ -> libc-2.2.5.so
> 
> the ports are up to date.
> 
> i got this feeling that its ignoring the ALT_PKGDEP in pkgtools.conf.

Well, yes; it's being installed by the port directly, not by
portupgrade.  But the port should notice that libc.so.6 is installed
and not try to provide it...


More information about the freebsd-questions mailing list