Trying the MacOS build again

Johnny Jazeix jazeix at gmail.com
Tue Jan 23 14:38:10 UTC 2018


Hi,

I just found
https://www.ynonperek.com/2017/09/18/building-gcompris-qt-on-macos/ that
could help (it misses a elseif in the CMakeLists.txt).

I was waiting for more change on the full gcompris package but I will merge
it tonight.

Johnny

2018-01-23 14:59 GMT+01:00 B.J. <bj at koupps.net>:

> *OK.  Here’re the commands/edits I used so far:*
>
>
>    - git clone git://anongit.kde.org/gcompris.git
>
>
There you should have done a cd gcompris/


>
>    - git submodule init
>    - git submodule update
>
>
>    - // *needed? omitted this time:     *  ~/Qt/5.6/clang_64/bin/qmake
>    -config release ../gcompris/gcompris.pro
>
>
>    - {change src/core/CMakeLists.txt line 138, adding AND NOT APPLE after
>    sailfishos}  *// couldn't find this time around!  skipped*
>    - {change src/core/CMakeLists.txt line 96, adding
>    "set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)" in "APPLE" in
>    "BUILD_STANDALONE"}
>
>
>    - export Qt5_DIR="/Users/faculty/Qt/5.9.3/clang_64/lib/cmake/Qt5"
>    - export PATH=$PATH:/Users/faculty/Qt/5.9.3/clang_64/bin
>
>
>    - cmake -DQML_BOX2D_MODULE=submodule -DACTIVATION_MODE=internal
>    ../gcompris
>    - make
>
>
> *I still had that odd cmake output, but it continued this time (since I
> guess I have the submodule now):*
>
> -- Building qml-box2d module from submodule
> -- Found Git: /usr/bin/git (found version "2.14.3 (Apple Git-98)")
> fatal: Not a git repository (or any of the parent directories): .git
> -- Configuring done
> -- Generating done
>
> *…it continues & finishes though...*
>
> $ make
> Scanning dependencies of target createShareFolders
> [  0%] Generating shareFolders
> [  0%] Built target createShareFolders
> Scanning dependencies of target BuildTranslations
> [  0%] Built target BuildTranslations
> Scanning dependencies of target qml_box2d
> [  1%] Creating directories for 'qml_box2d'
> [  1%] No download step for 'qml_box2d'
> [  1%] No patch step for 'qml_box2d'
> [  1%] No update step for 'qml_box2d'
> [  1%] Performing configure step for 'qml_box2d'
> Info: creating stash file /Users/faculty/src/gcompris-0.
> 81/build/qml_box2d-prefix/src/qml_box2d-build/.qmake.stash
> [  3%] Performing build step for 'qml_box2d'
> [  3%] Performing install step for 'qml_box2d'
> cp: libBox2D.so: No such file or directory
>


> make[2]: *** [qml_box2d-prefix/src/qml_box2d-stamp/qml_box2d-install]
> Error 1
> make[1]: *** [CMakeFiles/qml_box2d.dir/all] Error 2
> make: *** [all] Error 2
>
> So is the make problem derivative of the error CMake communicated?  There
> isn’t a .git tree in the build directory of course so I’m not sure if I
> should do something to point to that back in the source tree...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20180123/5301bb23/attachment-0001.html>


More information about the GCompris-devel mailing list