Results 1 to 5 of 5

Thread: compiling awn source tells me there's no python main lib?

  1. #1
    Join Date
    Aug 2008
    Location
    Sweden
    Beans
    249
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question compiling awn source tells me there's no python main lib?

    I've been trying to compile the source-code of the avant-window-navigator that is being developed now.. But when I try to use the ./configure that prepare the files for "make" it stops, when it's checking the python main library.

    Output:
    Code:
    checking for the distutils Python package... yes
    checking for Python include path... -I/usr/include/python2.6
    checking for Python library path... -L/usr/lib -lpython2.6
    checking python extra libraries... -L/usr/lib -lz -lpthread -ldl  -lutil
    checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
    checking consistency of all components of python development environment... no
    configure: error: in `/home/artheus/Desktop/avn-src':
    configure: error:
      Could not link test program to Python. Maybe the main Python library has been
      installed in some non-standard library path. If so, pass it to configure,
      via the LDFLAGS environment variable.
      Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
      ============================================================================
       ERROR!
       You probably have to install the development version of the Python package
       for your distribution.  The exact name of this package varies among them.
      ============================================================================
    I am newb at compiling and developing in Linux, so if there is a really simple solution to this, please take it easy on me ^^

    Cheers,
    Artheus
    Ubuntu server ed. 12.04 x64

  2. #2
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: compiling awn source tells me there's no python main lib?

    Quote Originally Posted by artheus View Post
    Code:
      ============================================================================
       ERROR!
       You probably have to install the development version of the Python package
       for your distribution.  The exact name of this package varies among them.
      ============================================================================
    Try installing the python2.6-dev package.

  3. #3
    Join Date
    Aug 2008
    Location
    Sweden
    Beans
    249
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: compiling awn source tells me there's no python main lib?

    ah... Thank's a lot!

    *awkward*
    Ubuntu server ed. 12.04 x64

  4. #4
    Join Date
    Apr 2009
    Beans
    30

    Re: compiling awn source tells me there's no python main lib?

    I installed python2.6-dev, but that did not help. I also get this error message.

  5. #5
    Join Date
    Aug 2008
    Location
    Sweden
    Beans
    249
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: compiling awn source tells me there's no python main lib?

    Just to clarify. Installing python-dev solved this for me.
    Ubuntu server ed. 12.04 x64

Tags for this Thread

Bookmarks

Posting Permissions

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