LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-18-2004, 02:19 AM   #1
gbdavidx
Member
 
Registered: Oct 2004
Location: Sac, Calif
Distribution: Slackware 10.0
Posts: 123

Rep: Reputation: 15
Error with karamba python????


I get an error with python or something, everything worked when i did ./configure...

Heres my error:
Code:
In file included from main.cpp:5:
karambaapp.h:14:20: Python.h: No such file or directory
In file included from main.cpp:19:
karamba.h:8:20: Python.h: No such file or directory
In file included from karamba.h:56,
                 from main.cpp:19:
imagelabel.h:26:20: Python.h: No such file or directory
In file included from main.cpp:22:
karamba_python.h:28:20: Python.h: No such file or directorychecking for Python directory... /usr/local
checking for Python2.3... header no library no modules no
checking for Python2.2... header no library no modules no
checking for Python2.1... header no library no modules no
checking for Python2.0... header no library no modules no
checking for Python1.5... header no library no modules no
In file included from main.cpp:22:
karamba_python.h:44: error: syntax error before `*' token
karamba_python.h:45: error: syntax error before `*' token
karamba_python.h:46: error: ISO C++ forbids declaration of `PyThreadState' with
   no type
karamba_python.h:46: error: parse error before `*' token
karamba_python.h:48: error: `myThreadState' was not declared in this scope
karamba_python.h:48: error: invalid data member initialization
karamba_python.h:48: error: (use `=' to initialize static data members)
karamba_python.h:48: error: variable or field `getLock' declared void
karamba_python.h:49: error: syntax error before `*' token
karamba_python.h:50: error: `myThreadState' was not declared in this scope
karamba_python.h:50: error: invalid data member initialization
karamba_python.h:50: error: variable or field `releaseLock' declared void
karamba_python.h:51: error: type specifier omitted for parameter `PyObject'
karamba_python.h:51: error: parse error before `*' token
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/root/Desktop/superkaramba-0.35/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/Desktop/superkaramba-0.35/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/superkaramba-0.35'
make: *** [all] Error 2
What can i do to fix this? I'm pretty sure python is installed because when i do lcoate python it shows that it is in the directory /opt/00/program/python-core-2.2.2/lib/.... I check the FAQ site and it said i needed to install the python devel.... Or maybe i'm wrong?? Thanks for the help

Also when i went to do ./configure i saw this:
Code:
checking for Python directory... /usr/local
checking for Python2.3... header no library no modules no
checking for Python2.2... header no library no modules no
checking for Python2.1... header no library no modules no
checking for Python2.0... header no library no modules no
checking for Python1.5... header no library no modules no
I check /usr/local/ and i didn't see a folder for python 2.3..... i just don't want to install something twice unless it wont hurt, b/c i did that before with qt and that screwed everything up and i had to reformat , so yeah....

Last edited by gbdavidx; 11-18-2004 at 02:47 AM.
 
Old 11-18-2004, 11:24 AM   #2
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
I think you are missing the python-devel packages, install them first, if you didnt already.
 
Old 11-18-2004, 01:47 PM   #3
gbdavidx
Member
 
Registered: Oct 2004
Location: Sac, Calif
Distribution: Slackware 10.0
Posts: 123

Original Poster
Rep: Reputation: 15
Is this what i need to download? Python-2.3.4.tgz??? From Here?? Thanks
 
Old 11-19-2004, 11:53 AM   #4
p0z3r
Member
 
Registered: Apr 2004
Posts: 88

Rep: Reputation: 15
It would depend on your distro. You could install that package, but it will most likely result in you having two copies of python where all you needed was the devel package for your distribution.
Maybe post your computer specs so that we can help you better?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling error - Karamba search66 Linux - Software 0 02-25-2005 10:46 AM
python (karamba/superkaramba apps) JARofHERB Programming 3 11-10-2004 11:34 PM
karamba *not super karamba* whishkah Linux - Software 1 09-28-2004 10:59 AM
Super Karamba Installation: error at "make" Ian Linux - Newbie 3 03-20-2004 12:26 PM
python problem in karamba ngan_yine Linux - Newbie 0 12-16-2003 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration