Question: lpsymphony using g++ on Mac OS X compilation of failure
gravatar for tohsumi
9 months ago by
tohsumi0 wrote:

Dear all, I am trying to install lpsymphony on my Mac.   I have homebrew installed with g++-8.   R, by default, used clang++.

Backstory: I tried using the default setup, but got an Installing lpsymphony on Mac OS X.   I think it may be that there has to be two spaces after -TP, as I noticed other clang++ commands with -TP worked all right, but there was always two spaces after it.   I'm not sure, if it's that or something else.

Making no progress with that, having tried a variety of alterations, I am trying to use g++ by altering the ~/.R/Makevars to:

CFLAGS=-ggdb -O2
CXXFLAGS=-ggdb -O2

and trying to install lpsymphony that way.   Unfortunately, I am getting the error message:

make[3]: Nothing to be done for `install-data-am'.
touch SYMPHONY.ts
g++-8 -I"/usr/local/Cellar/r/3.5.1/lib/R/include" -DNDEBUG -ISYMPHONY/include  -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/include   -fPIC  -ggdb -O2 -c -o ._lp_symphony.o warning: null character(s) ignored
     Mac OS X                2   �      �                                      ATTR       �   �   <                  �   < q/0081; ....

and was wondering what is going on here.   It seems strange that it is compiling a hidden file.   One thing is that if I get out of R, download lpsymphony, and go into the symphony directory, I can do ./configure and make and all is well using the clang++ compiler.   I am guessing this is some sort of configuration problem, either in Makevars or I have to pass something correctly to install.packages("[filename]", repos = NULL, type = "source").

Any thoughts you have on either this error or perhaps getting it to work with the clang++ compiler would be much appreciated.   Many thanks.

lpsymphony • 201 views
ADD COMMENTlink written 9 months ago by tohsumi0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 344 users visited in the last hour