Closed anpefi closed 4 years ago
Thank you for the feedback, and sorry for the inconvenience. I will check and try to fix this soon.
rigraphlite does not depend on rigraph at all; it is intended to become a lightweight replacement of rigraph. C igraph is used internally, and fetched automatically with git if necessary. So basically users don't have to pre-install C igraph or rigraph by themselves. But users can use their own C igraph pre-installed somewhere in the system. Possible problem here might be that some existing igraph is interfering with the installation process. I am not sure. Give me a week.
I encountered the same issue in an Ubuntu 19.10 machine. It turns out that the pre-install of C igraph failed due to the missing of yacc and flex, I did the following to resolve the problem.
sudo apt-get install bison
sudo apt-get install byacc
sudo apt-get install flex
Thank you @ruping for finding the cause and its solution! Maybe Ubuntu on Travis and my machines happen to have those packages already for some other reasons, and the error could not be reproduced. I will close this issue after updating the document.
Strange... devtools::install_github("heavywatal/rigraphlite")
just works on my Ubuntu 18.04 even after uninstalling bison, byacc, flex, and all the igraph-related things.
Confirmed this problem with a vanilla installation of Ubuntu 19.10 on a virtual environment.
The upstream C igraph released their versioned source code, which released this package from bootstrap.sh
process. It means all the dev tools previously used (autoconf, automake, libtools, bison, and flex) are now required only when the user/developer explicitly specified the latest git source to build. Thank you for your feedback again, and sorry for inconvenience up to now, @anpefi, @ruping.
@heavywatal Thank you for letting us know! This is very nice work!
Hi, I was trying to install rtumopp but I've run aground installing its dependence rigraphlite in different machines (Ubuntu, other linux and also in Mac).
When installing following the instructions in the README, I got the following
I tried to install rigraph/rigraph but that doesn't improve anything. I also tried to install igraph C library in my system, but then
I cloned your fork of igraph and manually copied igraph_*.h files into a directory to be included (in Rcpp/include/igraph) and it compiled (only if igraph C library is already in the system), but:
I've also tried to follow step-by-step the last build in Travis-ci, but it also fails when checking:
I have run out of ideas. The installation should be simpler and I will have to replicate it on other computers because I want to other people explore tumopp. Could you help?