Subject: installing pkgsrc/databases/jdbc-postgresql74
To: NetBSD tech-pkg <tech-pkg@netbsd.org>
From: Robert Cates <robert@kormar.net>
List: tech-pkg
Date: 06/13/2005 11:47:35
This is a multi-part message in MIME format.
------=_NextPart_000_00F7_01C5700D.B0A498F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I just tried to build jdbc-postgresql74 but it failed. Below is a clip =
of the end of the build process, but first I want to ask the questions:
I have JDK (and JRE) 1.4.2 installed (also from pkgsrc), but the =
jdbc-postgresql74 package seems to require jdk-1.1.8 (which I really do =
not want installed, since I have jdk-1.4.2 installed).
1) Would it simply be ok to change $PKG_JAVA_HOME to =
'/usr/pkg/java/sun-1.4' and if so, where do I change this value? Also, =
would I need to change the value of $PKG_JVM as well?
2) Shouldn't the package be updated to accept any installed jdk from =
1.1.8 and above? I mean it seems to be specifically dependant on =
jdk-1.1.8.
10200107 bytes retrieved in 00:42 (233.44 KB/s)
=3D> Checksum SHA1 OK for postgresql-7.4.6.tar.bz2.
=3D> Checksum RMD160 OK for postgresql-7.4.6.tar.bz2.
=3D=3D=3D> Extracting for jdbc-postgresql-7.4.6
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The following variables will affect the build process of this package,
jdbc-postgresql-7.4.6. Their current value is shown below:
=20
* PKG_JAVA_HOME =3D /usr/pkg/java/jdk-1.1.8
* PKG_JVM =3D jdk
=20
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D> Required package jdk-[0-9]*: NOT found
=3D=3D=3D> Verifying reinstall for ../../lang/jdk
=3D=3D=3D> jdk-1.1.8nb8 has an unacceptable license: jdk-license.
=3D=3D=3D> To view the license, enter "/usr/bin/make show-license".
=3D=3D=3D> To indicate acceptance, add this line to your =
/etc/mk.conf:
=3D=3D=3D> ACCEPTABLE_LICENSES+=3Djdk-license
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/lang/jdk
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/lang/jdk
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/databases/jdbc-postgresql74
*** Error code 1
=20
Stop.
make: stopped in /usr/pkgsrc/databases/jdbc-postgresql74
-bash-2.05b#
Thanks much for your help!
Robert
------=_NextPart_000_00F7_01C5700D.B0A498F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I just tried to build jdbc-postgresql74 =
but it=20
failed. Below is a clip of the end of the build process, but first =
I want=20
to ask the questions:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have JDK (and JRE) 1.4.2 installed =
(also from=20
pkgsrc), but the jdbc-postgresql74 package seems to require jdk-1.1.8 =
(which I=20
really do not want installed, since I have jdk-1.4.2 =
installed).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>1) Would it simply be ok to =
change=20
$PKG_JAVA_HOME to '/usr/pkg/java/sun-1.4' and if so, where do I change =
this=20
value? Also, would I need to change the value of $PKG_JVM as=20
well?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>2) Shouldn't the package be =
updated to accept=20
any installed jdk from 1.1.8 and above? I mean it seems to be =
specifically=20
dependant on jdk-1.1.8.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>10200107 bytes retrieved in 00:42 =
(233.44=20
KB/s)<BR>=3D> Checksum SHA1 OK for =
postgresql-7.4.6.tar.bz2.<BR>=3D> Checksum=20
RMD160 OK for postgresql-7.4.6.tar.bz2.<BR>=3D=3D=3D> Extracting for=20
jdbc-postgresql-7.4.6<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D<BR>The=20
following variables will affect the build process of this=20
package,<BR>jdbc-postgresql-7.4.6. Their current value is shown=20
below:<BR> <BR> * =
PKG_JAVA_HOME =3D=20
/usr/pkg/java/jdk-1.1.8<BR> * =
PKG_JVM=20
=3D jdk<BR> <BR>You may want to abort the process now with CTRL-C =
and change=20
their value<BR>before continuing. Be sure to run `/usr/bin/make =
clean'=20
after<BR>the=20
changes.<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D<BR>=3D=3D=3D>=20
Required package jdk-[0-9]*: NOT found<BR>=3D=3D=3D> Verifying =
reinstall for=20
./../lang/jdk<BR>=3D=3D=3D> jdk-1.1.8nb8 has an unacceptable =
license:=20
jdk-license.<BR>=3D=3D=3D> To view the =
license, enter=20
"/usr/bin/make show-license".<BR>=3D=3D=3D> =
To indicate=20
acceptance, add this line to your=20
/etc/mk.conf:<BR>=3D=3D=3D> =20
ACCEPTABLE_LICENSES+=3Djdk-license<BR>*** Error code =
1<BR> <BR>Stop.<BR>make:=20
stopped in /usr/pkgsrc/lang/jdk<BR>*** Error code =
1<BR> <BR>Stop.<BR>make:=20
stopped in /usr/pkgsrc/lang/jdk<BR>*** Error code =
1<BR> <BR>Stop.<BR>make:=20
stopped in /usr/pkgsrc/databases/jdbc-postgresql74<BR>*** Error code=20
1<BR> <BR>Stop.<BR>make: stopped in=20
/usr/pkgsrc/databases/jdbc-postgresql74<BR>-bash-2.05b#</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks much for your help!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Robert</FONT></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_00F7_01C5700D.B0A498F0--