Monday, August 9, 2010

jdk 1.6 port openbsd 4.7 install buggery

A file needed by jdk1.5, which building jdk1.6 requires, can not be downloaded via the web page make spits out when it errors out. The file is however downloadable by a direct URL link using the web page URL. This was not obvious, and I only discovered it by reading another link and randomly trying it "for fun" an hour of research later.


1 1.6k builds, then needs 1.5 files and damn file for 1.5jdk needs a wget[sneaky since other one is available at the website with a click]
2 move ports to /home since they happily filled my 2G /usr on amd64 desktop+reconfigure /etc/mk.conf

1: [after doing basic file collecting for 1.6 and having it fail and ask for 1.5 files]
vi /etc/mk.conf
ACCEPT_JRL_LICENSE=Yes
USE_SYSTRACE=Yes

mkdir /home/ports/distfiles
cd /home/ports/distfiles
[move all the crap make install complains about in there]

[after 1.6 fails it demands 1.5 stuff so put files in distfiles/]
Now the cocksucker:
cd /home/ports/distfiles/
wget http://download.java.net/tiger/tiger_u16/jdk-1_5_0_16-fcs-bin-b02-jrl-28_may_2008.jar

****worked after scrathing my head for hour and cursing in acient agataen

damn error in make install doesn't say wget it, and if you try n go website, you can't get that one, although the src one you can get ok


2:
vi /etc/mk.conf
ACCEPT_JRL_LICENSE=Yes
USE_SYSTRACE=Yes
WRKOBJDIR=/home/ports
DISTDIR=/home/ports/distfiles
PACKAGE_REPOSITORY=/home/ports/packages

now cd /home/ports/devel/jdk/1.6/ and rerun make -j3 install and it goes

Dagons teeth and thundder of Odin that was too hard!!

No comments: