Hi Matthias,

   Running ./sage -sh -c 'pkg-config --cflags singular' with home-brew's 
singular installed gives:

-DSING_NDEBUG -DOM_NDEBUG -DSING_NDEBUG -DOM_NDEBUG -DSING_NDEBUG 
-DOM_NDEBUG -DSING_NDEBUG -DOM_NDEBUG 
-I/Users/zscherr/sage/develop/local/include/singular

my env is a mess, but I do source .homebrew-build-env, here is what I think 
are the relevant variables:

PATH=/usr/local/opt/gettext/bin:/Users/zscherr/perl5/bin:/usr/local/sbin:/usr/local/Cellar/modules/4.5.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin
PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/openblas/lib/pkgconfig:/usr/local/lib/pkgconfig:
LIBRARY_PATH=/usr/local/opt/gcc@9/lib/gcc/9:/usr/local/opt/readline/lib:/usr/local/lib
CPATH=/usr/local/opt/readline/include:/usr/local/include
ACLOCAL_PATH=/usr/local/opt/gettext/share/aclocal:

As expected, if I brew uninstall singular then running ./sage -sh -c 
'pkg-config --cflags singular' gives

-DSING_NDEBUG -DOM_NDEBUG -DSING_NDEBUG -DOM_NDEBUG -DSING_NDEBUG 
-DOM_NDEBUG -DSING_NDEBUG -DOM_NDEBUG 
-I/Users/zscherr/sage/develop/local/include/singular

I was able to build beta 11 so I can try to git bisect if you think that 
would be useful.




On Wednesday, September 9, 2020 at 11:04:16 PM UTC-4 Matthias Koeppe wrote:

> On Wednesday, September 9, 2020 at 7:57:18 PM UTC-7, Matthias Koeppe wrote:
>>
>> On Wednesday, September 9, 2020 at 6:49:36 PM UTC-7, Zachary Scherr wrote:
>>>
>>>    I tried to build the most recent beta version of sage and it would 
>>> appear that it's taking issue with the fact that I have singular installed 
>>> on my Mac 10.15.6 through homebrew.  Homebrew's version is singular 4.1.3p2 
>>> and when I try to build sage I get errors like:
>>>
>>> "In file included from 
>>> build/cythonized/sage/rings/polynomial/plural.cpp:684:
>>> /usr/local/include/singular/Singular/libsingular.h:15:10: fatal error: 
>>> 'polys/shiftop.h' file not found
>>> #include "polys/shiftop.h"
>>>
>>>
>> Could you run the following please:
>> ./sage -sh -c 'pkg-config --cflags singular'
>>
>>
> Also could you post the output of "env"? 
> (Do you use .homebrew-build-env to set environment variables?)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/4b970fb5-c11f-4c4e-8bac-cdfd38096f20n%40googlegroups.com.

Reply via email to