Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build & Install on MACOS #72

Open
abrahamktm opened this issue Jan 24, 2023 · 1 comment
Open

Build & Install on MACOS #72

abrahamktm opened this issue Jan 24, 2023 · 1 comment

Comments

@abrahamktm
Copy link

I'm trying to use and install Kactus2-3.10.0 on Ventura 13.1 OS on Intel-Based 64 bit Mac.. Would someone happen to have build & install instructions for MacOS?

I tried the below steps but I get error. Could someone help identify the issue?

ld: warning: directory not found for option '-Lx64/executable'
Undefined symbols for architecture x86_64:
"_PyArg_UnpackTuple", referenced from:
SwigPyObject_own(_object*, _object*) in PythonAPI_wrap.o
"_PyBool_FromLong", referenced from:
_wrap_SwigPyIterator_equal(_object*, object*) in PythonAPI_wrap.o
wrap_SwigPyIterator___eq
(_object*, object*) in PythonAPI_wrap.o
wrap_SwigPyIterator___ne
(_object*, _object*) in PythonAPI_wrap.o
....
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libPythonAPI.1.0.0.dylib] Error 1

Steps followed:

Install XCode from App Store on MAC
Install home-brew
Close terminal and open new one
brew install qt5
brew install swig
brew install [email protected]
Download kactus2 tar from sourceforge (linux tar) link that is mentioned in https://github.com/kactus2/kactus2dev
Unzip the tar and cd into it
In qmake.conf, change LOCAL _INSTALL_DIR to one of your home dir path where you want the installation of kactus2
In file “configure":

  • set QTBIN_PATH correctly (note: dont forget / at the end)
  • PYTHON_CONFIG=python3.10-config
    ./configure
    make

make fails

Thanks
Abktm

@abrahamktm abrahamktm changed the title Installing on MACOS Build & Install on MACOS Jan 24, 2023
@epekkar
Copy link
Collaborator

epekkar commented Jan 30, 2023

Hi Abktm,

Unfortunately, none on the development team has tried the MacOS build. What I can tell from the error listing, is that linker is attempting to load libraries from directory x64/executable, which is used in the Windows build, and not executable, which is used in Linux and assumably what MacOS build should use. Another point, which will not solve this issue, that you are installing Qt5 when the latest version 3.11. requires Qt6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants