Bi-monthly release with minor bug fixes and improvements
sudo apt-get install python-setuptools python-dev libindi-dev swig subversion
svn checkout https://svn.code.sf.net/p/pyindi-client/code/trunk ~/pyindi-client-code
~/pyindi-client-code/pip/pyindi-client
libraries = indidriver
sudo python setup.py install
Finished processing dependencies for pyindi-client==0.1.0a1
indiserver -vvv indi_simulator_ccd indi_simulator_telescope
python test-indiclient.py
Traceback (most recent call last):
File "/home/pi/pyindi-client-code/swig-indi/swig-indi-python/test-indiclient.py", line 13, in <module>
import PyIndi
File "/usr/local/lib/python2.7/dist-packages/pyindi_client-0.1.0a1-py2.7-linux-armv7l.egg/PyIndi.py", line 28, in <module>
_PyIndi = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/pyindi_client-0.1.0a1-py2.7-linux-armv7l.egg/PyIndi.py", line 24, in swig_import_helper
_mod = imp.load_module('_PyIndi', fp, pathname, description)
ImportError: /usr/lib/arm-linux-gnueabihf/libindidriver.so.1: undefined symbol: ISSnoopDevice
Please Log in or Create an account to join the conversation.
libraries =
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Downloading/unpacking pyindi-client
Could not find a version that satisfies the requirement pyindi-client (from versions: 0.1.0a1)
Cleaning up...
No distributions matching the version for pyindi-client
Storing debug log for failure in /home/pi/.pip/pip.log
python setup.py install
running install
running build_ext
building '_PyIndi' extension
swigging indiclientpython.i to indiclientpython_wrap.cpp
swig -python -v -Wall -c++ -threads -I/usr/include -I/usr/include/libindi -o indiclientpython_wrap.cpp indiclientpython.i
Language subdirectory: python
Search paths:
./
/usr/include/
/usr/include/libindi/
./swig_lib/python/
/usr/share/swig2.0/python/
./swig_lib/
/usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
/usr/include/libindi/baseclient.h:32: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
/usr/include/libindi/basedevice.h:32: Warning 322: Redundant redeclaration of 'MAXRBUF',
/usr/include/libindi/indibase.h:10: Warning 322: previous declaration of 'MAXRBUF'.
Processing types...
C++ analysis...
/usr/include/libindi/baseclient.h:56: Warning 403: Class 'INDI::BaseClient' might be abstract, no constructors generated,
/usr/include/libindi/indibase.h:81: Warning 403: Method INDI::BaseMediator::newDevice(INDI::BaseDevice *) might not be implemented.
Generating wrappers...
creating build
creating build/temp.linux-armv7l-2.7
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include -I/usr/include/libindi -I/usr/include/python2.7 -c indiclientpython_wrap.cpp -o build/temp.linux-armv7l-2.7/indiclientpython_wrap.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
creating build/lib.linux-armv7l-2.7
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/indiclientpython_wrap.o /usr/lib/arm-linux-gnueabihf/libindiclient.a -lindi -o build/lib.linux-armv7l-2.7/_PyIndi.so
/usr/bin/ld: ne peut trouver -lindi
collect2: error: ld returned 1 exit status
error: command 'c++' failed with exit status 1
Please Log in or Create an account to join the conversation.
version 0.1.0a1 is a pre-release (use --pre to allow)
pip install --pre pyindi-client
/usr/bin/ld: ne peut trouver -lindi
Please Log in or Create an account to join the conversation.
pip install --upgrade --user --force-reinstall pyindi-client # for python 2.7 if this is the default
python3 -m pip install --upgrade --user --force-reinstall pyindi-client # for python3 as my pip3 disappeared when I jump to pip 9.0.1
libraries =
Please Log in or Create an account to join the conversation.
libraries=
>>> import PyIndi
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/pyindi_client-0.1.0a1-py2.7-linux-armv7l.egg/PyIndi.py", line 28, in <module>
_PyIndi = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/pyindi_client-0.1.0a1-py2.7-linux-armv7l.egg/PyIndi.py", line 24, in swig_import_helper
_mod = imp.load_module('_PyIndi', fp, pathname, description)
ImportError: /usr/local/lib/python2.7/dist-packages/pyindi_client-0.1.0a1-py2.7-linux-armv7l.egg/_PyIndi.so: undefined symbol: ln_get_julian_from_sys
Please Log in or Create an account to join the conversation.
libraries= z nova cfitsio
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
python setup.py build --force
python setup.py install --user
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
libraries= z nova cfitsio
ls -l ~/.local/lib/python3.5/site-packages/pyindi_client-0.1.0a1-py3.5-linux-x86_64.egg/
ldd -v ~/.local/lib/python3.5/site-packages/pyindi_client-0.1.0a1-py3.5-linux-x86_64.egg/_PyIndi.cpython-35m-x86_64-linux-gnu.so
Please Log in or Create an account to join the conversation.