From: Vadim <va...@vk...> - 2006-10-25 16:03:13
|
Donato Azevedo wrote: > On 10/25/06, Vadim <va...@vk...> wrote: > >> Donato Azevedo wrote: >> >> >I downloaded all the files listed on perlce's website. >> >The compile process was fine, until I stumbled upon this error... >> > >> > >> >> until what step the compilation was fine? >> please provide more details >> >> >Has anyone got an idea on how to fix it? >> >Should I get another perl version other than 5.8.8? >> > >> > >> >> unfortunately currently blead berl will not compile either, sorry. >> At some point 5.9.3@patch28XXX was compilable, but then too many >> incompatible improvements was made > > > Does this mean 5.8.8 (stable version) was supposed to be compileable? it is almost compileable (you'll need few fixes, see recent perlce ML messages for details) > > I commented the part that referred to FindExt on the config_sh.PL and > was able to get to a next step. > > But I came across some issues with my compile.bat file due to the fact > that my is not all right. > > This is one of the errors: > c:\wince\perl-5.8.8\perl.h(431) : fatal error C1083: Cannot open > include file: ' > stdarg.h': No such file or directory > NMAKE : fatal error U1077: 'clarm.exe' : return code '0x2' > Stop. > > I copied all the .h files in MSVC's include directory to a properly > named directory (one that did not contain white spaces) and then I > opened makefile.ce and edited the variable MCFLAGS adding -I > C:\wince\msvclib this isn't correct, as you provided win32 H files, but should provide different ones. > > If any of you could please send me a copy of his compile.bat file I'd > really apreciate. > > MY COMPILE.BAT > ------- > set ARG-1=PV= > set ARG-2=INST_VER= > set ARG-3=INSTALL_ROOT=\Storage Card\perl58m > set ARG-4=WCEROOT=%SDKROOT% > set ARG-5=CEPATH=%WCEROOT% > set ARG-6=CELIBDLLDIR=C:\wince\celib-palm-3.0 > set ARG-7=CECONSOLEDIR=C:\wince\w32console > > rem Only for WIN2000 > set ARG-8=YES=/y > > set ARG-9=CFG=RELEASE > > rem > rem uncomment one of following lines that matches your configuration > > rem iPAQ rx3715 arm Samsung S3C 2440 processor with windows mobile 2003 > set ARG-10=MACHINE=wince-arm-pocket-wce300 > > set ARG-11=PERLCEDIR=$(MAKEDIR) > set ARG-12=MSVCDIR=C:\Arquivos de programas\Microsoft Visual Studio\VC98 > set ARG-13=CECOPY=$(HPERL) -I$(PERLCEDIR)\lib $(PERLCEDIR)\comp.pl --copy > > nmake -f Makefile.ce "%ARG-1%" "%ARG-2%" "%ARG-3%" "%ARG-4%" "%ARG-5%" > "%ARG-6%" "%ARG-7%" "%ARG-8%" "%ARG-9%" "%ARG-10%" "%ARG-11%" > "%ARG-12%" "%ARG-13%" %1 %2 %3 %4 %5 %6 %7 %8 %9 > all seemingly correct, but have you set environment variables SDKROOT and WCEROOT mentioned in lines: set ARG-4=WCEROOT=%SDKROOT% set ARG-5=CEPATH=%WCEROOT% ? Best regards, Vadim. |