[GiNaC-list] Problem of installing ginac on mac os
Isuru Fernando
isuruf at gmail.com
Mon Jan 29 18:29:26 CET 2018
Do you have CPPFLAGS or CXXFLAGS environment variables set? If so, what are
they?
Isuru
On Fri, Jan 26, 2018 at 1:06 PM, Goutam Das <gkdgoutam at gmail.com> wrote:
> I am trying to install ginac on mac os 10.13.2.
> The Cln1.3.4 is installed without error.
>
> I have tried to installed both way:
> 1. ./configure works with showing
>
> === The following minor problems have been detected by configure.
>
> === Please check the messages below before running "make".
>
> === (see the section 'Common Problems' in the INSTALL file)
>
> == ginsh will not compile, because readline headers could not be found.
>
> == Documentation may not build, because fig2dev/texinfo is missing.
>
> == Reference manual will not build, because doxygen is missing.
>
> Configuration of GiNaC 1.7.2 done. Now type "make".
>
>
> These above warning I am ignoring.
>
> Next, while doing make I am getting the following error:
>
>
> Making all in ginac
>
> /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
>
> /bin/sh ../libtool --tag=CXX --mode=compile g++ -std=gnu++11
> -DHAVE_CONFIG_H -I. -I../config -DLIBEXECDIR='"/usr/local/libexec/"'
> /Users/gkdgoutam/Softwares/HEP_Softwares/Install/Cln134/include/cln: -g
> -O2 -MT libginac_la-add.lo -MD -MP -MF .deps/libginac_la-add.Tpo -c -o
> libginac_la-add.lo `test -f 'add.cpp' || echo './'`add.cpp
>
> libtool: compile: g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../config
> -DLIBEXECDIR=\"/usr/local/libexec/\" /Users/gkdgoutam/Softwares/
> HEP_Softwares/Install/Cln134/include/cln: -g -O2 -MT libginac_la-add.lo
> -MD -MP -MF .deps/libginac_la-add.Tpo -c add.cpp -fno-common -DPIC -o
> .libs/libginac_la-add.o
>
> clang: *error: *no such file or directory: '/Users/gkdgoutam/Softwares/
> HEP_Softwares/Install/Cln134/include/cln:'
>
> make[2]: *** [libginac_la-add.lo] Error 1
>
> make[1]: *** [all] Error 2
>
> make: *** [all-recursive] Error 1
>
>
>
>
> 2. I tried to compile with cmake, however there I am getting the following
> problem:
>
> cmake ../ginac-1.7.2
>
> -- Checking for module 'cln'
>
> -- No package 'cln' found
>
> -- found CLN [/Users/gkdgoutam/Softwares/HEP_Softwares/Install/Cln134/include/cln/version.h],
> version 1.3.4
>
> CMake Error at /Applications/CMake.app/Contents/share/cmake-3.8/Modules/
> FindPackageHandleStandardArgs.cmake:137 (message):
>
> Could NOT find CLN (missing: CLN_LIBRARIES) (found suitable version
>
> "1.3.4", minimum required is "1.2.2")
>
> Call Stack (most recent call first):
>
> /Applications/CMake.app/Contents/share/cmake-3.8/Modules/
> FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
>
> cmake/modules/FindCLN.cmake:116 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>
> CMakeLists.txt:30 (find_package)
>
>
>
> -- Configuring incomplete, errors occurred!
>
> See also "/Users/gkdgoutam/Softwares/HEP_Softwares/Source/ginac_
> build/CMakeFiles/CMakeOutput.log".
>
>
>
> In both cases, the problem seems to come from cln, but could not able to
> fix.
>
> Is it possible to get some help?
>
>
> I am using :
>
> gcc --version
>
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/Applications/Xcode.app/
> Contents/Developer/Platforms/MacOSX.platform/Developer/
> SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
>
> Apple LLVM version 9.0.0 (clang-900.0.39.2)
>
> Target: x86_64-apple-darwin17.3.0
>
> Thread model: posix
>
> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/
> XcodeDefault.xctoolchain/usr/bin
>
>
> _______________________________________________
> GiNaC-list mailing list
> GiNaC-list at ginac.de
> https://www.cebix.net/mailman/listinfo/ginac-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20180129/9ab7e23c/attachment-0001.html>
More information about the GiNaC-list
mailing list