Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#22588 closed defect (wontfix)

db46 build gets jikes error

Reported by: Chris.Barker@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: db46

Description (last modified by jmroot (Joshua Root))

I"m trying to install subversion, which apparently required db46, which is set to "--enable java", which means it requires jikes.

But I get, while db46 is configuring:

checking if jikes works... configure: error: The Java compiler jikes failed (see config.log, check the CLASSPATH?)

I tried install jikes by itself:

sudo port install jikes

and it seemed to install without problem.

For the moment, I've hacked the db46 portfile and removed the --enable-java line, as I don't use java for anything, but who knows what I'm breaking!

(it does seem a bit much to need a java compiler to have a subversion client, though)

Macports 1.8.1 I'm running OS-X 10.4 on a PPC.

Attachments (1)

Portfile-db46.diff (382 bytes) - added by Chris.Barker@… 14 years ago.
patch to add nojava variant to db46 port.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to blair@…
Port: db46 added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 14 years ago by danielluke (Daniel J. Luke)

I think normally the OS-provided java is sufficient, and the problem here may have been that there was a non-functional jikes sitting around that configure found. Perhaps the db46 configure can be passed a more-specific option to help it select the correct java.

comment:3 Changed 14 years ago by blair (Blair Zajac)

Resolution: wontfix
Status: newclosed

We do require a good Java compiler installed on your system. You should install Apple's Java if you haven't already.

Changing as won't fix as there are other ports that depend upon the db46 Java bindings and you can't specify dependencies on variants, so that's why java is the default.

If you want, submit a patch for a no-java variant and I can apply the patch.

Changed 14 years ago by Chris.Barker@…

Attachment: Portfile-db46.diff added

patch to add nojava variant to db46 port.

comment:4 Changed 14 years ago by blair (Blair Zajac)

Thanks, I committed your patch in r63511. I renamed the variant to "no_java". I also applied the same patch to db47 in r63512.

Note: See TracTickets for help on using tickets.