Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5732 - Feature Request: Enable optional tcl and java API for db-3/db-4
Summary: Feature Request: Enable optional tcl and java API for db-3/db-4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Paul de Vrieze (RETIRED)
URL: http://www.sleepycat.com/docs/ref/bui...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-29 11:31 UTC by Nicholas Wourms
Modified: 2003-08-05 06:43 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Wourms 2002-07-29 11:31:20 UTC
Another suggestion for the db-3/db-4 ebuild would be a check for emerging of db 
outside of the initial stage1 build.  If this was true, a subsequent check for 
the "java" and "tcltk" USE keywords would then be made.

If "java" was found, it would generate the appropriate dependancies [jdk] and 
build the java API by passing "--enable-java" to the configure line.

If "tcltk" was found, it would generate the appropriate dependancies [tcl] and 
build the tcl API by passing "--enable-tcl" to the configure line.

The latter would be particularly handy in that it would allow the building and 
execution of the berkeley db testsuite to verify the core API's via the "--
enable-test" flag [for sandbox only, as sleepycat doesn't reccomend distro'ing 
the libs built with this flag].

More info at the url provided...
Comment 1 J Robert Ray 2003-01-05 01:58:24 UTC
This seems easily doable.  I'm a little weary of the notes about Java support:

Before configuring, you must set your PATH environment variable to include
javac. Note that it is not sufficient to include a symbolic link to javac in
your PATH because the configuration process uses the location of javac to
determine the location of the Java include files (for example, jni.h).

I think with some JDKs javac is a symlink and with some it isn't.  Any java guys
want to chime in?
Comment 2 J Robert Ray 2003-06-26 00:13:17 UTC
Reassigning bugs due to lack of time.
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2003-07-08 11:11:35 UTC
db-4 should work with java and tcltk support, and has it in useflags. Official inclusion is just depending on fixing some other packages to correctly detect db4 with versioned symbols.

Do you think we need to add support for java and tcltk in db3 too?
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2003-08-05 06:43:57 UTC
I guess I can close this bug