unable to complete cross-building on fedora 20
dirk at hohndel.org
Wed Apr 9 21:47:18 PDT 2014
On Wed, 2014-04-09 at 22:52 -0500, Lakshman wrote:
> I have been trying to get cross-building working on Fedora 20, which I
> couldn't. Can someone help me where I am failing in this process.
> - I am using Fedora 20 with virtual box installed on Mac OSX 10.9.2
> - I also have mingw32-cmake, mingw32-configure, mingw32-qmake-qt4
> installed on Fedora.
> 1) I tried to build libdivecomputer as mentioned in the lines 194-200
> of "INSTALL" file, when I executed line 198 (i.e. mingw32-configure
> --disable-shared) I got the following error
> "/usr/bin/mingw32-configure: line 68: ../configure: No such file or directory"
> Since, I was not used to writing configure scripts, after some
> googling I did the following
> "autoconf configure.ac" hoping that this will generate "configure"
> script, but this resulted in the following error:
> configure.ac:21: error: possibly undefined macro: AM_INIT_AUTOMAKE
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:67: error: possibly undefined macro: AM_CONDITIONAL
> Am I going in a wrong direction?
try autoreconf --install it's somewhere in the libdivecomputer docs. I
thought I had all the steps in the README :-(
that creates the missing pieces and then mingw32-configure will work
> 2) I tried building "marble" following lines 204-211 of "INSTALL"
> file. When I ran "mingw32-cmake -DCMAKE_BUILD_TYPE=Debug -DQTONLY=TRUE
> ../sources" I got the following error:
> /usr/bin/mingw32-cmake: line 70: fg: no job control
That's weird. I've never seen that.
> I have no idea about this error and how to resolve this, tried
> googling, but attempts were in vain.
> 3) Similar error i.e. "/usr/bin/mingw32-cmake: line 70: fg: no job
> control" was thrown when I tried to run "mingw32-cmake .." for libgit2
> (line 218 of INSTALL"
Same as above. Never seen this. And I cross build all the time
More information about the subsurface