*From:* Michael Goffioul [mailto:address@hidden
*Sent:* Thursday, June 20, 2013 5:54 PM
*To:* John D
*Cc:* Philip Nienhuis; Octave Maintainers List
*Subject:* Re: MXE: qt error with native build
On Thu, Jun 20, 2013 at 5:13 PM, John D <address@hidden
<mailto:address@hidden>> wrote:
-----Original Message-----
From: Philip Nienhuis [mailto:address@hidden
John D wrote:
>
>
> -----Original Message-----
> From: Philip Nienhuis [mailto:address@hidden
<mailto:address@hidden>]
> Sent: Thursday, June 20, 2013 4:11 PM
> To: John D
> Cc: address@hidden
<mailto:address@hidden>
> Subject: Re: MXE: qt error with native build
>
> John D wrote:
> <snip>
>>
X:/MinGW/msys/1.0/home/Philip/mxe-octave/tmp-qt/qt-everywhere-opensou
>> r
>> ce-src
>> -4.8.3//projects.pro <http://projects.pro>
>> -o Makefile -spec win32-g++
>> "make" -w -- JOBS=1 -f Makefile
>> make[3]: Entering directory
>> `/home/Philip/mxe-octave/tmp-qt/qt-everywhere-opensource-src-4.8.3'
>> make[3]: *** No rule to make target `-f'. Stop.
>> ------------------------------
>>
>> It does the same on mine
>> Running just normal 'make' to create octave works fine though
>
> Not here:
>
> :
> make[8]: Entering directory
>
`/home/Philip/mxe-octave/tmp-qt/qt-everywhere-opensource-src-4.8.3/src
> /plugi
> ns/imageformats/mng'
>
X:/MinGW/msys/1.0/home/Philip/mxe-octave/tmp-qt/qt-everywhere-opensour
> ce-src
> -4.8.3/bin/qmake
>
X:/MinGW/msys/1.0/home/Philip/mxe-octave/tmp-qt/qt-everywhere-opensour
> ce-src -4.8.3/src/plugins/imageformats/mng/mng.pro <http://mng.pro>
> -o Makefile -spec win32-g++
> Project ERROR: Package libmng not found
> make[8]: *** [all] Error 2
>
Check that mng was installed - installed-packages/libmng, and if it was:
export /home/Philip/mxe-octave/usr/i686-pc-mingw32/lib/pkgconfig
make
(in the /home/Philip/mxe-octave) folder and see what happens.
Also, just for info, I created a script in tools/set_mxe_env.sh you
can run
as source tools/set_mxe_env.sh, that sets all the bin/lib/config
paths that
may help.
I created it for compiling the octave_hg versions of code in mingw after
having a working mxe-octave.
It isn't much use for anything except for native mingw builds.
I only followed the discussion a little bit, but I've the impression
these specific variables should be set by the top-level Makefile.
Michael.
------------------------------------------------------------------------
They are(with the exception of PKG_CONFIG_PATH, which used to be there,
but I believe no longer is)
My script is more for use with compiling the octave directly from the
main hg repo than for compiling mxe-octave.