Build fails on MacOS 11.1
I previously built Dino on this Mac, however, I'm now on MacOS 11.1 and the build fails with the errors shown below.
I have MacOSX11.1.sdk, glib is verison 2.66.3, and gdk-pixbuf is 2.42.0 or 2.42.2.
Should I just create file links with the older versions to the version I have installed?
brew ~/dino$ git pull
Already up to date.
brew ~/dino$ brew sh
Your shell has been configured to use Homebrew's build environment;
this should help you build stuff. Notably though, the system versions of
gem and pip will ignore our configuration and insist on using the
environment they were built under (mostly). Sadly, scons will also
ignore our configuration.
When done, type `exit`.
brew ~/dino$ ./configure
CMake Warning at /usr/local/Cellar/cmake/3.19.1/share/cmake/Modules/Platform/Darwin-Initialize.cmake:294 (message):
Ignoring CMAKE_OSX_SYSROOT value:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
because the directory does not exist.
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.19.1/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
CMakeLists.txt:9 (project)
-- Configuring Dino 0.2.0~git12.20201204.cc01374 with plugins: http-files, omemo, openpgp
-- ALPN support enabled
-- Configuring done
CMake Error in qlite/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in qlite/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in xmpp-vala/CMakeLists.txt:
Imported target "gdk-pixbuf-2.0" includes non-existent path
"/usr/local/Cellar/gdk-pixbuf/2.40.0_1/include/gdk-pixbuf-2.0"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in xmpp-vala/CMakeLists.txt:
Imported target "gdk-pixbuf-2.0" includes non-existent path
"/usr/local/Cellar/gdk-pixbuf/2.40.0_1/include/gdk-pixbuf-2.0"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in libdino/CMakeLists.txt:
Imported target "gdk-pixbuf-2.0" includes non-existent path
"/usr/local/Cellar/gdk-pixbuf/2.40.0_1/include/gdk-pixbuf-2.0"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in libdino/CMakeLists.txt:
Imported target "gdk-pixbuf-2.0" includes non-existent path
"/usr/local/Cellar/gdk-pixbuf/2.40.0_1/include/gdk-pixbuf-2.0"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in main/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in main/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/http-files/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/http-files/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/gpgme-vala/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/gpgme-vala/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/openpgp/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/openpgp/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/crypto-vala/CMakeLists.txt:
Imported target "glib-2.0" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include/glib-2.0"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/crypto-vala/CMakeLists.txt:
Imported target "glib-2.0" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include/glib-2.0"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/omemo/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/omemo/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/signal-protocol/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in plugins/signal-protocol/CMakeLists.txt:
Imported target "gee-0.8" includes non-existent path
"/usr/local/Cellar/glib/2.64.4/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
That would be really great to have installable dmg package for MacOS as there are no good enough XMPP clients out there.
Note that after any homebrew upgrade libs get lost, so I nuke dino, then reclone and configure works again.
@licaon-kter Thanks. Do you have a screenshot of how it currently looks on MacOS?
No, but looks the same as on Linux... aka not native :)
I don't know but for me on GNOME with Fedora Linux it looks very native.
Read issue title, then read my answer again. :)
Hi, i solved this by deleting the dino folder and doing again the steps 4, 5 and 6 of the guide, Have a nice day