I started off trying to use bsddb with my standard mandrake 9 python 2.2.1
package. The shell reported back no such module. Strange, thinks I. I
thought it was standard in the package, it was when I was using Windows.
So I uninstalled Python, downloaded the latest python 2.3 and compiled it
from source.
Now when I try to import bsddb, I get this error...... import bsddb
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ?
import _bsddb
What might I have done wrong, and/or what should I do to fix it? 6 1992 import bsddb Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ? import _bsddb
What might I have done wrong, and/or what should I do to fix it?
You probably don't have the necessary -devel RPM installed.
(If you don't want direct replies, choose a more obviously invalid email
address. If you do want replies, choose a more obviously valid email
address. "home.org" is a valid domain. "no*@home.org" is a bit vague.)
Skip
On Wed, 17 Sep 2003 12:47:53 +0000, Skip Montanaro wrote: >>>> import bsddb >> Traceback (most recent call last): >> File "<stdin>", line 1, in ? >> File "/usr/local/lib/python2.3/bsddb/__init__.py", line 40, in ? >> import _bsddb >> What might I have done wrong, and/or what should I do to fix it?
You probably don't have the necessary -devel RPM installed.
(If you don't want direct replies, choose a more obviously invalid email address. If you do want replies, choose a more obviously valid email address. "home.org" is a valid domain. "no*@home.org" is a bit vague.)
Skip
That might have been true while I was using the rpm package.
But currently I'm using the source package Python-2.3.tgz.
"Dfenestr8" <fa*******@here.org> writes: You probably don't have the necessary -devel RPM installed. That might have been true while I was using the rpm package.
But currently I'm using the source package Python-2.3.tgz.
That package does not include the BSDDB header files. Instead, you
need to install those header files from your system's CD-ROM. As Skip
explains, the package containing them most likely has the string
"-devel" in its name.
Regards,
Martin What might I have done wrong, and/or what should I do to fix it?
Skip> You probably don't have the necessary -devel RPM installed.
That might have been true while I was using the rpm package.
But currently I'm using the source package Python-2.3.tgz.
Doesn't matter. The _bsddb module can't be built if the relevant header
files and libraries are not in place.
Skip
On Thu, 18 Sep 2003 09:26:49 +0000, Skip Montanaro wrote: >> What might I have done wrong, and/or what should I do to fix it? Skip> You probably don't have the necessary -devel RPM installed. >> That might have been true while I was using the rpm package. >> But currently I'm using the source package Python-2.3.tgz.
Doesn't matter. The _bsddb module can't be built if the relevant header files and libraries are not in place.
Skip
The rpm -devel package just won't install unless it detects I have python
itself installed as an rpm. And I kind of like the version of IDLE that
comes with Python 2.3, so I'd rather keep it. (Also, I'm not completely
sure how to uninstall it. "make uninstall" doesn't work).
So is there no way I can get the correct header files from source?
On Fri, 19 Sep 2003 18:04:15 -0400, Dfenestr8 wrote: On Thu, 18 Sep 2003 09:26:49 +0000, Skip Montanaro wrote:
>> What might I have done wrong, and/or what should I do to fix it?
Skip> You probably don't have the necessary -devel RPM installed.
>> That might have been true while I was using the rpm package.
>> But currently I'm using the source package Python-2.3.tgz.
Doesn't matter. The _bsddb module can't be built if the relevant header files and libraries are not in place.
Skip
The rpm -devel package just won't install unless it detects I have python itself installed as an rpm. And I kind of like the version of IDLE that comes with Python 2.3, so I'd rather keep it. (Also, I'm not completely sure how to uninstall it. "make uninstall" doesn't work).
Skip is talking about the devel RPMs for bsddb. For instance, do you
have db3-devel installed? Or db4-devel? On RedHat 7, the default bsd db
is db3-3.2.9. You would need db3-devel installed to get the bsddb module
built.
--
Stuart D. Gathman <st****@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: danu kusmana |
last post by:
Im using Python 2.3.4 and Mandrake linux 10.0. I don't
know whats wrong when Im trying to install the
PyOpengl-2.0.1.08. I got the message:
gcc -pthread -shared...
|
by: Joal Heagney |
last post by:
Hi everyone. I've been getting this error message in python, and it's
really driving me up the wall.
$ python
'import site' failed; use -v for traceback
Python 2.3.4 (#1, Apr 18 2005,...
|
by: Christophe Morrone |
last post by:
Hello all,
In advance, excuse my English.
I have a small problem of installation with Oracle 9i (Mandrake 9.1)
At the beginning I have got a problem of jre! I give the way of the JRE of
sun in...
|
by: Rhino |
last post by:
Has anyone managed to get DB2 V8.1 to install and run on Linux Mandrake
9.1/9.2?
I know that IBM does not officially support DB2 on Mandrake but I also know
that the clever people who buy DB2...
|
by: Eveline |
last post by:
Hi all,
I am trying to install IBM DB2 V8.1 on Mandrake Linux 10.1.
Java is installed and when I try to run db2setup as a root, I get the
following error:
# ./db2setup
DBI1190I db2setup is...
|
by: Yi Qiang |
last post by:
Hi guys,
I am trying to compile python 2.5 on my OSX machine so it includes the
bsddb module. Currently, when I type 'import bsddb' I get the
following traceback:
...
|
by: sugapablo |
last post by:
I have an old machine running Mandrake 9.2 and PHP 4.3.1 hosting
several websites.
With the coming changes to daylight savings time in March 2007, what
are my options in correcting the current...
|
by: partofthething |
last post by:
I've been struggling with this all day. I am trying to get Python 2.5
running with the BerkeleyDB bindings provided by bsddb.
First, I downloaded the BerkeleyDB system (version 4.5) from...
|
by: Shawn Hirn |
last post by:
In article <3EF75784.9040004@netscape.net>,
Frank <fvanbortel@netscape.netwrote:
I am stumped. I am a very very new Oracle user. A colleague put the
Oracle 10g client on my workstation...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |