Python Forum
Trying to Install python-ocl
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to Install python-ocl
#1
Trying to Install python-ocl but get snagged on a dependency that is seemingly a malconfiguration as python 2 is installed.

This is what I use to build a deb for python-ocl
------------------------------
git clone https://github.com/aewallin/opencamlib.git
cd opencamlib
bzr branch lp:~neomilium/opencamlib/packaging debian
dpkg-buildpackage -b -us -uc
cd ..
sudo dpkg -i python-ocl*.deb
------------------------------


However the dplkg-buil.... exits with the following error.

---------------------------------
make[1]: Leaving directory '/backup1/Heekscad/temp/opencamlib/obj-x86_64-linux-gnu'
dh_install
dh_install: Cannot find (any matches for) "usr/lib/python2*" (tried in ., debian/tmp)

dh_install: python-ocl missing files: usr/lib/python2*
dh_install: missing files, aborting
debian/rules:8: recipe for target 'binary' failed
make: *** [binary] Error 25
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
----------------------------------

I however have python2.x installed as you can see below

# ls /usr/lib |grep -i python
libpyglib-2.0-python2.7.so.0
libpyglib-2.0-python2.7.so.0.0.0
python2.6
python2.7
python3
python3.5


It seems there is a misconfiguration somewhere in python as it looks for usr/lib/python2 and NOT /usr/lib/python2

or do I misunderstand something ?

Anyway, how do I resolve this problem ??

Thanks
Reply
#2
No one seems to have an answer for this bug/problem.

Alternatively, Anyone know if any of the following two options exist and where I can find it.

python*-ocl.deb
python*-ocl.tar.gz
I may be able to get past the misconfiguration/bug that way.
Reply
#3
I have exactly the same problem.

I don't want to make new subject, so I dig this.
Have you or somebody else know how to resolve this problem?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020