[GiNaC-list] Problem of installing ginac on mac os

Goutam Das gkdgoutam at gmail.com
Fri Feb 2 14:10:23 CET 2018


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 at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20180202/57f9e340/attachment.html>


More information about the GiNaC-list mailing list