I am trying to install pympl.4.2 on CentOS 6.5 (64-bit) for Python 2.7.5
I am recieving the following errors when running "python setup.py install": [63]~/pymprog$ python setup.py install
running install
running build
running build_py
creating build
creating build/lib
copying pymprog.py -> build/lib
running install_lib
copying build/lib/pymprog.py -> /home/allen/local/lib/python2.7/site-packages
byte-compiling /home/allen/local/lib/python2.7/site-packages/pymprog.py to pymprog.pyc
running install_egg_info
Writing /home/allen/local/lib/python2.7/site-packages/pymprog-0.4.2-py2.7.egg-info
running install
running build
running build_ext
building 'glpk' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/pyglpk
creating build/temp.linux-x86_64-2.7/pyglpk/src
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/allen/local/include/python2.7 -c pyglpk/src/glpk.c -o build/temp.linux-x86_64-2.7/pyglpk/src/glpk.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/allen/local/include/python2.7 -c pyglpk/src/lp.c -o build/temp.linux-x86_64-2.7/pyglpk/src/lp.o
In file included from pyglpk/src/lp.c:24:
pyglpk/src/kkt.h:30: error: expected specifier-qualifier-list before ‘LPXKKT’
pyglpk/src/lp.c: In function ‘LPX_init’:
pyglpk/src/lp.c:182: warning: implicit declaration of function ‘lpx_read_model’
pyglpk/src/lp.c:182: warning: assignment makes pointer from integer without a cast
pyglpk/src/lp.c: In function ‘LPX_basis_read’:
pyglpk/src/lp.c:338: warning: implicit declaration of function ‘lpx_read_bas’
pyglpk/src/lp.c: In function ‘solver_retval_to_message’:
pyglpk/src/lp.c:349: error: ‘LPX_E_OK’ undeclared (first use in this function)
pyglpk/src/lp.c:349: error: (Each undeclared identifier is reported only once
pyglpk/src/lp.c:349: error: for each function it appears in.)
pyglpk/src/lp.c:350: error: ‘LPX_E_FAULT’ undeclared (first use in this function)
pyglpk/src/lp.c:351: error: ‘LPX_E_OBJLL’ undeclared (first use in this function)
pyglpk/src/lp.c:352: error: ‘LPX_E_OBJUL’ undeclared (first use in this function)
pyglpk/src/lp.c:353: error: ‘LPX_E_ITLIM’ undeclared (first use in this function)
The full list of errors is actually much longer than this. This looks to be very broken, is there an updated release planned soon?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to install pympl.4.2 on CentOS 6.5 (64-bit) for Python 2.7.5
I am recieving the following errors when running "python setup.py install":
[63]~/pymprog$ python setup.py install
running install
running build
running build_py
creating build
creating build/lib
copying pymprog.py -> build/lib
running install_lib
copying build/lib/pymprog.py -> /home/allen/local/lib/python2.7/site-packages
byte-compiling /home/allen/local/lib/python2.7/site-packages/pymprog.py to pymprog.pyc
running install_egg_info
Writing /home/allen/local/lib/python2.7/site-packages/pymprog-0.4.2-py2.7.egg-info
running install
running build
running build_ext
building 'glpk' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/pyglpk
creating build/temp.linux-x86_64-2.7/pyglpk/src
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/allen/local/include/python2.7 -c pyglpk/src/glpk.c -o build/temp.linux-x86_64-2.7/pyglpk/src/glpk.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/allen/local/include/python2.7 -c pyglpk/src/lp.c -o build/temp.linux-x86_64-2.7/pyglpk/src/lp.o
In file included from pyglpk/src/lp.c:24:
pyglpk/src/kkt.h:30: error: expected specifier-qualifier-list before ‘LPXKKT’
pyglpk/src/lp.c: In function ‘LPX_init’:
pyglpk/src/lp.c:182: warning: implicit declaration of function ‘lpx_read_model’
pyglpk/src/lp.c:182: warning: assignment makes pointer from integer without a cast
pyglpk/src/lp.c: In function ‘LPX_basis_read’:
pyglpk/src/lp.c:338: warning: implicit declaration of function ‘lpx_read_bas’
pyglpk/src/lp.c: In function ‘solver_retval_to_message’:
pyglpk/src/lp.c:349: error: ‘LPX_E_OK’ undeclared (first use in this function)
pyglpk/src/lp.c:349: error: (Each undeclared identifier is reported only once
pyglpk/src/lp.c:349: error: for each function it appears in.)
pyglpk/src/lp.c:350: error: ‘LPX_E_FAULT’ undeclared (first use in this function)
pyglpk/src/lp.c:351: error: ‘LPX_E_OBJLL’ undeclared (first use in this function)
pyglpk/src/lp.c:352: error: ‘LPX_E_OBJUL’ undeclared (first use in this function)
pyglpk/src/lp.c:353: error: ‘LPX_E_ITLIM’ undeclared (first use in this function)
The full list of errors is actually much longer than this. This looks to be very broken, is there an updated release planned soon?