Editing Windows Installer
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 102: | Line 102: | ||
===Troubleshooting=== | ===Troubleshooting=== | ||
* The error message displayed by | * The error message displayed by make is simply the last 10 lines of the log file. This may truncate the actual error message. | ||
* Sometimes running | * Sometimes running "make" a second time without changing anything will fix the problem. In particular, autotools rebuilds some files in the first make which may cause the second make to succeed. | ||
* If it is building Octave that failed, the source will be left in | * If it is building Octave that failed, the source will be left in <mxe-octave build>/tmp-default-octave and it is possible to run "configure && make" in that directory. | ||
* The configuration will be for the target system, not your own. In particular, if you have not installed all of the packages that | * The configuration will be for the target system, not your own. In particular, if you have not installed all of the packages that MXE-octave installs, then your configuration will be different. However, some configuration variables will differ even if you have the same packages, and some compiler features may be available on the host system that are not available in cross-compile mode. | ||
* A possible causes for build failure is having files in your local source or build directory that are not listed in the | * A possible causes for build failure is having files in your local source or build directory that are not listed in the module.mk files; these are not copied into the dist archive. | ||
* | * (philip, confirmed by oheim) On my core i5 desktop system with a fast SSD, mxe-octave builds usually fails at libmng, suspectedly because of a race condition related to disk I/O. A way to get past this is by specifying "make nsis-installer JOBS=1", if required repeatedly (sometimes 5 or 6 times), interrupting the build in the next step/dependency once libmng has been built fine, and restarting with "make nsis-installer JOBS=<higher number>". As of Dec. 2015 it is only libmng that has this issue. | ||
==Testing using virtual machines== | ==Testing using virtual machines== |