Hi, partly solved the problem by adding -I in the include path of cln in all Makefiles. However still some error is coming Making all in ginac /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am make[2]: Nothing to be done for `all-am'. Making all in check make[1]: Nothing to be done for `all'. Making all in ginsh /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am /bin/sh ../libtool --tag=CXX --mode=link g++ -std=gnu++11 -g -O2 -o ginsh ginsh_parser.o ginsh_lexer.o ../ginac/libginac.la /Users/gkdgoutam/Softwares/HEP_Softwares/Install/Cln134/lib libtool: link: g++ -std=gnu++11 -g -O2 -o .libs/ginsh ginsh_parser.o ginsh_lexer.o /Users/gkdgoutam/Softwares/HEP_Softwares/Install/Cln134/lib -Wl,-bind_at_load ../ginac/.libs/libginac.dylib ld: can't map file, errno=22 file '/Users/gkdgoutam/Softwares/HEP_Softwares/Install/Cln134/lib' for architecture x86_64 clang: *error: *linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [ginsh] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 Note: I have got the message == ginsh will not compile, because readline headers could not be found. during configure and I have ignored that. Any idea how to solve? On Fri, Feb 2, 2018 at 2:10 PM, Goutam Das <gkdgoutam@gmail.com> wrote:
Hi, on the ginac/Makefile if I remove the character : after from the last of
CLN_CFLAGS = /Users/gkdgoutam/Softwares/HEP_Softwares/Install/Cln134/ include:
CLN_LIBS = /Users/gkdgoutam/Softwares/HEP_Softwares/Install/Cln134/lib:
the error message now changes of not finding cln header files
/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='"/Users/ gkdgoutam/Softwares/HEP_Softwares/Install/Ginac173/libexec/"' /Users/gkdgoutam/Softwares/HEP_Softwares/Install/Cln134/include -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=\"/Users/gkdgoutam/Softwares/HEP_Softwares/Install/Ginac173/libexec/\" /Users/gkdgoutam/Softwares/HEP_Softwares/Install/Cln134/include -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: *warning: */Users/gkdgoutam/Softwares/HEP_Softwares/Install/Cln134/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from add.cpp:23:
In file included from ./add.h:26:
In file included from ./expairseq.h:26:
In file included from ./expair.h:27:
*./numeric.h:30:10: **fatal error: **'cln/complex.h' file not found*
#include <cln/complex.h>
* ^~~~~~~~~~~~~~~*
1 error generated.
make[1]: *** [libginac_la-add.lo] Error 1
make: *** [all] Error 2
Any idea how to sort out the problem on Mac?
On Mon, Jan 29, 2018 at 7:15 PM, Goutam Das <gkdgoutam@gmail.com> wrote:
@Vladimir, thanks but I do not prefer to install Homebrew or MacPorts as most of the time they affects due to broken packages and also much bulky. So I install whatever needed for my work from the source itself. In this case I have installed cln successfully but failed in installing Ginac.
@Isuru, after configure, in the Makefile I can see the following:
CPPFLAGS = /Users/gkdgoutam/Softwares/HEP_Softwares/Install /Cln134/include:
CXXFLAGS = -g -O2