Re: 7.2.2 java configure problem on Mac OS X 10.1.5
От | Joel Rodrigues |
---|---|
Тема | Re: 7.2.2 java configure problem on Mac OS X 10.1.5 |
Дата | |
Msg-id | C2C20978-CA6F-11D6-9C41-0005024EF27F@Phreaker.net обсуждение исходный текст |
Ответ на | 7.2.2 java configure problem on Mac OS X 10.1.5 (Joel Rodrigues <borgempath@Phreaker.net>) |
Список | pgsql-novice |
On Tuesday, September 17, 2002, at 07:50 , Tom Lane wrote: > Joel Rodrigues <borgempath@Phreaker.net> writes: >> checking whether /usr/local/ant/bin/ant works... no >> configure: error: ant does not work > > Look in config.log to get more info about the problem. I've > seen some reports indicating that you must have JAVA_HOME set > to get ant to behave properly. > > regards, tom lane > Hi Stuart, Tom, thanks for the input ! Here's the relevant bit from config.log: configure:1916: checking whether /usr/local/ant/bin/ant works configure:1939: /usr/local/ant/bin/ant -buildfile conftest.xml 1>&2 Buildfile: conftest.xml BUILD FAILED Unable to load default ProjectHelper due to java.lang.NoClassDefFoundError: org/xml/sax/SAXException Total time: 5 seconds configure: failed java program was: public class conftest { int testmethod(int a, int b) { return a + b; } } configure: failed build file was: <project name="conftest" default="conftest"> <target name="conftest"> <javac srcdir="." includes="conftest.java"> </javac> </target> I just looked in /Library/Java/Home, and there are 2 aliases, "doc" & "include", which lead nowhere, i.e. "the original item could not be found". Is that normal ? I have these set: JAVA_HOME=/Library/Java/Home ANT_HOME=/usr/local/ant Cheers, Joel
В списке pgsql-novice по дате отправления: