Subject: Re: Build java packages from source?
To: Yu Wang <yuwang@cs.nmsu.edu>
From: Jim Wise <jwise@draga.com>
List: tech-pkg
Date: 07/10/2003 12:35:44
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 10 Jul 2003, Yu Wang wrote:

>I found that textpro/xerces-j was built from binary instead of source
>that one can get from http://xml.apache.com. I am just wondering if it
>is true for all java package, once you can get jar files directly, you
>do not need to build them from source codes.

``Sort of''.  For the time being, a stated constraint of java packages
in pkgsrc is that they support both the older JDK-1.1 and newer JDK
versions.  Several of the apache.org packages cannot currently be
_built_ under JDK-1.1, but run fine there (the incompatibilities are in
helper code used during the build process).

When we have a native JDK of a more recent vintage, this problem (and
the installation of these packages from binary distributions) should go
away, allowing the type of local customization (compiler used,
optimization options, etc) which come with a source-based pkg install.

- -- 
				Jim Wise
				jwise@draga.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)

iD8DBQE/DZXklGcH240chEIRArHvAJ4pNQ44pZDD55mYiKJcg11b5FOjuwCg5ciN
OetDb+A+W1QPxyv2c4ES5XM=
=Duvq
-----END PGP SIGNATURE-----