[Qgis-developer] creatensis.pl problem
David Silva Barrera
dsilva at uci.cu
Fri Apr 15 11:50:17 EDT 2011
Well, I found out the script tries to download osgeo4w files and unpack then before real packaging.
But I already have osgeo4w downloaded local using osgeo4w-setup.exe with Advanced install/Install from local Directory.
And also installed and configured to develop and run Qgis (modifying windows paths as suggested somewhere else).
How can I make the script to take a shortcut??
Regards,
David
De: qgis-developer-bounces at lists.osgeo.org [mailto:qgis-developer-bounces at lists.osgeo.org] En nombre de David Silva Barrera
Enviado el: jueves, 14 de abril de 2011 3:17 p.m
Para: qgis-developer at lists.osgeo.org
Asunto: [Qgis-developer] creatensis.pl problem
Hi,
I'm trying to make a qgis package. Following INSTALL instructions I went to Ubuntu, installed nsis and executed creatensis.pl in it's own folder ../ms-windows/osgeo4w/. It freezes, after a will (long one); I press Control + C three times, the last one make it show this result:
^C ^C ^C unzip: cannot find or open ../../../packages/nircmd.zip, ../../../packages/nircmd.zip.zip or ../../../packages/nircmd.zip.ZIP.
SET(CPACK_PACKAGE_VERSION_MAJOR "1")
SET(CPACK_PACKAGE_VERSION_MINOR "5")
SET(CPACK_PACKAGE_VERSION_PATCH "0")
SET(COMPLETE_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
SET(RELEASE_NAME "Tethys")
SET(PROJECT_VERSION ${COMPLETE_VERSION})
PROJECT(qgis${PROJECT_VERSION})
........
the show continues and finish like this:
......
File: Descending to: "osgeo4w/unpacked/apps/"
File: Descending to: "osgeo4w/unpacked/apps/nircmd/"
File: Descending to: "osgeo4w/unpacked/bin/"
File: Returning to: "osgeo4w/unpacked"
File: "osgeo4w/unpacked\*.*" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)
Error in script "QGIS-Installer.nsi" on line 363 -- aborting creation process
Any idea???
Regards,
David
----- Mensaje original -----
De: "David Silva Barrera" <dsilva at uci.cu>
Para: qgis-developer at lists.osgeo.org
Enviados: Martes, 12 de Abril 2011 11:54:41 (GMT-0500) Auto-Detected
Asunto: [Qgis-developer] Error on command "cpack NSIS", 1.5.0
Hi,
I tried to generate a qgis 1.5.0 installer package, but I received an error:
****************
CPACK shows this:
CPack: Create package using NSIS
CPack: Install projects
CPack: - Run preinstall target for: qgis1.5.0
CPack: - Install project: qgis1.5.0
Installing CORE headers...
Installing ANALYSIS headers...
Installing GUI headers...
CPack: Compress package
CPack Error: Problem running NSIS command: "C:/Archivos de programa/NSIS/makensis.exe" "D:/USUARIOS/dsilva/Proyecto/QT/qtcreator-build-base-trunk/_CPack_Packages/win32/NSIS/project.nsi"
Please check D:/USUARIOS/dsilva/Proyecto/QT/qtcreator-build-base-trunk/_CPack_Packages/win32/NSIS/NSISOutput.log for errors
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: qgis1.5.0
*************
This is from the NSISoutput.log file:
Error in macro MUI_HEADERIMAGE_INIT on macroline 24
Error in macro MUI_GUIINIT on macroline 3
Error in macro MUI_FUNCTION_GUIINIT on macroline 4
Error in macro MUI_INSERT on macroline 11
Error in macro MUI_LANGUAGE on macroline 7
Error in script "D:/USUARIOS/dsilva/Proyecto/QT/qtcreator-build-base-trunk/_CPack_Packages/win32/NSIS/project.nsi" on line 438 -- aborting creation process
****************
Project.nsi has this text on line 438:
!insertmacro MUI_LANGUAGE "English"
******************
My Windows XP’s language is Spanish. Maybe NSIS can’t find an English package.
Please help.
Regards,
David
_______________________________________________ Qgis-developer mailing list Qgis-developer at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110415/e3c2a911/attachment-0001.html
More information about the Qgis-developer
mailing list