i think i have those already.

kldstat:

Id Refs Address    Size     Name
 1   11 0xc0400000 35c3d8   kernel
 2    1 0xc075d000 50dbc    acpi.ko
 3    1 0xc3e97000 6000     linprocfs.ko
 4    1 0xc3ea5000 19000    linux.ko
 5    1 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]"

Reply via email to