sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
Cannot find Python binding for LittleCMS! (again, sorry)
pbhj
#1 Print Post
Posted on 22-06-2009 13:37
Member

Posts: 1
Joined: 22.06.09

Tried to post and lost my entry ... gah (my fault I think).

Anyway, tried using sk1_0.9.1pre_rev730-1_amd64.deb and following the installation guide on the download page but fails with "Cannot find Python binding for LittleCMS!".

Tried doing the suggested link "sudo ln -s /usr/share/python-support/python-liblcms/lcms.py /usr/lib/python2.5/site-packages/lcms.py". Same error, also tried a link to "/usr/lib/python2.6".

Tried removing profile from ~/.sK1 (ie removed whole directory) but no help there.

Tried the SVN download as suggested by Ulysses, including the preinstallation of lots of possible deps, I got version 757 from trunk. But again, same error.

Have tried to start from command line, but python -i simply won't start, python -c "import sK1" gives the same error and nothing else. Now I have the SVN version I have to start from "sh ./src/sK1" in the sK1 checkout directory (ie python setup didn't had a link in my path for some reason).

gdb won't start as sK1 isn't a binary. strace gives me nothing useful.

My lcms / python-liblcms are version 1.18 from the jaunty repos.

Any help appreciated. Thanks.
 
igor
#2 Print Post
Posted on 26-06-2009 00:48
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

Unfortunately python-lcms package is a main problem source for sK1 installation. I would recommend you to wait for next preview tarball. Now we are fixing this issue replacing python-lcms dependency by own LittleCMS binding which will be compiled as sK1 module.
Regards,

Igor Novikov
sK1 Project
 
tuttul
#3 Print Post
Posted on 16-10-2009 10:25
Member

Posts: 1
Joined: 16.10.09

Hi Igor,

In compiling sk1-0.9.1pre_rev730.tar.gz, there are no errors at all and also all installation process in succeded. This is the failure I have:

Cannot find Python binding for LittleCMS!

I give a try to another version that is 875 and I got problem compiling it in OpenSUSE64 11.1 in finding libtk: (I have complete development library of them)

---------------------------------------
python setup.py install
Source tree scan...
MANIFEST.in is created
running install
running build
running build_py
package init file 'src/app/modules/__init__.py' not found (or not a regular file)
package init file 'src/app/tcl/__init__.py' not found (or not a regular file)
package init file 'src/app/modules/__init__.py' not found (or not a regular file)
package init file 'src/app/tcl/__init__.py' not found (or not a regular file)
running build_ext
building 'sk1.app.modules._sketchmodule' extension
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/extentions/skmod/curvedraw.o build/temp.linux-x86_64-2.6/src/extentions/skmod/curvefunc.o build/temp.linux-x86_64-2.6/src/extentions/skmod/curvelow.o build/temp.linux-x86_64-2.6/src/extentions/skmod/curvemisc.o build/temp.linux-x86_64-2.6/src/extentions/skmod/curveobject.o build/temp.linux-x86_64-2.6/src/extentions/skmod/skaux.o build/temp.linux-x86_64-2.6/src/extentions/skmod/skcolor.o build/temp.linux-x86_64-2.6/src/extentions/skmod/skdither.o build/temp.linux-x86_64-2.6/src/extentions/skmod/_sketchmodule.o build/temp.linux-x86_64-2.6/src/extentions/skmod/skfm.o build/temp.linux-x86_64-2.6/src/extentions/skmod/skimage.o build/temp.linux-x86_64-2.6/src/extentions/skmod/skpoint.o build/temp.linux-x86_64-2.6/src/extentions/skmod/skrect.o build/temp.linux-x86_64-2.6/src/extentions/skmod/sktrafo.o -L/usr/lib64 -lm -lX11 -lXext -ltk -ltcl -lcairo -lpython2.6 -o build/lib.linux-x86_64-2.6/sk1/app/modules/_sketchmodule.so
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -ltk
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

--------------------------------

Regards,
Arif
 
max
#4 Print Post
Posted on 16-10-2009 12:25
Administrator

Posts: 63
Joined: 09.05.09

Hi tuttul,

You need to install dev packages for tcl and tk.
For example tk8.5-dev tcl8.5-dev or tk8.6-dev tcl8.6-dev.
The python-lcms package is removed from dependencies.
More is required to compile and install sk1libs package .
svn co https://sk1.svn.sourceforge.net/svnroot/sk1/trunk/sk1libs sk1libs


Regards,

Maxim Barabash
sK1 Project
 
Jump to Forum: