Date: 21 Sep 2004 09:49:10 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Chiang Seng Chang <cs@ctzen.com> Cc: freebsd-questions@freebsd.org Subject: Re: need help: install jdk14 Message-ID: <44k6un3f6x.fsf@be-well.ilk.org> In-Reply-To: <41502F03.9040100@ctzen.com> References: <414F92AC.9000000@ctzen.com> <448yb3pzdc.fsf@be-well.ilk.org> <41502F03.9040100@ctzen.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Please don't top-post. http://catb.org/~esr/jargon/html/T/top-post.html Chiang Seng Chang <cs@ctzen.com> writes: > Lowell Gilbert wrote: > > Chiang Seng Chang <cs@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...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44k6un3f6x.fsf>