problem building jdk14 from ports on CURRENT
Chad Leigh -- Shire.Net LLC
chad at shire.net
Mon May 17 23:30:59 PDT 2004
On May 17, 2004, at 12:36 AM, Panagiotis Astithas wrote:
> Chad Leigh -- Shire.Net LLC wrote:
>
>> The missing .h files are found in /usr/local/include/Xm/
>> This is actually being built inside a jail and I tweak it as I go.
>> But X11 was not initially installed so the port has had to install
>> all the baloney for open-motif and X and stuff and I copied the X11
>> hierarchy from the base machine into the jail for the libs and
>> includes. I don't know where the Xm stuff is supposed to go but the
>> install stuck it in /usr/local. I also seem to have copies of the
>> .h files in /usr/ports/java/jdk14/work/motif/lib/Xm/
>> How does one tell the ports build system to look in other places? Or
>> what can I otherwise do about this?
>
> These files are usually found in /usr/X11R6/include. You could try
> building everything inside your jail by setting X11BASE=/usr/local or
> copying stuff over.
I copied stuff over and soft linked some stuff and got it built. It
seems to perform pretty well to. I have a single java "benchmark"
(Fhourstones) (I know, it ain't worth much) and I ran it on this new
installation on 5.2-CURRENT (with WITNESS and dbg stuff there still
etc) running on 1.8ghz Opteron and it came in at about 90% of an AMD MP
2800+ under Linux (2.4.24 gentoo) running the Sun 1.4.2_03 jvm... I
was impressed since the earlier 1.3.1 green threads jdk I had on
FreeBSD came in at about 10% on a 4.7/4.9 system running on the same MB
and AMD MP 2800+ CPU as the Linux one...
My problem is that I defined PREFIX to point to something I call
/usr/pub so when it tried to build all the darn X stuff it stuck it in
there instead of the normal place for it.
I have /usr/pub in my master jail as a read write location that acts
like /usr/local except it gets mounted as read only in all the other
jails and /usr/local is kept as a separate per-jail writable area.
/usr/pub/etc gets soft linked to /usr/local/etc... Works pretty well
for making software available inside a jail with only having to install
it once. There are things that have to be copied into each jail
/usr/local/etc etc but it gets me part way there.
Thanks
Chad
More information about the freebsd-java
mailing list