You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[farrellp@colossus:~/git]$ git clone https://github.com/shingleproject/Shingle.git shingle
Cloning into 'shingle'...
...
[farrellp@colossus:~/git/shingle] (git:master) $ pip3 install -e .
Obtaining file:///scratch2/farrellp/shingle
Installing collected packages: shingle
Running setup.py develop for shingle
Complete output from command /scratch2/farrellp/install-scripts/firedrake/firedrake-dev-20180716/bin/python -c "import setuptools, tokenize;__file__='/scratch2/farrellp/shingle/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps:
running develop
running egg_info
writing dependency_links to shingle.egg-info/dependency_links.txt
writing entry points to shingle.egg-info/entry_points.txt
writing shingle.egg-info/PKG-INFO
writing top-level names to shingle.egg-info/top_level.txt
reading manifest file 'shingle.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'library_dirs'
warnings.warn(msg)
warning: no files found matching 'MANIFEST'
no previously-included directories found matching 'dataset'
warning: no previously-included files matching '*' found under directory 'dataset/'
writing manifest file 'shingle.egg-info/SOURCES.txt'
running build_ext
building 'libspud' extension
gcc -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/scratch2/farrellp/shingle/spud/include -I/scratch2/farrellp/shingle/spud/include -I/scratch2/farrellp/install-scripts/firedrake/firedrake-dev-20180716/include -I/usr/include/python3.5m -I/scratch2/farrellp/install-scripts/firedrake/firedrake-dev-20180716/include -I/usr/include/python3.5m -c spud/python/libspud.c -o build/temp.linux-x86_64-3.5/spud/python/libspud.o
In file included from spud/python/libspud.c:3:0:
/scratch2/farrellp/shingle/spud/include/spud.h:38:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void spud_clear_options();
^
/scratch2/farrellp/shingle/spud/include/spud.h:39:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void* spud_get_manager();
^
/scratch2/farrellp/shingle/spud/include/spud.h:70:3: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void spud_print_options();
^
In file included from /usr/include/python3.5m/pytime.h:6:0,
from /usr/include/python3.5m/Python.h:65,
from spud/python/libspud.c:1:
spud/python/libspud.c: In function ‘libspud_get_option_type’:
spud/python/libspud.c:223:20: error: ‘PyInt_Type’ undeclared (first use in this function)
Py_INCREF(&PyInt_Type);
^
/usr/include/python3.5m/object.h:779:19: note: in definition of macro ‘Py_INCREF’
((PyObject *)(op))->ob_refcnt++)
^
spud/python/libspud.c:223:20: note: each undeclared identifier is reported only once for each function it appears in
Py_INCREF(&PyInt_Type);
^
/usr/include/python3.5m/object.h:779:19: note: in definition of macro ‘Py_INCREF’
((PyObject *)(op))->ob_refcnt++)
^
spud/python/libspud.c:230:20: error: ‘PyString_Type’ undeclared (first use in this function)
Py_INCREF(&PyString_Type);
^
/usr/include/python3.5m/object.h:779:19: note: in definition of macro ‘Py_INCREF’
((PyObject *)(op))->ob_refcnt++)
^
spud/python/libspud.c: In function ‘set_option_aux_string’:
spud/python/libspud.c:556:17: warning: implicit declaration of function ‘PyString_AsString’ [-Wimplicit-function-declaration]
char *val = PyString_AsString(pystring);
^
spud/python/libspud.c:556:17: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
spud/python/libspud.c: In function ‘libspud_set_option’:
spud/python/libspud.c:698:9: warning: implicit declaration of function ‘PyInt_Check’ [-Wimplicit-function-declaration]
if (PyInt_Check(secondArg)){ //just an int
^
spud/python/libspud.c:705:14: warning: implicit declaration of function ‘PyString_Check’ [-Wimplicit-function-declaration]
else if (PyString_Check(secondArg)){// a string
^
spud/python/libspud.c:708:20: warning: implicit declaration of function ‘PyString_GET_SIZE’ [-Wimplicit-function-declaration]
shape[0] = PyString_GET_SIZE(secondArg);
^
spud/python/libspud.c: In function ‘initlibspud’:
spud/python/libspud.c:831:9: warning: implicit declaration of function ‘Py_InitModule’ [-Wimplicit-function-declaration]
m = Py_InitModule("libspud", libspudMethods);
^
spud/python/libspud.c:831:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
m = Py_InitModule("libspud", libspudMethods);
^
spud/python/libspud.c:833:9: warning: ‘return’ with no value, in function returning non-void
return;
^
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/scratch2/farrellp/install-scripts/firedrake/firedrake-dev-20180716/bin/python -c "import setuptools, tokenize;__file__='/scratch2/farrellp/shingle/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed with error code 1 in /scratch2/farrellp/shingle/
Admittedly this looks like a problem with spud. Has spud updated to Python 3? Is it still maintained?
The text was updated successfully, but these errors were encountered:
Trying to install with Python 3:
Admittedly this looks like a problem with spud. Has spud updated to Python 3? Is it still maintained?
The text was updated successfully, but these errors were encountered: