Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Avant Window Navigator


  • Please log in to reply
18 replies to this topic

#1 Vance K

Vance K

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:04:33 AM

Posted 01 September 2007 - 10:16 PM

Following this tutorial: http://awn.wetpaint.com/page/UbuntuFeistyHowTo?t=anon

Follow it, and get to step four, but when I enter "./autogen.sh" I get:

checking for headers required to compile python extensions... not found
configure: error: could not find Python headers


Can anyone help?

BC AdBot (Login to Remove)

 


#2 RandomUser

RandomUser

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:33 AM

Posted 02 September 2007 - 02:41 AM

What Distro are you using?

Are you familiar with apt-get or yum?

This mey just be an issue of downloading Python Meta Files or there may be something more substantial happening.

#3 Joedude

Joedude

  • Members
  • 337 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Sutton Coldfield, West Midlands, England
  • Local time:09:33 AM

Posted 02 September 2007 - 06:11 AM

If that's a debian based distro, you need to get the build essentials and that will sort out the headers problem.

apt-get install build-essential

This will work for debian or any debian based distro
* Collax
* Damn Small Linux
* Debian JP
* Embedded Debian,
* Euronode,
* Floppix,
* Gibraltar
* GNUstep LIVE CD,
* Kanotix,
* KNOPPIX,
* Linspire,
* Linex
* MEPIS,
* M.N.I.S. OCERA,
* Morphix
* RAYS LX
* Stonegate
* Ubuntu
* Xandros

Edited by Joedude, 02 September 2007 - 06:23 AM.

If someone tells you to su rm -rf /
DON'T DO IT!!!!
Be in the know, Bash smart!

#4 Vance K

Vance K
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:04:33 AM

Posted 02 September 2007 - 04:50 PM

I'm using Ubuntu, but when I do what the above poster said, it says

E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?


I'm using the only account I know of (is it like MEPIS where you have a seperate "root" account, and if so how do I know the password?).

EDIT: I used sudo and ran it again:

~$ sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Edited by Vance K, 02 September 2007 - 04:59 PM.


#5 BlackSpyder

BlackSpyder

    Bleeping Big Rig


  • BC Advisor
  • 2,456 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)
  • Local time:04:33 AM

Posted 02 September 2007 - 05:45 PM

Ubuntu Fiesty has no Root. in order to do any Root functions through the command line you must use "sudo". also you get that message if you have Synapic open

Posted Image




#6 Vance K

Vance K
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:04:33 AM

Posted 02 September 2007 - 06:23 PM

Ubuntu Fiesty has no Root. in order to do any Root functions through the command line you must use "sudo". also you get that message if you have Synapic open

As mentioned, I used "sudo" and it said they were already the most recent versions.

#7 arcman

arcman

  • Members
  • 706 posts
  • OFFLINE
  •  
  • Location:Michigan
  • Local time:04:33 AM

Posted 02 September 2007 - 06:52 PM

Did Step 2 complete successfully?

Edited by arcman, 02 September 2007 - 06:52 PM.

Posted Image

#8 Vance K

Vance K
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:04:33 AM

Posted 02 September 2007 - 07:27 PM

Everything works up to the step mentioned in the tutorial. I've done it again, and it told me I had them all already.

#9 RandomUser

RandomUser

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:33 AM

Posted 03 September 2007 - 01:31 AM

I recently ran into a similar problem installing the Kiba Dock.

You may have to "sudo" with the context of the user you are logged in as. Forgive me but I've only run into that once so hopefully someone reading this thread will know how to do that, otherwise you may want to search the web.



let know what happens

#10 BlackSpyder

BlackSpyder

    Bleeping Big Rig


  • BC Advisor
  • 2,456 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)
  • Local time:04:33 AM

Posted 03 September 2007 - 02:19 AM

beat your brains out enough yet?? LOL (I sure am trying to figure it out)

sudo apt-get install python2.5-dev
-the missing package

which leaves you with this lovely message after using the "make" command
No such file or directory: '/usr/share/pygtk/2.0/defs/gconf.defs'

give me a few more minutes and I might get it working (LOL) (yes it is driving me insane)

Posted Image




#11 BlackSpyder

BlackSpyder

    Bleeping Big Rig


  • BC Advisor
  • 2,456 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)
  • Local time:04:33 AM

Posted 03 September 2007 - 02:32 AM

Well I got it working
there were 3 more missing packages

sudo apt-get install python-gnome2-dev python-gnome2-desktop-dev python-gnome2-extras-dev


should fix you up.

Posted Image




#12 Vance K

Vance K
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:04:33 AM

Posted 03 September 2007 - 02:42 AM

After running "sudo apt-get install python-gnome2-dev python-gnome2-desktop-dev python-gnome2-extras-dev" through the terminal, do I need to do something else before going to try the "./autogen.sh"? If not, then there's still a problem, if so, what?

#13 BlackSpyder

BlackSpyder

    Bleeping Big Rig


  • BC Advisor
  • 2,456 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)
  • Local time:04:33 AM

Posted 03 September 2007 - 03:05 AM

lets try this:

open Synaptic and do a search for python list all the python packages you have installed currently here in the forums because thats what your missing is a python package.

Edited by BlackSpyder, 03 September 2007 - 03:06 AM.

Posted Image




#14 Vance K

Vance K
  • Topic Starter

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:04:33 AM

Posted 03 September 2007 - 09:55 AM

The only thing Synaptic lists is "Python (v2.5)".

#15 cybormoron

cybormoron

  • Members
  • 125 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:ann arbor, michigan. USA
  • Local time:04:33 AM

Posted 03 September 2007 - 02:26 PM

just guessing here...maybe the linux-headers (sometimes called kernel-headers) that match your kernel?

i always get an error when i try a sh install script without the headers installed.

Posted Image
I can no longer sit back and allow Microsoft infiltration, Microsoft indoctrination, Microsoft subversion, and the international Microsoft conspiracy to sap and impurify all of our precious open source GNU/Linux operating systems. General Jack D. Ripper.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users