[Ecls-list] windows-nsi build failed
Dean O'Connor
dean.oconnor at ite.com.au
Thu Jun 21 05:53:16 UTC 2007
I got that too.
See attached diff files for fixes that worked for me.
The basic problem seems to be that the flatinstall was not copying the
Copyright file.
Also, I think perhaps its destination sub-dir "doc" is not needed.
After those fixes, it created ecl-0.9i.exe ok, and installed ok.
But when I ran it I got a Runtime Error!
"R603 An application has made an attempt to load the C runtime library
incorrectly."
The problem was that the ecl.exe.manifest was not being included in the
ecl.nsi and so not installed.
The fix seems a bit tricky because in msvc\util\ecl_nsi.bat this
following statement is causing the "ecl.exe.manifest" to be cut out of
the list, as it matches "ecl.exe"
dir /b /a:-d | ..\c\cut.exe "ecl.exe" "/DELETE/" "ecl.nsi" "/DELETE/"
"%where%\\" "" > ../aux_files
I don't really see how to stop this unless you modify src\util\cut.c
logic to match whole word.
So I simply added this hardcoded statement after the above:
echo ecl.exe.manifest >> ../aux_files
With all those changes it installs and runs ok.
ps. the fix for ecl.nsi is prob not necessary.
cheers
deano
Alan Rossum wrote:
> Hi.
>
> I tried 'nmake windows-nsi'. The build started but then failed with
> the following :
>
> LicenseData : open failed
> "C:\programming\ecl\ecl\msvc\ecl-0.9i\doc\Copyright"
> Usage : LicenseData local_file_that_has_license_text |
> license_lang_string
> Error in macro MUI_PAGE_LICENSE on macroline 21
> Error in script "c:\programming\ecl\ecl\ecl-0.9i/ecl.nsi" on line 24.
> Aborting creation process.
> NMake : fatal error U1077 : 'makensis.exe' return code 0x1
> Stop.
>
> thanks,
> alan
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ecl.nsi1.patch
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20070621/a387e2d4/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile.patch
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20070621/a387e2d4/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ecl_nsi.bat.patch
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20070621/a387e2d4/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ecl.nsi.patch
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20070621/a387e2d4/attachment-0003.ksh>
More information about the ecl-devel
mailing list