You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by zheng daqi <zh...@gmail.com> on 2008/09/16 05:27:49 UTC

[HELP] "CreateProcess error=193" When running "ant -Dcompile.c++=yes examples"

Hello,

I got a problem when I compiled hadoop's pipes' example(under cygwin).
and I searched a lot, and find nobody have met the same problem.
could you please give me some suggestions, thanks very much.

when I run
$ ant
$ ant examples
both BUILD SUCCESSFUL

but when I run
$ ant -Dcompile.c++=yes examples

the error info list below:

Buildfile: build.xml

clover.setup:

clover.info:
     [echo]
     [echo]      Clover not found. Code coverage reports disabled.
     [echo]

clover:

init:
    [touch] Creating c:\DOCUME~1\GODBLE~1\LOCALS~1\Temp\null1553129825
   [delete] Deleting: c:\DOCUME~1\GODBLE~1\LOCALS~1\Temp\null1553129825
     [exec] src/saveVersion.sh: line 22: svn: command not found
     [exec] src/saveVersion.sh: line 23: svn: command not found

record-parser:

compile-rcc-compiler:

compile-core-classes:
    [javac] Compiling 1 source file to
E:\cygwin\home\godblesswho\hadoopinstall\
hadoop-0.18.0\build\classes

compile-core-native:

check-c++-makefiles:

create-c++-pipes-makefile:

BUILD FAILED
E:\cygwin\home\godblesswho\hadoopinstall\hadoop-0.18.0\build.xml:1115:
Execute f
ailed: java.io.IOException: Cannot run program
"E:\cygwin\home\godblesswho\hadoo
pinstall\hadoop-0.18.0\src\c++\pipes\configure" (in directory
"E:\cygwin\home\go
dblesswho\hadoopinstall\hadoop-0.18.0\build\c++-build\Windows_XP-x86-32\pipes"):
 CreateProcess error=193, %1 ????????????Ч???? Win32 ????ó

Re: [HELP] "CreateProcess error=193" When running "ant -Dcompile.c++=yes examples"

Posted by Steve Loughran <st...@apache.org>.
zheng daqi wrote:
> Hello,
> 
> I got a problem when I compiled hadoop's pipes' example(under cygwin).
> and I searched a lot, and find nobody have met the same problem.
> could you please give me some suggestions, thanks very much.

> BUILD FAILED
> E:\cygwin\home\godblesswho\hadoopinstall\hadoop-0.18.0\build.xml:1115:
> Execute f
> ailed: java.io.IOException: Cannot run program
> "E:\cygwin\home\godblesswho\hadoo
> pinstall\hadoop-0.18.0\src\c++\pipes\configure" (in directory
> "E:\cygwin\home\go
> dblesswho\hadoopinstall\hadoop-0.18.0\build\c++-build\Windows_XP-x86-32\pipes"):
>  CreateProcess error=193, %1 ????????????Ч???? Win32 ????ó

when Ant can't run a program, you get a windows system error code
http://msdn.microsoft.com/en-us/library/ms681382(VS.85).aspx

"ERROR_BAD_EXE_FORMAT 193 0xC1 %1 is not a valid Win32 application."

I'd look for the program 'configure' on your path. What happens when you
type it in on the command line?

Re: [HELP] "CreateProcess error=193" When running "ant -Dcompile.c++=yes examples"

Posted by Owen O'Malley <om...@apache.org>.
I don't think anyone has ever tried running the pipes code under windows, so
there may well be portability problems. If you figure out solutions for the
problems, please file patches.

-- Owen