Missing _bssd in Python 2.4

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jalil@feghhi.com

    #1

    Missing _bssd in Python 2.4

    I compiled and installed python 2.4 on Redhat Linux using default
    options but don't seem to be getting _bsddb. I get an error message
    that _bssd cannot be imported.

    Does anybody know why this might happen? Do I need to do any special
    customization or install any other software?

    Thanks,

    -Jalil

  • Martin v. Löwis

    #2
    Re: Missing _bssd in Python 2.4

    jalil@feghhi.co m wrote:[color=blue]
    > I compiled and installed python 2.4 on Redhat Linux using default
    > options but don't seem to be getting _bsddb. I get an error message
    > that _bssd cannot be imported.
    >
    > Does anybody know why this might happen? Do I need to do any special
    > customization or install any other software?[/color]

    You need to install the bsddb header files and development libraries
    when building Python from source.

    Regards,
    Martin

    Comment

    • jalil@feghhi.com

      #3
      Re: Missing _bssd in Python 2.4


      I actually installed BerkeleyBD4.0 and commented out some sections of
      Modules/Setup that I found related to this. I got the _bsddb.o in the
      build environment but I still get the same error from bsddb/__init.py__
      that it cannot import _bsddb.

      Anything I am missing? Where should this _bsddb go exactly? Is it an
      ..so file?

      Thanks,

      -JF
      Martin v. Löwis wrote:[color=blue]
      > jalil@feghhi.co m wrote:[color=green]
      > > I compiled and installed python 2.4 on Redhat Linux using default
      > > options but don't seem to be getting _bsddb. I get an error message
      > > that _bssd cannot be imported.
      > >
      > > Does anybody know why this might happen? Do I need to do any[/color][/color]
      special[color=blue][color=green]
      > > customization or install any other software?[/color]
      >
      > You need to install the bsddb header files and development libraries
      > when building Python from source.
      >
      > Regards,
      > Martin[/color]

      Comment

      Working...