On Mon, May 7, 2018 at 10:39 AM, Erik Bray <erik.m.b...@gmail.com> wrote:
> On Thu, May 3, 2018 at 10:18 PM, Jack Brobst <brobst.j...@gmail.com> wrote:
>> Hi Sage devs,
>>
>> I'm trying to build Sage 8.1 on RHEL 7.5 and am getting some errors with
>> pyzmq. I'm unsure which errors are causing the issue. I've tried using the
>> system gcc, and gcc/7.3, but the errors were consistent. Please see
>> attached.
>
> There's a several year old bug report against CentOS about this here:
> https://github.com/zeromq/pyzmq/issues/414 but with no clear
> resolution.

Normally, the pyzmq package in Sage should link against the zeromq
built for Sage, so you might want to make sure that libzmq really
built and installed correctly, and that you don't have any funny
compiler flags set.  Also try manually unpacking the pyzmq sources and
compiling the vers.c module as seen in the logs:

    gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wno-unused -fPIC -I/opt/modules/sagemath/8.1/include -Izmq/utils
-Izmq/backend/cython -Izmq/devices -c
build/temp.linux-x86_64-2.7/scratch/vers.c -o
build/temp.linux-x86_64-2.7/scratch/vers.o
    gcc build/temp.linux-x86_64-2.7/scratch/vers.o
-L/opt/modules/sagemath/8.1/lib -Wl,-R/opt/modules/sagemath/8.1/lib
-lzmq -lrt -o build/temp.linux-x86_64-2.7/scratch/vers

-- 
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to