You have weird stuff in /usr/local, e.g. what's

/usr/local/include/stdio.h

I see in your log? No wonder it can break things.



On Tue, Dec 15, 2020 at 12:40 PM Pierre Vanhove
<vanhove.pie...@gmail.com> wrote:
>
> hi
>
> Since no compilation was succesfull I tried sage-9.3-beta4.
>
> My homebrew version is
>
> % brew  --version
> Homebrew 2.6.2
> Homebrew/homebrew-core (git revision 9d75f; last commit 2020-12-15)
> Homebrew/homebrew-cask (git revision 152f2; last commit 2020-12-15)
>
>  Despite doing
>
> source /Users/pierre/local/sage-9.3.beta4/.homebrew-build-env
>
> then
>
> ./configure --enable-sirocco --enable-jupyterlab_widgets
>
> still does not find the installed package. In particular ntl which fails to 
> compile.
>
> What should be done now?
>
> I'm attaching the config.log
>
> thanks, Pierre
>
> Le mardi 15 décembre 2020 à 10:30:36 UTC+1, dim...@gmail.com a écrit :
>>
>> the error is
>>
>> gcc -bundle -undefined dynamic_lookup -L/usr/local/lib -isysroot
>> /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
>> -L/Users/pierre/local/sage-9.2/local/lib
>> -Wl,-rpath,/Users/pierre/local/sage-9.2/local/lib
>> -Wp,-U_FORTIFY_SOURCE
>> build/temp.macosx-10.15-x86_64-3.9/build/src/cysignals/signals.o
>> -L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib
>> -L/usr/local/opt/sqlite/lib -o
>> build/lib.macosx-10.15-x86_64-3.9/cysignals/signals.cpython-39-darwin.so
>> -lpari -pthread
>> ld: illegal thread local variable reference to regular symbol
>> _PARI_SIGINT_block for architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>>
>> so this is something to do with multi- vs single-threaded Pari, I guess.
>> It seems that Pari is built single-threaded, but cysignals does not know it.
>>
>>
>> On Tue, Dec 15, 2020 at 12:02 AM John H Palmieri <jhpalm...@gmail.com> wrote:
>> >
>> > Maybe something is going wrong with using the homebrew version of Python — 
>> > some conflict somewhere — so could you try
>> >
>> > make distclean
>> > ./configure --with-system-python3=no
>> > make
>> >
>> > (I'm having different problems with the system python: see my posts about 
>> > MACOSX_DEPLOYMENT_TARGET.)
>> >
>> > --
>> > John
>> >
>> >
>> > On Monday, December 14, 2020 at 2:07:11 AM UTC-8 vanhove...@gmail.com 
>> > wrote:
>> >>
>> >> Hello,
>> >>
>> >> Sage 9.2 fails to build because of cysignals on macos 10.15.7
>> >>
>> >> Error installing package cysignals-1.10.2
>> >>
>> >> I had been able to build Sage 9.2 from source when it came out.
>> >>
>> >> Then I tried to install the optional package sirocco, the -i optional 
>> >> failed, so I used -p and tried to rebuild sage from source. Now, I'm 
>> >> getting this compilation failure.
>> >>
>> >> What should I do?
>> >>
>> >> Thank you for your help,
>> >> Pierre Vanhove
>> >
>> > --
>> > 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+...@googlegroups.com.
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/sage-devel/ec07ba9b-8b4e-4ed9-918a-5b2286b3bd91n%40googlegroups.com.
>
> --
> 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/f380bdc2-be50-421b-9600-f37ade174d8fn%40googlegroups.com.

-- 
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/CAAWYfq1%3DE_zgKC1-dz8BA3GrMk07UFncB065E%3DKP4ZCuvPdCHQ%40mail.gmail.com.

Reply via email to