Menu

Welcome to Open Discussion

2006-07-06
2019-01-14
  • Nobody/Anonymous

    Welcome to Open Discussion

     
  • Clay S

    Clay S - 2012-02-29

    awesome project thanks for sharing, we need to update for gambas 2 … (bump ) hehe i'll try

     
  • retnev

    retnev - 2019-01-14

    AFAIK this is the forum for OCL./Opencam

    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/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

     

Log in to post a comment.