Skip to main content

Issue with phoneME Feature Software (MR4) build

2 replies [Last post]
vinayajax
Offline
Joined: 2008-07-21

Hi All,

I used following batch file to build phoneME Feature Software (MR4) build. Created required directories in advance, this batch file is just to set environment variables.

set COMPONENTS_DIR=D:\phoneME\phoneME_mr4\phoneme_feature
set EMULATOR_DIR=D:\phoneME\mr4_emulator\phoneme_feature
set BUILD_OUTPUT_DIR=%COMPONENTS_DIR%\build_output
set JDK_DIR=C:\Program Files\Java\jdk1.6.0_10
set CYG4ME=D:\phoneME\cyg4me1_1_full\cyg4me
set PATH=%CYG4ME%\bin;%JDK_DIR%\bin;%PATH%
set BuildDir=%COMPONENTS_DIR%\javacall-com\configuration\phoneMEFeature\win32_emul
set JAVACALL_DIR=%COMPONENTS_DIR%\javacall
set PROJECT_JAVACALL_DIR=%COMPONENTS_DIR%\javacall-com
set JAVACALL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%\javacall
set USE_MULTIPLE_ISOLATES=true
set ENABLE_ISOLATES=true
set TOOLS_DIR=%COMPONENTS_DIR%\tools
set TOOLS_OUTPUT_DIR=%BUILD_OUTPUT_DIR%\tools
set USE_OUTPUT_REDIRECTION=true

Following error i got on executing make command

make -C %BuildDir% JAVACALL_DIR=%COMPONENTS_DIR%/javacall PROJECT_JAVACALL_DIR=%COMPONENTS_DIR%/javacall-com JAVACALL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/javacall USE_MULTIPLE_ISOLATES=true TOOLS_DIR=%COMPONENTS_DIR%/tools TOOLS_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/tools USE_OUTPUT_REDIR
ECTION=true
make: Entering directory `D:/phoneME/phoneME_mr4/phoneme_feature/javacall-com/configuration/phoneMEFeature/win32_emul'
... D:\phoneME\phoneME_mr4\phoneme_feature\build_output/tools/Configurator.manifest
... building CodeTransformer
C:Program: not found
make: *** [D:\phoneME\phoneME_mr4\phoneme_feature\build_output/tools/Configurator.jar] Error 127
make: Leaving directory `D:/phoneME/phoneME_mr4/phoneme_feature/javacall-com/configuration/phoneMEFeature/win32_emul'

Can anyone help me out of of this?
Thanks in advence.

Vinay

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
yevgenydiomidov
Offline
Joined: 2006-08-07

Hello Vinay,

Please use short paths w/o spaces, for example set JDK_DIR=C:/Progra~1/Java/jdk1.6.0_10

https://phoneme.dev.java.net/content/mr4/buildenv_feature.html
"You can use also the cygpath utility (from Cyg4me) to get the Windows short name. For example:
C:\>: cygpath -ms "C:\Program Files\Microsoft Visual Studio 8\VC\bin"
delivers the short name
C:/PROGRA~1/MICROS~2/VC/bin"

Regards,
Yevgeny

vinayajax
Offline
Joined: 2008-07-21

Thanks a lot Yevgeny.

Following your suggestion for short name i was able to move forward but
I encountered another problem while building CLDC reference port which is as follows :

xargs: cygpath: terminated by signal 13
xargs: cygpath: terminated by signal 13
make[1]: *** [OsSocket_win32.obj] Error 125
make[1]: Leaving directory `D:/vinay/mr4/phoneme_feature/build_output/cldc/javacall_i386_vc/romgen/app'
make: *** [_romgen] Error 2
make: Leaving directory `D:/vinay/mr4/phoneme_feature/cldc/build/javacall_i386_vc'

Can you or anyone suggest any solution for it.
Thanks in advance.

Vinay