ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Schouw <schou...@yahoo.com>
Subject ant under cygwin
Date Mon, 13 Jul 2009 08:09:15 GMT

Hi,

I am having some problems with my ant when I compile log4cxx. 
Could not launch gcc: java.io.IOException: Cannot run program "gcc"

When I run ant -diagnostics I get this output, is my ant installed correct?

------- Ant diagnostics report -------
Apache Ant version 1.7.1 compiled on June 27 2008
-------------------------------------------
 Implementation Version
-------------------------------------------
core tasks     : 1.7.1
optional tasks : not available
-------------------------------------------
 ANT PROPERTIES
-------------------------------------------
ant.version: Apache Ant version 1.7.1 compiled on June 27 2008
ant.java.version: 1.6
ant.core.lib: C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant.jar
ant.home: C:/cygwin/src/ant/apache-ant-1.7.1
-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: C:/cygwin/src/ant/apache-ant-1.7.1
ant-antlr.jar (5752 bytes)
ant-apache-bcel.jar (8611 bytes)
ant-apache-bsf.jar (3939 bytes)
ant-apache-log4j.jar (3056 bytes)
ant-apache-oro.jar (39627 bytes)
ant-apache-regexp.jar (3762 bytes)
ant-apache-resolver.jar (4071 bytes)
ant-commons-logging.jar (3910 bytes)
ant-commons-net.jar (47026 bytes)
ant-jai.jar (21348 bytes)
ant-javamail.jar (6998 bytes)
ant-jdepend.jar (8132 bytes)
ant-jmf.jar (6593 bytes)
ant-jsch.jar (30797 bytes)
ant-junit.jar (93518 bytes)
ant-launcher.jar (12143 bytes)
ant-netrexx.jar (9881 bytes)
ant-nodeps.jar (431580 bytes)
ant-starteam.jar (35355 bytes)
ant-stylebook.jar (2330 bytes)
ant-swing.jar (6738 bytes)
ant-testutil.jar (14941 bytes)
ant-trax.jar (6881 bytes)
ant-weblogic.jar (14205 bytes)
ant.jar (1323005 bytes)
cpptasks.jar (363967 bytes)
xercesImpl.jar (1223877 bytes)
xml-apis.jar (194354 bytes)
-------------------------------------------
 USER_HOME/.ant/lib jar listing
-------------------------------------------
user.home: C:\Documents and Settings\Administrator
No such directory.
-------------------------------------------
 Tasks availability
-------------------------------------------
image : Missing dependency javax.media.jai.PlanarImage
sshexec : Missing dependency com.jcraft.jsch.UserInfo
scp : Missing dependency com.jcraft.jsch.UserInfo
jdepend : Missing dependency jdepend.xmlui.JDepend
A task being missing/unavailable should only matter if you are trying to use it
-------------------------------------------
 org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/
-------------------------------------------
 XML Parser information
-------------------------------------------
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location: C:\cygwin\src\ant\apache-ant-1.7.1\lib\xercesImpl.jar
Namespace-aware parser : org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser
Namespace-aware parser Location: C:\cygwin\src\ant\apache-ant-1.7.1\lib\xercesImpl.jar
-------------------------------------------
 System properties
