Hi,
      If you're missing Python.h (since your compiler complains about it), I
guess you're missing the development package of python, whatever that's
called in SUSE. Probably "python-devel", according to this:
http://www.novell.com/products/linuxpackages/opensuse/python-devel.html

Good luck,

Mark
On 7 March 2011 17:21, Hena Dutta <[email protected]> wrote:

> Hello,
> I was trying to install PYMOL in my openSUSE 11.3 as follows:
>
> cd /usr/local
>
> hena@a:/usr/local>
> sudo svn co https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymolpymol
>
> cd pymol
>
> hena@a:/usr/local/pymol>
>
> sudo python setup.py install
>
> And I got the following error at the end:
>
> package init file 'modules/web/javascript/__init__.py' not found (or not a
> regular file)
> package init file 'modules/web/javascript/__init__.py' not found (or not a
> regular file)
> running build_ext
> building 'pymol._cmd' extension
> creating build/temp.linux-x86_64-2.6
> creating build/temp.linux-x86_64-2.6/modules
> creating build/temp.linux-x86_64-2.6/modules/cealign
> creating build/temp.linux-x86_64-2.6/modules/cealign/src
> creating build/temp.linux-x86_64-2.6/ov
> creating build/temp.linux-x86_64-2.6/ov/src
> creating build/temp.linux-x86_64-2.6/layer0
> creating build/temp.linux-x86_64-2.6/layer1
> creating build/temp.linux-x86_64-2.6/layer2
> creating build/temp.linux-x86_64-2.6/layer3
> creating build/temp.linux-x86_64-2.6/layer4
> creating build/temp.linux-x86_64-2.6/layer5
> gcc -pthread -fno-strict-aliasing -DNDEBUG -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fPIC -D_PYMOL_MODULE -D_PYMOL_INLINE
> -D_PYMOL_FREETYPE -D_PYMOL_LIBPNG -Iov/src -Ilayer0 -Ilayer1 -Ilayer2
> -Ilayer3 -Ilayer4 -Ilayer5 -I/usr/include/freetype2 -Imodules/cealign/src
> -Imodules/cealign/src/tnt -I/usr/include/python2.6 -c
> modules/cealign/src/ccealignmodule.cpp -o
> build/temp.linux-x86_64-2.6/modules/cealign/src/ccealignmodule.o -ffast-math
> -funroll-loops -O3
> In file included from modules/cealign/src/ccealignmodule.H:57:0,
>                  from modules/cealign/src/ccealignmodule.cpp:32:
> layer0/os_python.h:30:19: fatal error: Python.h: No such file or directory
> compilation terminated.
> error: command 'gcc' failed with exit status 1
>
>
> Can someone advise me at this point or suggest the right pakage of PYMOL
> that I can install in open SUSE 11.3
>
> Thanks...
> Hena
>
>

Reply via email to