Error installing package ntl-9.8.1.p0

77 views
Skip to first unread message

Joseph Hundley

unread,
Jun 21, 2016, 11:46:19 AM6/21/16
to sage-devel
My computer is a MacBook Pro, with an Intel core i7 running OS X 10.9.5.
Xcode and Command Line Tools updated yesterday. 
I'm trying to build sage from source code using make. 
On the first attempt I got an error indicating I should move opt/local. This was done.
Second attempt produced Error building/tuning NTL.
log file attached.
ntl-9.8.1.p0.log

Joseph Hundley

unread,
Jun 21, 2016, 11:46:20 AM6/21/16
to sage-devel
Trying to install Sage from source code on MacBook Pro Retina 15-Inch Mid 2014.  Intel i7 processor. OSX version 10.9.5 

Here is what appears to me to be the relevant portion of the text that appeared in the terminal window as the make file was running: 

[ntl-9.8.1.p0] Tuning and building NTL.

[ntl-9.8.1.p0] make setup1

[ntl-9.8.1.p0] g++ -I../include -I.  -march=native -O2 -g  -fno-common -c MakeDescAux.c

[ntl-9.8.1.p0] /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:124:no such instruction: `vmovsd %xmm0, -16(%rsp)'

[ntl-9.8.1.p0] /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:259:no such instruction: `vxorpd %xmm0, %xmm0,%xmm0'

[ntl-9.8.1.p0] /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:264:no such instruction: `vaddsd (%rdi), %xmm0,%xmm0'

[ntl-9.8.1.p0] /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:274:no such instruction: `vxorpd %xmm0, %xmm0,%xmm0'

[ntl-9.8.1.p0] /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:295:no such instruction: `vfmadd132sd %xmm1, %xmm2,%xmm0'

[ntl-9.8.1.p0] /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:319:no such instruction: `vmovsd LC18(%rip), %xmm0'

[ntl-9.8.1.p0] /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:329:no such instruction: `vaddsd %xmm0, %xmm0,%xmm0'

[ntl-9.8.1.p0] /var/folders/w2/d76csvw138zgq0v8s64x5dh00000gq/T//ccvGKO5e.s:338:no such instruction: `vmovsd LC18(%rip), %xmm0'

[ntl-9.8.1.p0] make[4]: *** [setup1] Error 1

[ntl-9.8.1.p0] make[3]: *** [all] Error 2

[ntl-9.8.1.p0] Error building/tuning NTL.

[ntl-9.8.1.p0] 

[ntl-9.8.1.p0] real 0m3.483s

[ntl-9.8.1.p0] user 0m1.598s

[ntl-9.8.1.p0] sys 0m1.910s

[ntl-9.8.1.p0] ************************************************************************

[ntl-9.8.1.p0] Error installing package ntl-9.8.1.p0

[ntl-9.8.1.p0] ************************************************************************

(followed by instructions to email sage-devel, etc...



Issue was encountered on second run of "make" first attempt produced this: 

***************************************************

You are using OS X Lion (or later).

You are strongly advised to install Apple's latest Xcode

unless you already have it. You can install this using

the App Store. Also, make sure you install Xcode's

Command Line Tools -- see Sage's README.txt.

configure: error: "found MacPorts in /opt/local/bin/port. Either:

(1) rename /opt/local and /sw, or

(2) change PATH and DYLD_LIBRARY_PATH

(Once Sage is built, you can restore them.)

If you would like to try to build Sage anyway (to help porting),

export the variable 'SAGE_PORT' to something non-empty.

make[1]: *** [build/make/Makefile] Error 1

make: *** [all] Error 2


I updated Xcode and Command Line Tools per the README

and renamed /opt/local. I did not find any /sw and so ignored that 

part of the instructions. 




Dima Pasechnik

unread,
Jun 21, 2016, 3:44:42 PM6/21/16
to sage-devel

Joseph Hundley

unread,
Jun 22, 2016, 5:31:48 PM6/22/16
to sage-devel
Thanks!
Reply all
Reply to author
Forward
0 new messages