Closed
Bug 34159
Opened 25 years ago
Closed 23 years ago
building dbm separately
Categories
(SeaMonkey :: Build Config, defect, P3)
SeaMonkey
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.0
People
(Reporter: bugzilla, Assigned: cls)
References
Details
Attachments
(2 files)
|
5.49 KB,
patch
|
Details | Diff | Splinter Review | |
|
958.00 KB,
application/octet-stream
|
Details |
I have patches which will allow dbm to be built separately (as NSS will need)
and as part of the entire mozilla build.
I have a context diff, and a tar file of additional files (basically,
build+config stuff for dbm). I have tested these diffs+files on unix and NT.
To do a full mozilla build with these changes, nothing special or different
needs to be done. To build just dbm on unix, merely check out mozilla/dbm, and
./configure as usual. To build just dbm on NT, check out mozilla/dbm, set
INCS=-I<NSPR dist> and go nmake /f makefile.win .
| Reporter | ||
Comment 1•25 years ago
|
||
| Reporter | ||
Comment 2•25 years ago
|
||
| Reporter | ||
Comment 3•25 years ago
|
||
The diff and tar do NOT include new versions of "configure" itself. You'll need
to run autoconf in both mozilla/ and mozilla/dbm/ .
Leaf, are we going to need to setup another trigger to automatically run
autoconf when dbm/configure.in changes? Or are we going to just require people
to check in their modified configure?
Status: NEW → ASSIGNED
Comment 5•25 years ago
|
||
do we have an nspr configure.in? I can pretty easily add this to the list of
configure files that get autogenerated.
Yes, we have a nsprpub/configure.in as well. It's only used by
--enable-nspr-autoconf of course.
I almost hate to ask this but in the drive to make certain modules compile
"independently" from Mozilla, are we going to end up duplicating rules.mk and
friends across each module?
Comment 7•25 years ago
|
||
I don't think duplication is strictly necessary... isn't the config system now
fairly general? Can't one be used for all? That's the idea i've always had in my
head... otherwise, everyone who wants to make a new module thingee needs to come
up with their own build system.
Right, that's the issue. Should every standalone module include it's own set of
rules needed to build that module (ala NSPR & js)? If so, should these modules
use their own build rules or Mozilla's global ruleset when they build inside
mozilla? Currently, NSPR does it's own thing. js has js/config that needs to
be pulled to build standalone.
I was also thinking that the standalone modules could still use the standard
mozilla config files to build. Each standalone module would have to pull
mozilla/build & mozilla/config along with the modules' source & dependencies.
We'd still have to make a mozilla/dbm/configure but it would set it's topsrcdir
to mozilla/ . So even when building standalone, it would still be using the
same basic config as the rest of Mozilla.
Comment 9•25 years ago
|
||
That seems like less maintenance. I'm sure there will be modules that want their
own config, though. I don't see why a module can't decide which way to go.
| Assignee | ||
Comment 10•25 years ago
|
||
Ok, so getting back to dbm specifics.... is it really necessary for dbm to have
it's own build heirarchy? For use with NSS, I mean.
| Reporter | ||
Comment 11•25 years ago
|
||
I tried hard to get dbm to use ../config and ../build and just couldn't do it.
One thing I ran into is a bug in autoconf itself where it doesn't like you
specifying source directories with ".." in them when it's trying to do a
configure in a different directory: it builds relative links by counting
directories and prepending ".." but it counts the specified ".." as a regular
dir and backs over it too, ending up pointing two directories too high.
I'd still like to have a configure/build system that doesn't require those
directories to be duplicated, but it's going to be a bit of work.
Comment 12•25 years ago
|
||
To answer cls's question: Yes. We need to be able to pull and build just the
components nss needs. Also -- I don't mind if someone wants to go off and find a
better way to make modules build independently, but right now not being able to
build dbm is holding up nss development. Other than the 'sanity' issue of having
a separate config directory, is there any reason we can't get this checked in? I
need these changes to keep working.
| Assignee | ||
Comment 13•25 years ago
|
||
Sorry about the delay. I just checked in a new build option to the toplevel
configure that should allow you to build dbm separately from mozilla. You need
to pass '--enable-modules=dbm' to configure to only build dbm. Unfortunately,
it still requires pulling the entire tree but we're working on that.
Comment 14•25 years ago
|
||
mass re-assign of all bugs where i was listed as the qa contact
QA Contact: cyeh → chofmann
| Assignee | ||
Comment 15•25 years ago
|
||
It is now possible to build dbm standalone using the main configure.in (so to
get the same defines, cflags, etc as a normal build).
cvs -z3 co mozilla/client.mk
cd mozilla
gmake -f client.mk pull_all BUILD_MODULES=dbm
./configure --enable-modules=dbm
gmake
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 16•25 years ago
|
||
I can't seem to build it on my AIX machine... confgure fails.
It still has dependencies on GTK and IDL. [may only be an update to the build
instructions... I figured out how to turn X and GTK off, but it doesn't look
like it's possible to turn off IDL.
bob
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 17•25 years ago
|
||
relyea - I was able to turn off IDL by adding "--disable-libIDLtest" to the
configure command.
However, noticed that the same changes (building standalone modules) need to be
made to the windows makefile.
| Assignee | ||
Comment 18•24 years ago
|
||
Setting milestones to Future.
Comment 19•24 years ago
|
||
I am not sure if this is the right spot ... but when building mozilla, nss is
looking for a .a , whereas the dbm module is building a .so .
| Assignee | ||
Comment 20•24 years ago
|
||
This is not the right place and I do not see that behavior in the standard
mozilla builds. Please open a new bug and include your build options.
Updated•24 years ago
|
Target Milestone: mozilla1.0 → mozilla0.9.9
Comment 21•24 years ago
|
||
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1
(you can query for this string to delete spam or retrieve the list of bugs I've
moved)
Target Milestone: mozilla0.9.9 → mozilla1.0.1
Comment 22•24 years ago
|
||
don't move bugs that are in the 1.0 dependency tree. sorry.
Target Milestone: mozilla1.0.1 → mozilla1.0
Comment 23•23 years ago
|
||
Marking fixed as we can use the gmake build system for win32 & mac (OSX) now.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 23 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•