I've never ran the sqlitejdbc tests or junit before, so I can't help
you there.
The important thing is that you appear to have built libsqlitejdbc.so.
You can use that with sqlitejdbc-v036-native.jar - either from your build
or the website.
Make sure the directory to libsqlitejdbc.so is in your LD_LIBRARY_PATH
and sqlitejdbc-v036-native.jar is in your classpath and you should be
good to go. Test it with one of your own jdbc programs.
If you have trouble with the solaris shared library you might try
commenting out "strip build/Default-sun4u/libsqlitejdbc.so" from the
makefile.
--- Dan <[EMAIL PROTECTED]> wrote:
> Sorry that I answer to my reply but I resolved that problem but now I
> get an other problem on compiling my jdbc driver for solaris sparc9.
>
> Well the previous problem I olved it so:
> I downloaded the junit4.4.jar file from the internet and extract it
> that I copied it to the build directory created by the makefile. I
> started again the compiliation and the compiler starts again for a
> while and then I got these errors: Not listed all erroes because it
> would be to large it are 183 listed errors :(
>
> Output that I receive with the errors:
> [EMAIL PROTECTED] /home/Homedev/sqlitejdbc-v036> make
> javah -classpath build -jni -o build/NativeDB.h org.sqlite.NativeDB
> cd build && jar cf sqlitejdbc-v036-native.jar org/sqlite/Codes.class
> org/sqlite/Conn.class org/sqlite/DB.class org/sqlite/Function\
> $Aggregate.class org/sqlite/Function.class org/sqlite/JDBC.class
> org/sqlite/MetaData.class org/sqlite/NativeDB.class org/sqlite/
> PrepStmt.class org/sqlite/RS.class org/sqlite/Stmt.class org/sqlite/
> Unused.class
> gcc -I/usr/jdk1.5.0_12/include -O -fPIC -Ibuild/sqlite-3.4.0-Default-
> sun4u -Ibuild -I/usr/jdk1.5.0_12/include/solaris -c -O -o build/
> Default-sun4u/NativeDB.o \
> src/org/sqlite/NativeDB.c
> gcc -I/usr/jdk1.5.0_12/include -O -fPIC -Ibuild/sqlite-3.4.0-Default-
> sun4u -Ibuild -I/usr/jdk1.5.0_12/include/solaris -shared -o build/
> Default-sun4u/libsqlitejdbc.so \
> build/Default-sun4u/NativeDB.o build/sqlite-3.4.0-Default-sun4u/*.o
> strip build/Default-sun4u/libsqlitejdbc.so
____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/
--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---