From: Jonathan G. <gu...@ni...> - 2013-05-03 14:16:03
|
I am attempting to pip install git+git://pysparse.git.sourceforge.net/gitroot/pysparse/pysparse#egg=pysparse into a homebrew environment under Mac OS X Mountain Lion. (`pip install pysparse` is no better). I get three errors: pysparse/direct/superlu/src/colamd.c:547:12: error: conflicting types for 'colamd_recommended' PUBLIC int colamd_recommended /* returns recommended value of Alen. */ ^ /Users/guyer/.homebrew/include/colamd.h:140:8: note: previous declaration is here size_t colamd_recommended /* returns recommended value of Alen, */ ^ pysparse/direct/superlu/src/colamd.c:708:12: error: conflicting types for 'colamd' PUBLIC int colamd /* returns TRUE if successful */ ^ /Users/guyer/.homebrew/include/colamd.h:166:5: note: previous declaration is here int colamd /* returns (1) if successful, (0) otherwise*/ ^ pysparse/direct/superlu/src/colamd.c:815:8: error: use of undeclared identifier 'COLAMD_JUMBLED_COLS' A [COLAMD_JUMBLED_COLS] = init_result ; ^ I have SuiteSparse 4.2.0 [*], but got the same errors before I upgraded from SuiteSparse 3.6.1. [*] requirements.txt says 'OSX users using homebrew can simply say "brew install suitesparse".', but this does not appear to (any longer) be true. Homebrew presently has no suitesparse formula. What does work is: brew tap homebrew/science brew install suite-sparse |