-------------------------------------------
java.runtime.name : Java(TM) SE Runtime Environment
sun.boot.library.path : c:\java\jdk1.6.0_14\jre\bin
java.vm.version : 14.0-b16
ant.library.dir : C:/cygwin/src/ant/apache-ant-1.7.1/lib
java.vm.vendor : Sun Microsystems Inc.
java.vendor.url : http://java.sun.com/
path.separator : ;
java.vm.name : Java HotSpot(TM) Client VM
file.encoding.pkg : sun.io
user.country : US
sun.java.launcher : SUN_STANDARD
sun.os.patch.level : Service Pack 3
java.vm.specification.name : Java Virtual Machine Specification
user.dir : C:\cygwin\src\log4cxx\apache-log4cxx-0.10.0
java.runtime.version : 1.6.0_14-b08
java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs : c:\java\jdk1.6.0_14\jre\lib\endorsed
os.arch : x86
java.io.tmpdir : c:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
line.separator : 
java.vm.specification.vendor : Sun Microsystems Inc.
user.variant : 
os.name : Windows XP
ant.home : C:/cygwin/src/ant/apache-ant-1.7.1
sun.jnu.encoding : Cp1252
cygwin.user.home : C:/cygwin/home/Administrator
java.library.path : c:\java\jdk1.6.0_14\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\cygwin\src\ant\apache-ant-1.7.1\bin;C:\cygwin\src\ant\apache-ant-1.7.1\bin;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;c:\Python23\;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;c:\Program
Files\ATI Technologies\ATI Control Panel;c:\Program Files\Microsoft SQL Server\90\Tools\binn\
java.specification.name : Java Platform API Specification
java.class.version : 50.0
sun.management.compiler : HotSpot Client Compiler
os.version : 5.1
user.home : C:\Documents and Settings\Administrator
user.timezone : GMT+09:00
java.awt.printerjob : sun.awt.windows.WPrinterJob
java.specification.version : 1.6
file.encoding : Cp1252
user.name : Administrator
java.class.path :
C:/cygwin/src/ant/apache-ant-1.7.1/lib/ant-launcher.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-antlr.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-apache-bcel.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-apache-bsf.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-apache-log4j.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-apache-oro.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-apache-regexp.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-apache-resolver.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-commons-logging.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-commons-net.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-jai.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-javamail.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-jdepend.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-jmf.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-jsch.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-junit.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-launcher.jar;C:
\cygwin\src\ant\apache-ant-1.7.1\lib\ant-netrexx.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-nodeps.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-starteam.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-stylebook.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-swing.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-testutil.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-trax.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant-weblogic.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\ant.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\cpptasks.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\xercesImpl.jar;C:\cygwin\src\ant\apache-ant-1.7.1\lib\xml-apis.jar;c:\java\jdk1.6.0_14\lib\tools.jar
java.vm.specification.version : 1.0
sun.arch.data.model : 32
java.home : c:\java\jdk1.6.0_14\jre
java.specification.vendor : Sun Microsystems Inc.
user.language : en
awt.toolkit : sun.awt.windows.WToolkit
java.vm.info : mixed mode, sharing
java.version : 1.6.0_14
java.ext.dirs : c:\java\jdk1.6.0_14\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
sun.boot.class.path : c:\java\jdk1.6.0_14\jre\lib\resources.jar;c:\java\jdk1.6.0_14\jre\lib\rt.jar;c:\java\jdk1.6.0_14\jre\lib\sunrsasign.jar;c:\java\jdk1.6.0_14\jre\lib\jsse.jar;c:\java\jdk1.6.0_14\jre\lib\jce.jar;c:\java\jdk1.6.0_14\jre\lib\charsets.jar;c:\java\jdk1.6.0_14\jre\classes
java.vendor : Sun Microsystems Inc.
file.separator : \
java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.cpu.endian : little
sun.io.unicode.encoding : UnicodeLittle
sun.desktop : windows
sun.cpu.isalist : pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
-------------------------------------------
 Temp dir
-------------------------------------------
Temp dir is c:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
Temp dir is writeable
Temp dir alignment with system clock is 80 ms
-------------------------------------------
 Locale information
-------------------------------------------
Timezone GMT+09:00 offset=32400000
-------------------------------------------
 Proxy information
-------------------------------------------
Java1.5+ proxy settings:
Direct connection

my Cygwin enviornment looks like this:

$ env
HOMEPATH=\Documents and Settings\Administrator
MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
APPDATA=C:\Documents and Settings\Administrator\Application Data
HOSTNAME=AD
VS71COMNTOOLS=c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\
TERM=cygwin
PROCESSOR_IDENTIFIER=x86 Family 6 Model 26 Stepping 5, GenuineIntel
WINDIR=C:\WINDOWS
VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
OLDPWD=/src/log4cxx
USERDOMAIN=AD
OS=Windows_NT
ALLUSERSPROFILE=C:\Documents and Settings\All Users
ANT_HOME=/src/ant/apache-ant-1.7.1
USER=Administrator
!::=::\
VS90COMNTOOLS=c:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\
TEMP=/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp
DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopPro
tection
COMMONPROGRAMFILES=C:\Program Files\Common Files
USERNAME=Administrator
PROCESSOR_LEVEL=6
PATH=/src/ant/apache-ant-1.7.1/bin:/src/ant/apache-ant-1.7.1/bin:/usr/local/bin:
/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Python23/:/cygdrive/c/WINDOWS/system32:
/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/
ATI Technologies/ATI Control Panel:/cygdrive/c/Program Files/Microsoft SQL Serve
r/90/Tools/binn/
FP_NO_HOST_CHECK=NO
PWD=/src/log4cxx/apache-log4cxx-0.10.0
SYSTEMDRIVE=C:
JAVA_HOME=/cygdrive/c/java/jdk1.6.0_14
USERPROFILE=C:\Documents and Settings\Administrator
PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
LOGONSERVER=\\AD
PROCESSOR_ARCHITECTURE=x86
!C:=C:\cygwin\bin
J2D_D3D=false
SHLVL=1
HOME=/home/Administrator
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.pyo;.pyc;.pyw;.py
HOMEDRIVE=C:
PROMPT=$P$G
COMSPEC=C:\WINDOWS\system32\cmd.exe
TMP=/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp
SYSTEMROOT=C:\WINDOWS
PRINTER=Microsoft XPS Document Writer
CVS_RSH=/bin/ssh
PROCESSOR_REVISION=1a05
MAKE_MODE=unix
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
PROGRAMFILES=C:\Program Files
NUMBER_OF_PROCESSORS=1
VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\Desktop
Protection
SESSIONNAME=Console
COMPUTERNAME=AD
_=/usr/bin/env


      

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message