conky-for-macOS icon indicating copy to clipboard operation
conky-for-macOS copied to clipboard

Trouble installing in M1 architecture.

Open dcxSt opened this issue 2 years ago • 2 comments

Issue

Trouble installing in M1 architecture.

Information

I followed the installation guide but got the below error, I think it's because I have the new MacBook air with the M1 architecture.

 CMAKE_C_FLAGS: -std=c99
 CMAKE_CXX_FLAGS: -std=c++17
 CMAKE_C_FLAGS_DEBUG: -g
 CMAKE_CXX_FLAGS_DEBUG: -g
 CMAKE_C_FLAGS_MINSIZEREL: -Os -DNDEBUG
 CMAKE_CXX_FLAGS_MINSIZEREL: -Os -DNDEBUG
 CMAKE_C_FLAGS_RELEASE: -O3 -DNDEBUG
 CMAKE_CXX_FLAGS_RELEASE: -O3 -DNDEBUG
 CMAKE_C_FLAGS_RELWITHDEBINFO: -O2 -g -DNDEBUG
 CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O2 -g -DNDEBUG
 CMAKE_BUILD_TYPE: RelWithDebInfo
 Looking for clock_gettime
 Looking for clock_gettime - found
 CMake Error at cmake/ConkyPlatformChecks.cmake:349 (message):
   Unable to find freetype library
 Call Stack (most recent call first):
   CMakeLists.txt:35 (include)

 Configuring incomplete, errors occurred!
 See also "/Users/steve/Documents/code/conky-for-macOS/build/CMakeFiles/CMakeOutput.log".
 See also "/Users/steve/Documents/code/conky-for-macOS/build/CMakeFiles/CMakeError.log".

dcxSt avatar Apr 07 '22 19:04 dcxSt

This repo was merged into brndnmtthws/conky on July 2018 (conky/pull/480)

To get it to run on macOS:

deps:

brew install cmake freetype gettext lua imlib2 pkg-config
brew link gettext --force

build:

git clone https://github.com/brndnmtthws/conky.git
cd conky
mkdir build
cd build
cmake ..
sudo make install

researcx avatar Oct 22 '22 11:10 researcx

Yeah it should work on M1 aswell, thanks for answering on my behalf btw.

npyl avatar Oct 22 '22 11:10 npyl