470,631 Members | 1,716 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,631 developers. It's quick & easy.

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 1828
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Lasse Vågsæther Karlsen | last post: by
2 posts views Thread by Rostislav Lyudmirsky | last post: by
1 post views Thread by Unregistered | last post: by
6 posts views Thread by Ronald Mai | last post: by
4 posts views Thread by bonono | last post: by
26 posts views Thread by Sanjay | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.