|
|
|
|
|
|
| Author |
Message |
dengyuan *nix forums beginner
Joined: 23 Mar 2005
Posts: 4
|
Posted: Thu Mar 31, 2005 1:33 pm Post subject:
Re: Newbie Question
|
|
|
Hi George,
I modified the codes as you specified and it works perfectly without
the '--enable-java'. After I tried the '-p cygwin --enable-java', I got
the two problems. The first one is the CLASSPATH due to the difference
of the directory separator of ":" and ";". I also had the problem of
not locating the jni_md.h which I can resolve it by link the
win32/jni_md.h to the parent directory. Could you share with me how to
resolve the problem to let window's java.exe to know the directory
separator is ":" instead of ";" ?
TIA, Daniel )
dengyuan wrote:
| Quote: | George,
I will try it, thanx for quick response. Looks like, it's NOT apply
to
Linux since it's NOT WIN32, right ?
Another question is the '--enable-java', when I use 'sh buildall.sh
-p
cygwin --enable-java', I got the error of not locating the jni_md.h
included in jni.h. How do I point the
$JAVA_HOME/include/win32/jni_md.h. I bet the problem is the win32 and
cygwin.
TIA, daniel ) |
|
|
| Back to top |
|
 |
dengyuan *nix forums beginner
Joined: 23 Mar 2005
Posts: 4
|
Posted: Fri Mar 25, 2005 2:13 pm Post subject:
Re: Newbie Question
|
|
|
George,
I will try it, thanx for quick response. Looks like, it's NOT apply to
Linux since it's NOT WIN32, right ?
Another question is the '--enable-java', when I use 'sh buildall.sh -p
cygwin --enable-java', I got the error of not locating the jni_md.h
included in jni.h. How do I point the
$JAVA_HOME/include/win32/jni_md.h. I bet the problem is the win32 and
cygwin.
TIA, daniel ) |
|
| Back to top |
|
 |
George *nix forums Guru Wannabe
Joined: 26 Feb 2005
Posts: 198
|
Posted: Fri Mar 25, 2005 11:34 am Post subject:
Re: Newbie Question
|
|
|
Daniel,
BDB XML 2.0.9 has been built with cygwin, using a patch.
I do not have that patch available, separately, but I can describe the
changes,
which are simple.
Look in every file in the dbxml, pathan, and xquery-1.0.3
subdirectories (find is
your friend). Every occurrence of:
#ifdef WIN32
should be replaced by
#if defined(WIN32) && !defined(__CYGWIN__)
There are some #idef _WIN32 as well -- leave these alone.
This change has been made in release 2.1, which is coming out
in the next few weeks.
Regards,
George
Sleepycat Software |
|
| Back to top |
|
 |
dengyuan *nix forums beginner
Joined: 23 Mar 2005
Posts: 4
|
Posted: Thu Mar 24, 2005 10:25 pm Post subject:
Re: Newbie Question
|
|
|
Hi Ron,
I'm using gcc 3.3.3 on Window XP, I ran 'sh buildall.sh -p cygwin'
otherwise the platform is unrecognized. I got the following error
messages while building pathan/src/lexer:
make[1]: Entering directory `/tools/dbxml-2.0.9/pathan/src/lexer'
In file included from /usr/include/c++/3.3.3/bits/locale_facets.tcc:43,
from /usr/include/c++/3.3.3/locale:47,
from /usr/include/c++/3.3.3/bits/ostream.tcc:37,
from /usr/include/c++/3.3.3/ostream:535,
from /usr/include/c++/3.3.3/iostream:45,
from XPath2Lexer.lex:8:
/usr/include/c++/3.3.3/limits:205:22: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:206:22: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:222:23: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:224:23: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:275:23: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:277:23: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:325:30: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:327:30: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:375:32: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:377:32: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:425:26: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:427:26: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:475:24: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:477:24: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:525:33: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:527:33: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:575:22: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:577:22: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:625:31: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:627:31: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:675:23: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:677:23: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:725:32: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:727:32: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:775:28: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:777:28: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:825:37: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:827:37: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:875:24: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:877:24: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:933:25: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:935:25: macro "max" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:991:30: macro "min" requires 2 arguments,
but only 1 given
/usr/include/c++/3.3.3/limits:993:30: macro "max" requires 2 arguments,
but only 1 given
In file included from /usr/include/c++/3.3.3/locale:47,
from /usr/include/c++/3.3.3/bits/ostream.tcc:37,
from /usr/include/c++/3.3.3/ostream:535,
from /usr/include/c++/3.3.3/iostream:45,
from XPath2Lexer.lex:8:
/usr/include/c++/3.3.3/bits/locale_facets.tcc:499:58: macro "max"
requires 2 arguments, but only 1 given
/usr/include/c++/3.3.3/bits/locale_facets.tcc:518:56: macro "max"
requires 2 arguments, but only 1 given
/usr/include/c++/3.3.3/bits/locale_facets.tcc:1713:59: macro "max"
requires 2 arguments, but only 1 given
In file included from /usr/include/c++/3.3.3/istream:768,
from /usr/include/c++/3.3.3/iostream:46,
from XPath2Lexer.lex:8:
TIA, daniel )
Ron wrote:
| Quote: | dengyuan wrote:
Hi,
I have downloaded the DB XML 2.0.9, do I need to build it before I
can
use it ? If not, where can I find the jar file for com.sleepycat.db
or
com.sleepycat.dbxml classes ?
TIA,
Daniel )
Hi Daniel,
Yes you need to build it. The instructions are found here:
http://www.sleepycat.com/xmldocs/ref_xml/xml_unix/intro.html
Ron
Sleepycat Software |
|
|
| Back to top |
|
 |
Ron *nix forums Guru Wannabe
Joined: 01 Apr 2005
Posts: 157
|
Posted: Thu Mar 24, 2005 1:15 am Post subject:
Re: Newbie Question
|
|
|
dengyuan wrote:
| Quote: | Hi,
I have downloaded the DB XML 2.0.9, do I need to build it before I
can
use it ? If not, where can I find the jar file for com.sleepycat.db
or
com.sleepycat.dbxml classes ?
TIA,
Daniel )
|
Hi Daniel,
Yes you need to build it. The instructions are found here:
http://www.sleepycat.com/xmldocs/ref_xml/xml_unix/intro.html
Ron
Sleepycat Software |
|
| Back to top |
|
 |
dengyuan *nix forums beginner
Joined: 23 Mar 2005
Posts: 4
|
Posted: Wed Mar 23, 2005 7:58 pm Post subject:
Newbie Question
|
|
|
Hi,
I have downloaded the DB XML 2.0.9, do I need to build it before I can
use it ? If not, where can I find the jar file for com.sleepycat.db or
com.sleepycat.dbxml classes ?
TIA,
Daniel ) |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 5:05 am | All times are GMT
|
|
Mortgage Calculator | Debt Consolidation | Webhosting catalogue | Loans | Loans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|