I've been trying to instal Ceres but I had this problem which I think is related with the python version that I have but I have not been able to solve. I attach the error message:
2.- Building processes...
----------------------------------------------------------
> Fortran code found in directory utils/CCF. Building...
----------------------------------------------------------
> ERROR: CERES couldn't be installed.
> Problem building code in utils/CCF. The error was:
invalid parameter -print-file-name=libgfortran.so
invalid parameter -print-file-name=libgfortran.so
invalid parameter -print-libgcc-file-name
In file included from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832,
from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/fortranobject.h:13,
from /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/fortranobject.c:2:
/home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~
In file included from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832,
from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/fortranobject.h:13,
from /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/CCFmodule.c:16:
/home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~
/tmp/tmpc28u_x3h/src.linux-x86_64-3.7/CCFmodule.c:144:12: warning: 'f2py_size' defined but not used [-Wunused-function]
144 | static int f2py_size(PyArrayObject* var, ...)
| ^~~~~
CCF.f:
ccf:
Cannot open file CCF-f2pywrappers.f
Error on line 76 of CCF.f: Declaration error for m_hloc: adjustable dimension on non-argument
Error on line 76 of CCF.f: Declaration error for m_lloc: adjustable dimension on non-argument
Error on line 76 of CCF.f: wr_ardecls: nonconstant array size
Error on line 76 of CCF.f: wr_ardecls: nonconstant array size
ccfpix:
Error on line 139 of CCF.f: Declaration error for m_hloc: adjustable dimension on non-argument
Error on line 139 of CCF.f: Declaration error for m_lloc: adjustable dimension on non-argument
Error on line 139 of CCF.f: wr_ardecls: nonconstant array size
Error on line 139 of CCF.f: wr_ardecls: nonconstant array size
gcc: error: CCF-f2pywrappers.c: No existe el archivo o el directorio
gcc: fatal error: no input files
compilation terminated.
ccfcos:
Error on line 232 of CCF.f: Declaration error for hw: adjustable dimension on non-argument
Error on line 232 of CCF.f: Declaration error for m_hloc: adjustable dimension on non-argument
Error on line 232 of CCF.f: Declaration error for m_lloc: adjustable dimension on non-argument
Error on line 232 of CCF.f: wr_ardecls: nonconstant array size
Error on line 232 of CCF.f: wr_ardecls: nonconstant array size
Error on line 232 of CCF.f: wr_ardecls: nonconstant array size
gcc: error: CCF.c: No existe el archivo o el directorio
gcc: fatal error: no input files
compilation terminated.
error: Command "/iraf/iraf/unix/hlib//f77.sh -ffixed-line-length-none -fPIC -O3 -funroll-loops -I/tmp/tmpc28u_x3h/src.linux-x86_64-3.7 -I/home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/home/bmedina/anaconda3/include/python3.7m -c -c /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/CCF-f2pywrappers.f -o /tmp/tmpc28u_x3h/tmp/tmpc28u_x3h/src.linux-x86_64-3.7/CCF-f2pywrappers.o" failed with exit status 1
> If you can't solve the problem, please communicate
> with the CERES team for help.
Any help or advice on how to fix this will be much appreciated.
Hi,
I've been trying to instal Ceres but I had this problem which I think is related with the python version that I have but I have not been able to solve. I attach the error message:
2.- Building processes...
invalid parameter -print-file-name=libgfortran.so invalid parameter -print-file-name=libgfortran.so invalid parameter -print-libgcc-file-name In file included from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832, from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/fortranobject.h:13, from /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/fortranobject.c:2: /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^
~~ In file included from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832, from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/fortranobject.h:13, from /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/CCFmodule.c:16: /home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~ /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/CCFmodule.c:144:12: warning: 'f2py_size' defined but not used [-Wunused-function] 144 | static int f2py_size(PyArrayObject* var, ...) | ^~~~~ CCF.f: ccf: Cannot open file CCF-f2pywrappers.f Error on line 76 of CCF.f: Declaration error for m_hloc: adjustable dimension on non-argument Error on line 76 of CCF.f: Declaration error for m_lloc: adjustable dimension on non-argument Error on line 76 of CCF.f: wr_ardecls: nonconstant array size Error on line 76 of CCF.f: wr_ardecls: nonconstant array size ccfpix: Error on line 139 of CCF.f: Declaration error for m_hloc: adjustable dimension on non-argument Error on line 139 of CCF.f: Declaration error for m_lloc: adjustable dimension on non-argument Error on line 139 of CCF.f: wr_ardecls: nonconstant array size Error on line 139 of CCF.f: wr_ardecls: nonconstant array size gcc: error: CCF-f2pywrappers.c: No existe el archivo o el directorio gcc: fatal error: no input files compilation terminated. ccfcos: Error on line 232 of CCF.f: Declaration error for hw: adjustable dimension on non-argument Error on line 232 of CCF.f: Declaration error for m_hloc: adjustable dimension on non-argument Error on line 232 of CCF.f: Declaration error for m_lloc: adjustable dimension on non-argument Error on line 232 of CCF.f: wr_ardecls: nonconstant array size Error on line 232 of CCF.f: wr_ardecls: nonconstant array size Error on line 232 of CCF.f: wr_ardecls: nonconstant array size gcc: error: CCF.c: No existe el archivo o el directorio gcc: fatal error: no input files compilation terminated. error: Command "/iraf/iraf/unix/hlib//f77.sh -ffixed-line-length-none -fPIC -O3 -funroll-loops -I/tmp/tmpc28u_x3h/src.linux-x86_64-3.7 -I/home/bmedina/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/home/bmedina/anaconda3/include/python3.7m -c -c /tmp/tmpc28u_x3h/src.linux-x86_64-3.7/CCF-f2pywrappers.f -o /tmp/tmpc28u_x3h/tmp/tmpc28u_x3h/src.linux-x86_64-3.7/CCF-f2pywrappers.o" failed with exit status 1Any help or advice on how to fix this will be much appreciated.