473,606 Members | 2,218 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python on Mac OS X doesn't have gdbm

First off I know I can install the latest python from Fink quite
easily and it'll give me everything needed. But I'm trying to
distribute my python app to end users who don't really care (or know)
anything about Fink.

The default Python on Mac OS X is 2.3 but doesn't come with gdbm. Did
anyone try to get the source of gdbm and build it, and somehow built
the gdbm module for Python on Mac OS X? If so could you share a few
hints? It'll save me lots of time trying.

Thanks!
Jul 18 '05 #1
2 3337

fp> The default Python on Mac OS X is 2.3 but doesn't come with gdbm. Did
fp> anyone try to get the source of gdbm and build it, and somehow built
fp> the gdbm module for Python on Mac OS X? If so could you share a few
fp> hints? It'll save me lots of time trying.

The only hint I can share is to ask on the py***********@p ython.org mailing
list.

Skip
Jul 18 '05 #2
fo************* @yahoo.com.tw (Fortepianissim o) wrote in message news:<ef******* *************** ****@posting.go ogle.com>...
First off I know I can install the latest python from Fink quite
easily and it'll give me everything needed. But I'm trying to
distribute my python app to end users who don't really care (or know)
anything about Fink.

The default Python on Mac OS X is 2.3 but doesn't come with gdbm. Did
anyone try to get the source of gdbm and build it, and somehow built
the gdbm module for Python on Mac OS X? If so could you share a few
hints? It'll save me lots of time trying.

Thanks!


Just a follow-up on what I did to sort of solve this problem. I simply
copied gdbm.so and the necessary libgdbm* files from Fink to another
directory, and used install_name_to ol to change the dynamic library
path inside gdbm.so. And it worked...
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1900
by: Roy Smith | last post by:
A while ago, I build Python-2.3.4 from source on my OSX machine. At the time, I didn't have the gdbm library installed, so the gdbm module didn't get built. I've since installed the gdbm library and want to build the gdbm module. I could do the whole configure/make thing, but that's kind of slow. Is there some way to just rebuild a single module?
0
937
by: Cameron Laird | last post by:
QOTW: "Python: it tastes so good it makes you hungrier." -- EP "I don't consider 'throws Exception' to be sloppy, I consider it to be programmers voting with their feet." -- Roy Smith The Centre for Epidemiology and Research has released a high-quality suite of Python-based "Network-enabled epidemiology" tools. Among other packages, NetEpi leverages MxDateTime, Albatross, Numeric Python, pyPGSQL, and RPy:
1
4096
by: Ed | last post by:
I am trying to use a Perl script which requires a Database module other than "dbm" to be the default Mod. So, what the script is checking is import anydbm if (anydbm._defaultmod.__name__ == 'dumbdbm' or anydbm._defaultmod.__name__ == 'dbm'): First of, I'm doing this on a Sparc/Solaris 8 box. So, I'm trying to get gdbm to be the default mod. I've downloaded and
0
1149
by: Dan Stromberg | last post by:
Hi folks. I'm working on some file indexing software, in python of course. Over the course of working on it, I've come upon two python+database related questions: 1) Is there a reason for the gdbm module in python 2.4.1 not to have a get method? This makes it a touch less dictionary-like.
5
2834
by: brokow | last post by:
I was lucky to find Milton L. Hankins' Python 1.5 port of gdbm.pyd on the web a while ago, but I was wondering if there is one that works with a more recent version of Python? (For me, that one kills python24\pythonw.exe in Pythonwin and SPE on import, though it's a VC++ Runtime Error, so it could be a different DLL problem somewhere...) It just seems a little odd that no one would have done this or that it's so tough to find. Of course, I...
1
1773
by: brokow | last post by:
I have been trying to get the gdbm module in python 2.4 to read a gdbm file from python 1.5.2 and having no luck. I get a file error when I try to open the 1.5.2-created gdbm file. Even a very simple gdbm database causes the trouble. E.g. I create a one-entry db in python 1.5.2 Python 1.5.2 (#0, Apr 13 1999, 10:51:12) on win32 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam >>> import gdbm >>> db2 =...
4
1894
by: vshenoy | last post by:
Hi Guys, I was going through gdbm-1.8.3 source (http://ftp.gnu.org/gnu/gdbm/ gdbm-1.8.3.tar.gz) and found this strange thing : all the exposed functions of gdbm work with GDBM_FILE pointer (which is returned by gdbm_open), but in the implementation of gdbm functions (e.g. gdbm_open in gdbmopen.c)work with a structure called gdbm_file_info. Now GDBM_FILE is defined like this in gdbm.h an exposed header :
0
2436
by: Akira Kitada | last post by:
Hi list, I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed to build some of the modules. """ Failed to find the necessary bits to build these modules: _bsddb _sqlite3 _tkinter gdbm linuxaudiodev spwd sunaudiodev
0
1932
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see math, mmap and readline modules, that worked fine before, cannot be built anymore.
0
8015
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8439
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8430
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8094
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8305
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6770
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
3930
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2448
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1553
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.