|
From: | John Donoghue |
Subject: | Re: Building on MinGW using MXE-built dependencies [WAS: Re: mxe-installer try 2] |
Date: | Wed, 29 May 2013 18:41:27 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
On 05/27/2013 11:49 PM, John W. Eaton
wrote:
On 05/26/2013 03:32 PM, Philip Nienhuis wrote:Just out of interest sake, I tried mxe-octave in both a native mingw environment and a redhat 6.3 (to build as a redhat target) as clean builds. I found as Philip mentioned that mingw doesnt like multitasking the make so I was stuck with --jobs 1 Also (as Philip had also mentioned), mingw in windows does not support links, doing a copy instead, which makes looking at the latest log file for a built (or failed) program annoying as the log/ file is empty, since it was linked at the start of the build. Can we change the build output to go to the link file rather than the actual file so that it will still work in linux, but will also then have a copy of the latest log file in log/ (the 0 size one in windows would then be in the date stamped folder) I will push a change to do this if there are no objecttions? Mingw failed trying to build build-flex since it couldnt regex.h, however I wasnt too concerned on that as flex is a package available in mingw already. It also failed on build-pkg-config during the install part (it compiled ok, however was another ln issue): log said: Pkg-config failed: libtool: install: /bin/install -c
.libs/pkg-config.exe /home/jdonoghue/mxe-octav make install-exec-hook make[5]: Entering directory
`/home/jdonoghue/mxe-octave/tmp-build-pkg-config/pkg cd /home/jdonoghue/mxe-octave/usr/bin
&& ln pkg-config.exe i686-pc-mingw32-pkg-c ln: creating hard link
`i686-pc-mingw32-pkg-config.exe' to `pkg-config.exe': Fil make[5]: *** [install-exec-hook] Error 1 make[5]: Leaving directory
`/home/jdonoghue/mxe-octave/tmp-build-pkg-config/pkg- For Redhat, I actually got to the octave build with very few issues :) fltk requires freetype to build - when adding to its deps (as a native), it built fltk ok. Font-config failed as it didnt have docbook2pdf - which I guess we dont need to install for a build anyway - I disabled with the --disable-docs option in configure. Qt failed as it couldnt find GL/gl.h - I disabled gl in configure to get it to work, however it should have been easy enough to get GL devel installed. It then failed at building octave as it didnt like the fortran compiler .... guess I will have to tell it to build the tools and see what happens. Anyway, it there are no objections I will also push the change for fltk and font-config.mk. John D |
[Prev in Thread] | Current Thread | [Next in Thread] |