Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2001 00:26:31 +0200
From:      Ernst de Haan <ernst@jollem.com>
To:        sobomax@FreeBSD.ORG
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/26793: New port: java/ibm-jdk
Message-ID:  <20010511002631.A37389@c187104187.telekabel.chello.nl>
In-Reply-To: <200105102004.XAA90046@ipcard.iptcom.net>; from sobomax@mail-in.net on Thu, May 10, 2001 at 11:04:39PM %2B0300
References:  <200105071500.f47F0P825848@freefall.freebsd.org> <200105102004.XAA90046@ipcard.iptcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Heya Maxim & all,

> >  Okay, I tested this JDK and it seems to work, at least with non-graphical 
> >  applications. I tested it with Ant and javadoc, and it runs without any big 
> >  problems. Only things I noticed are:
> >  
> >  * When starting 'java' the program gives a warning about not being able to 
> >  determine the number of processors. This looks like a linuxulator 'problem'.
> >  Should I submit this as a new PR ?
> 
> This problem is actually has been fixed about several months ago.
> The problem is that IBM's jdk uses /proc fs to determine number of
> processors in a very funny way: by counting how many "bogomips"
> strings are in the /proc/cpuinfo. Pretty innovative way to get
> hw.ncpu, isn't it :-). FreeBSD doesn't have a /proc/cpuinfo, therefore
> you have to mount linprocfs into /compat/proc to get rid of this
> warning. Alternatively, just copy cpuinfo file into /compat/proc from a
> linux box near you.

Hmm, okay. So perhaps the port should depend on linprocfs.

> >  My suggestion: Make sure the name of the port is more specific (for example 
> >  'linux-ibm-jdk1.3' instead of 'ibm-jdk'), make the name of the install 
> >  directory more specific ('linux-ibm-jdk1.3.0' instead of 'ibmjdk1.3.0') and 
> >  then submit this port for inclusion in the tree. It's good enough for testing 
> >  and further improvement IMO.
> 
> Looks like a nice plan.

Okay, so it seems the original creator of the port is not available at the
moment. What do you say I create a new shar file, based on his work, and add
it to the PR ? I'd apply the suggestions I made myself, and make the port
depend on linprocfs.

Or should I wait a little longer for the original creator to respond ?


Ernst

-- 
Ernst de Haan
Java Architect
Jollem Information Technology

    "Come to me all who are weary and burdened
        and I will give you rest" -- Jesus Christ

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010511002631.A37389>