Re: Problem compiling mysql-connector-java 3.1.0-alpha
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]
Problem compiling mysql-connector-java 3.1.0-alpha
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. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Problem compiling mysql-connector-java 3.1.0-alpha
-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. Is there a reason you're compiling the driver yourself? It does come already compiled :) -Mark - -- For technical support contracts, visit https://order.mysql.com/?ref=mmma __ ___ ___ __ / |/ /_ __/ __/ __ \/ / Mark Matthews [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, SW Dev. Manager - J2EE/Windows /_/ /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA ___/ www.mysql.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+1fkHtvXNTca6JD8RAljMAKCPc66NJzUMgMDGAdbBeZyegb2LwQCgnb2Z YKxQvy44MvEp9WAoigBBtcU= =X3Yt -END PGP SIGNATURE- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]