Results 1 to 6 of 6

Thread: MediaCore Installation problem: python-dev error?

Hybrid View

  1. #1

    Lightbulb MediaCore Installation problem: python-dev error?

    Hello,

    I'm new to this community and hope that I can find help to solve my big problem due to the Installation of the linux software MediaCore v.0.8.2. ( Open Source Video CMS and Podcasting Platform | MediaCore ).

    For your information: Root Server with openSUSE 11.1 - Plesk 9.3. Using putty for interaction with the system. Python, gcc, mysql, python setuptools and virtualenv is installed and should work correctly.

    I worked along with the MediaCore v.0.8.2. documentation ( Installation — MediaCore v0.8.2 documentation ) and all pre-installations are done. I setup a Python Virtual Environment (Step 1) and go on to Step 2. My server is running python2.6.

    When using the command "python2.6 setup.py develop" i get a long error list which ends with:

    Code:
    _imaging.c:3138: warning: return type defaults to int
    _imaging.c: In function DL_EXPORT:
    _imaging.c:3138: error: expected declaration specifiers before init_imaging
    _imaging.c:3149: error: expected { at end of input
    error: Setup script exited with error: command 'gcc' failed with exit status 1
    Now I need help to solve this problem. I read that it could be the python-dev? But how can I (re)install it correctly?

    Or do you know any other source of the error?

    Best regards, XPL

  2. #2

    Default Re: MediaCore Installation problem: python-dev error?

    Hello,

    I believe you want to make sure that the python-devel rpm is installed

    All the best

  3. #3

    Default Re: MediaCore Installation problem: python-dev error?

    yea but how can i do?

  4. #4

    Default Re: MediaCore Installation problem: python-dev error?

    Hello Exxplain,

    Quote Originally Posted by Exxplain
    yea but how can i do?
    It's pretty simple.
    Just start YaST->Software->Software Management.
    Enter "python-devel" in the search bar (without the quotes).
    On your right a few packages will appear.
    Select the one named "python-devel" and check for install.

    If everything went alright python-devel should be installed.

    Best of luck!

    P.S. sorry if the package name is slightly different, this could be because I'm not on a openSUSE 11.1 machine.
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

  5. #5

    Default Re: MediaCore Installation problem: python-dev error?

    sounds nice but i have to administrate via SSH & Putty.

    so i tried to use apt-get install python-devel or dev etc

    but doesnt work

  6. #6

    Default Re: MediaCore Installation problem: python-dev error?

    Hello Exxplain,

    Quote Originally Posted by Exxplain
    sounds nice but i have to administrate via SSH & Putty.

    so i tried to use apt-get install python-devel or dev etc

    but doesnt work
    Sorry, didn't saw it the first time I read your post.

    But don't worry you can also do this through the command line.
    openSUSE is an RPM based distro so you can't use apt-get but in this case need to use zypper.
    So run this command as root:
    Code:
    zypper in python-devel
    You can also start YaST from terminal and go to Software->Software Management.
    Just enter this command:
    Code:
    yast2 --install
    Good luck!
    Where did I put my coffee cup?
    dir -R /home/* | grep "coffee cup"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •