Mark Matthews wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pierre wrote:


Hi,

I try to compile mysql-connector-java-3.1.0-alpha on my GNU/Linux system
with gcc-3.2,
but for the make I got this :

# ant
Buildfile: build.xml
Overriding previous definition of reference to non.test.sources

clean:
  [delete] Deleting directory /tmp/build-mysql-jdbc

init:
    [copy] Copying 78 files to
/tmp/build-mysql-jdbc/mysql-connector-java-3.1.0-alpha
    [copy] Copied 2 empty directories to
/tmp/build-mysql-jdbc/mysql-connector-java-3.1.0-alpha
    [copy] Copying 3 files to
/tmp/build-mysql-jdbc/mysql-connector-java-3.1.0-alpha
   [mkdir] Created dir: /tmp/build-mysql-jdbc/clover
   [mkdir] Created dir: /tmp/build-mysql-jdbc/clover/db
   [mkdir] Created dir: /tmp/build-mysql-jdbc/clover/report

compile-core:
   [javac] Compiling 72 source files to
/tmp/build-mysql-jdbc/mysql-connector-java-3.1.0-alpha
   [javac]


/tmp/build-mysql-jdbc/mysql-connector-java-3.1.0-alpha/testsuite/BaseTestCase.java:21:


package junit.framework does not exist
   [javac] import junit.framework.TestCase;
   [javac]                        ^
   [javac]


/tmp/build-mysql-jdbc/mysql-connector-java-3.1.0-alpha/testsuite/BaseTestCase.java:38:


cannot resolve symbol
   [javac] symbol  : class TestCase
   [javac] location: class testsuite.BaseTestCase
   [javac] public abstract class BaseTestCase extends TestCase {
   [javac]                                            ^
   [javac]


/tmp/build-mysql-jdbc/mysql-connector-java-3.1.0-alpha/testsuite/BaseTestCase.java:125:


cannot resolve symbol
   [javac] symbol  : method fail ()
   [javac] location: class testsuite.BaseTestCase
   [javac]                 fail();
   [javac]                 ^

[...]



It would be great if you could help me with this !

Best regards,

Pierre.





We don't distribute the junit jar files. If you want to compile the
driver with the testsuite, then you need to get junit from www.junit.org.

ok thank you, it was not clear that it was junit that was missing.


Is there a reason you're compiling the driver yourself? It does come
already compiled :)

-Mark

I'm on LFS so I prefer to compile everything myself :)


Pierre.


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to