473,382 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Doing a partial rebuild of Python?

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?
Jul 18 '05 #1
4 1892
Roy Smith wrote:
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?


Just typing "make" again should build any new modules that have
been enabled by installing additional libraries -- without recompiling
anything else.
Jul 18 '05 #2
Irmen de Jong <irmen@-NOSPAM-REMOVETHIS-xs4all.nl> writes:
Roy Smith wrote:

[...]
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?


Just typing "make" again should build any new modules that have
been enabled by installing additional libraries -- without recompiling
anything else.


Don't you need to do a ./configure too, first?
John
Jul 18 '05 #3
John J. Lee wrote:
Irmen de Jong <irmen@-NOSPAM-REMOVETHIS-xs4all.nl> writes:
Just typing "make" again should build any new modules that have
been enabled by installing additional libraries -- without recompiling
anything else.

Don't you need to do a ./configure too, first?


I thought not. But I could be mistaken.
(I thought the module compile process was smart
enough to figure it out by itself, without
needing ./configure again...)

--Irmen
Jul 18 '05 #4
jj*@pobox.com (John J. Lee) writes:
Irmen de Jong <irmen@-NOSPAM-REMOVETHIS-xs4all.nl> writes:
Roy Smith wrote: [...]
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?


Just typing "make" again should build any new modules that have
been enabled by installing additional libraries -- without recompiling
anything else.


Don't you need to do a ./configure too, first?


No. gdbmmodule is built by setup.py, so no autoconfery required.

Cheers,
mwh

-- What are mathematicians' critical job skills? [...]

The ability to work long and hard on entirely meaningless problems.
-- Michael Hudson & Gordon McMillan, c.l.py
Jul 18 '05 #5

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

Similar topics

7
by: Lasse Vågsæther Karlsen | last post by:
I have a list of items and a "rule" for ordering them. Unfortunately, the rule is not complete so it won't define the correct order for any two items in that list. In other words, if I pick...
2
by: Rostislav Lyudmirsky | last post by:
Greetings experts, If I have a project containing several .c/.f files. Is it possible to modify just one of the source files and rebuild executable without involving others? What I mean is......
1
by: Unregistered | last post by:
I have following situation: one "message" table and 3 other "message_{1,2,3}" tables which inheri from "message". Every day +-50 000 "messages" are being inserted. I needed something extra to...
6
by: Ronald Mai | last post by:
In my opinion, Ellipsis might be in the middle, not only in leftmost or rightmost, so a placeholder approach can be much more flexible and convenient. Here is a reference implementation: _ =...
4
by: bonono | last post by:
I came across this while searching for a way to DIY partial(), until it is available in 2.5 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/229472 However, when trying for the...
0
by: dinesh | last post by:
I am using ASP.Net 2.0 ,i've inherited a page in another page. During compilaton I get the error saying " the "base class" could not be found" But when I rebuild the application the error goes....
26
by: Sanjay | last post by:
Hi All, Not being able to figure out how are partial classes coded in Python. Example: Suppose I have a code generator which generates part of a business class, where as the custome part is to...
1
by: ward.david | last post by:
My company distributes a COM object that can be license and userd by our customers. Some of my company's internal application also use the COM object. However, for internal applications, instead of...
1
by: Michiel Overtoom | last post by:
Ward wrote... Why rebuild it? You can use a resource editor tool to add/edit/delete the VERSIONINFO from any Windows executable, including Python.exe ;-) Greetings, -- "The ability of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.