kbarbary / Dierckx.jl

Julia package for 1-d and 2-d splines
Other
157 stars 30 forks source link

Cannot build Dierckx on Julia 0.5 #43

Closed git4lei closed 7 years ago

git4lei commented 7 years ago

Could you please have a look at the following problem?

julia> Pkg.add("Dierckx") INFO: Installing Dierckx v0.2.1 INFO: Building Dierckx ifort -c -fPIC -O3 bispeu.f -o bispeu.o make: ifort: No such file or directory make: [bispeu.o] Error 1 gfortran -c -fPIC -O3 bispeu.f -o bispeu.o gfortran -c -fPIC -O3 bispev.f -o bispev.o gfortran -c -fPIC -O3 clocur.f -o clocur.o gfortran -c -fPIC -O3 cocosp.f -o cocosp.o gfortran -c -fPIC -O3 concon.f -o concon.o gfortran -c -fPIC -O3 concur.f -o concur.o gfortran -c -fPIC -O3 cualde.f -o cualde.o gfortran -c -fPIC -O3 curev.f -o curev.o gfortran -c -fPIC -O3 curfit.f -o curfit.o gfortran -c -fPIC -O3 dblint.f -o dblint.o gfortran -c -fPIC -O3 evapol.f -o evapol.o gfortran -c -fPIC -O3 fourco.f -o fourco.o gfortran -c -fPIC -O3 fpader.f -o fpader.o gfortran -c -fPIC -O3 fpadno.f -o fpadno.o gfortran -c -fPIC -O3 fpadpo.f -o fpadpo.o gfortran -c -fPIC -O3 fpback.f -o fpback.o gfortran -c -fPIC -O3 fpbacp.f -o fpbacp.o gfortran -c -fPIC -O3 fpbfout.f -o fpbfout.o /var/folders/70/hk09l6z97jz8zrc9bxwhfn780000gq/T//ccspuyc5.s:454:suffix or operands invalid for movq' /var/folders/70/hk09l6z97jz8zrc9bxwhfn780000gq/T//ccspuyc5.s:821:suffix or operands invalid formovq' make: [fpbfout.o] Error 1 ==============================[ ERROR: Dierckx ]===============================

LoadError: failed process: Process(make FC=gfortran SUFFIX=dylib, ProcessExited(2)) [2] while loading /Users/work/.julia/v0.5/Dierckx/deps/build.jl, in expression starting on line 10

===============================================================================

===============================[ BUILD ERRORS ]================================

WARNING: Dierckx had build errors.

=============================================================================== INFO: Package database updated

git4lei commented 7 years ago

I tried the suggestion "make FC=gfortran SUFFIX=dylib" in previous issue, and I get gfortran -c -fPIC -O3 fpbfout.f -o fpbfout.o /var/folders/70/hk09l6z97jz8zrc9bxwhfn780000gq/T//ccVFsrjN.s:454:suffix or operands invalid for movq' /var/folders/70/hk09l6z97jz8zrc9bxwhfn780000gq/T//ccVFsrjN.s:821:suffix or operands invalid formovq' make: *** [fpbfout.o] Error 1

cortner commented 7 years ago

could you post your OS version (OS X?), gcc version gfortran --version and julia version julia> versioninfo()?

git4lei commented 7 years ago

OS X El Capitan, Ver 10.11.6, gfortran --version GNU Fortran (GCC) 6.1.0 Julia Version 0.5.0

kbarbary commented 7 years ago

From googling the error on the web, it seems likely to be a problem with your compiler installation. Do you happen to have both macports and homebrew? A lot of the online advice seems to be to remove macports.

git4lei commented 7 years ago

Indeed I have both macports and homebrew, and after I removed macports Dierckx can be compiled. Thanks a lot!