Thread subject: sK1 Project :: sk1 failed install on Ubuntu 8.04

Posted by suyanto on 28-05-2009 16:50
#1

Hi Igor

I'm just try to install sk1 on ubuntu 8.04 but failed
thereis some error

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=9 -I/usr/include/python2.5 -c src/extentions/filter/streamfilter.c -o build/temp.linux-i686-2.5/src/extentions/filter/streamfilter.o
src/extentions/filter/streamfilter.c:24:20: error: Python.h: No such file or directory

please help

thanks
Suyanto

Posted by igor on 29-05-2009 00:34
#2

Hi Suyanto,

Code
error: Python.h: No such file or directory




Such stacktrace means that you need installing python-dev package. If you want to build sK1 from source code please read following thread:

http://sk1project...hread_id=2

It seems we need creating a FAQ for this issue :)

Posted by Ulysses on 30-05-2009 22:51
#3

Hi,

The following installation procedure seems to work fine in Ubuntu 9.10 alpha (karmic edition) and hopefully also works on Debian systems:

Copy-paste the following commands into a Terminal:

sudo aptitude update

sudo aptitude install subversion tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev python-cairo-dev python-imaging python-imaging-tk python-reportlab python-liblcms python2.4-dev python2.5-dev python2.6-dev alien liblcms liblcms-dev libcairo libcairo-dev libfreetype6 libfreetype6-dev

svn co https://sk1.svn.sourceforge.net/svnroot/sk1/trunk/sK1 sK1

cd sK1

sudo python setup.py install

Run sk1 to launch the program

Regards,

Mark

Posted by Ulysses on 31-07-2009 13:48
#4

Hi,

Is it possible to add my installation procedure above to the following part of the sk1project.org website?

http://sk1project.org/modules.php?name=Products&product=sk1&op=devres

The webmaster could create a separate header called "compiling and installing using the sK1 repository" and add the installation instructions under that header.

Regards,

Ulysses


Posted by igor on 31-07-2009 18:14
#5

Ulysses wrote:
Hi,

Is it possible to add my installation procedure above to the following part of the sk1project.org website?

http://sk1project.org/modules.php?name=Products&product=sk1&op=devres

The webmaster could create a separate header called "compiling and installing using the sK1 repository" and add the installation instructions under that header.

Regards,

Ulysses



Ok, I think this could be useful. We will do it.

Posted by jgranados on 11-11-2009 23:59
#6

Hello, I'm a newb in Linux, and I need to work with vsd files at work. I tried installing sK1 and vsdviewer following the steps advised by Ulysses, but I get the following error when I try to run sk1

[email protected]:~/sK1$ sk1
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/sk1/__init__.py", line 19, in sk1_run
import app
File "/usr/local/lib/python2.6/dist-packages/sk1/app/__init__.py", line 11, in <module>
from app.utils import output
File "/usr/local/lib/python2.6/dist-packages/sk1/app/__init__.py", line 62, in <module>
from managers.colormanager import ColorManager
File "/usr/local/lib/python2.6/dist-packages/sk1/app/managers/colormanager.py", line 9, in <module>
from sk1libs.pycms import cmsOpenProfileFromFile,cmsCreateTransform,cmsDoTransform, \
ImportError: No module named sk1libs.pycms

I'm also running Kubuntu 9.10 with python 2.6.4

Any help would be appreciated.

Best regards,

Posted by max on 12-11-2009 05:55
#7

Unfortunately project vsdviewer is frozen.
sK1 not support files with extensions vsd.

For download sk1libs

svn co https://sk1.svn.sourceforge.net/svnroot/sk1/trunk/sk1libs sk1libs

Edited by max on 12-11-2009 05:56

Posted by jgranados on 12-11-2009 16:02
#8

Thank you Max, that seemed to solve my problem. It is a pitty that vsdviewer is frozen for now.

Best regards,