Re: need help: install jdk14

2004-09-21 Thread Lowell Gilbert
Chiang Seng Chang [EMAIL PROTECTED] 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?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org:8088/~lowell/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help: install jdk14

2004-09-21 Thread Chiang Seng Chang
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.
-cs
Lowell Gilbert wrote:
Chiang Seng Chang [EMAIL PROTECTED] 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?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help: install jdk14

2004-09-21 Thread Lowell Gilbert
Please don't top-post.
http://catb.org/~esr/jargon/html/T/top-post.html

Chiang Seng Chang [EMAIL PROTECTED] writes:
 Lowell Gilbert wrote:
  Chiang Seng Chang [EMAIL PROTECTED] 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...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help: install jdk14

2004-09-21 Thread Chiang Seng Chang
I gave up fighting and go with the system,
deinstalled linux_base-debian and let nature take its course.
-cs
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


need help: install jdk14

2004-09-20 Thread Chiang Seng Chang
hi,
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.
-cs
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help: install jdk14

2004-09-20 Thread BSDjunkie

--- Chiang Seng Chang [EMAIL PROTECTED] wrote:

 hi,
 
 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.
 

Chiang,

Been there myself.

You need to load a kernel module:

kldload linprocfs.ko

and then mount the linux process file system.

I have in my /etc/fstab:

linprocfs   /compat/linux/proc   linprocfs
  rw 0   0

(the above should only be on one line)

After mounting the linprocfs and doing a 'make clean',
then recompiling I was able to get java installed.

I know it takes a long time to compile...but it was
the only way that I could get it to work myself.

Hope this helps,

Mark Withers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help: install jdk14

2004-09-20 Thread Chiang Seng Chang
i think i have those already.
kldstat:
Id Refs AddressSize Name
 1   11 0xc040 35c3d8   kernel
 21 0xc075d000 50dbcacpi.ko
 31 0xc3e97000 6000 linprocfs.ko
 41 0xc3ea5000 19000linux.ko
 51 0xc41b6000 4000 if_tun.ko
/etc/fstab:
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s2b none swap sw 0 0
/dev/ad0s3d /home ufs rw 2 2
proc /proc procfs rw 0 0
linproc /compat/linux/proc linprocfs rw 0 0
mount:
/dev/ad0s1a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s3d on /home (ufs, local, soft-updates)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
i am using:
portupgrade -vN java/jdk14
also tried:
portinstall -v java/jdk14
btw, running 5.2.1
-cs
BSDjunkie wrote:
--- Chiang Seng Chang [EMAIL PROTECTED] wrote:

hi,
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.

Chiang,
Been there myself.
You need to load a kernel module:
kldload linprocfs.ko
and then mount the linux process file system.
I have in my /etc/fstab:
linprocfs   /compat/linux/proc   linprocfs
  rw 0   0
(the above should only be on one line)
After mounting the linprocfs and doing a 'make clean',
then recompiling I was able to get java installed.
I know it takes a long time to compile...but it was
the only way that I could get it to work myself.
Hope this helps,
Mark Withers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]