Hi, Try replacing "abs" with "fabs" in examples/simple/spmatrix.c and examples/simple/igraph_sparsemat4.c -- there are compiler warnings related to these files in testsuite.log and I suspect that's the reason why the tests are failing.
All the best, T. On Wed, 19 Jun 2019 at 12:18, He, Peng <p...@orn.mpg.de> wrote: > Dear igraph C library users, > > I failed to install the igraph C library on my Mac, and still have no > clues to identify and solve the problem. > I followed the instruction (the 'regular Unix way > <https://bowtie.mailbutler.io/tracking/hit/c6b1a3d1-2e00-4c0e-8ab4-8f3af4ba55e9/08c3fe3f-4e42-4c0f-94c1-33d2d6dcc27e>’) > for all the installations. > I can install the library on Ubuntu system, but never succeeded on Mac. > I’d like to ask you for hints on what’s the problem and how to handle it. > I’d also like to attach the test results (testsuite.log) to show all the > details. > Thank you very much in advance! > > Best wishes, > Peng > > #################################### brief results > ## ------------- ## > ## Test results. ## > ## ------------- ## > > ERROR: All 234 tests were run, > 2 failed unexpectedly. > ## -------------------------- ## > ## testsuite.log was created. ## > ## -------------------------- ## > > Please send `tests/testsuite.log' and all information you think might help: > > To: <csardi.ga...@gmail.com> > Subject: [igraph 0.7.1] testsuite: 25 32 failed > > You may investigate any problem if you feel able to do so, in which > case the test suite provides a good starting point. Its output may > be found below `tests/testsuite.dir'. > > make[2]: *** [check-local] Error 1 > make[1]: *** [check-am] Error 2 > make: *** [check-recursive] Error 1 > #################################### > > _______________________________________________ > igraph-help mailing list > igraph-help@nongnu.org > https://lists.nongnu.org/mailman/listinfo/igraph-help >
_______________________________________________ igraph-help mailing list igraph-help@nongnu.org https://lists.nongnu.org/mailman/listinfo/igraph-help