Closed Bug 105855 Opened 23 years ago Closed 18 years ago

Need to create makefiles for the new "configure script" to generate

Categories

(Bugzilla :: Installation & Upgrading, enhancement, P3)

2.15
Other
Other
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: zach, Assigned: zach)

References

Details

Configure needs Makefile.in's to make into Makefile's.

The Makefile then does the work of doing the install and would work as 
would be expected:

make -- makes and runs checksetup.pl
make test -- runs tests
make install -- installs

cc's are from the meta bug.
Blocks: 44659
Blocks: 105856
I think that checksetup.pl should not be run at build time but only after
install. In some case and mostly in case of binary distribution, ve don't
want to make a real install, we just want to have all file ready to build
the package.

Maybe we need something like:
make test -- runs checksetup.pl and runs tests
Part of checksetup.pl (the part that checks for versions of modules, etc) needs
to be done by "make".  The part that creates/updates that database should
probably be run by "make install".  After all, we shouldn't do that until we
know that the tests pass, and we shouldn't deal with the tests if we know
they're gonna fail (because the proper modules aren't installed).
Also, the database-specific pieces of checksetup.pl (mostly the second
half of the script) should be separated out in preparation for support
of other databases (PostgreSQL, et al).

The "latest" patches referenced in Bug 44659 break checksetup.pl into
"setup.pl" and "mysql/setup.pl".
IMHO, here is what should do what, this is changed slightly from what I 
had before: 

Configure.pl (bug 105854) - Checks modules, gathers data for makefiles, 
does other things as needed, writes a Makefile from a Makefile.in (does 
var substitution).

Make (this bug) - Creates directories in install/* to hold the Bugzilla 
scripts. Copies file there. Does var substitution (either with unix tools or by 
calling a helper perl script)

Make test (this bug) - very simple purpose in life, run the tests

Make install (this bug) - copies the things in install/ to the installdirs set in 
Configure.pl

HOWEVER, (there is always a but) this should all wait a little bit until 
Configure is set to handle what is needed (should be by tomorrow) and 
we can go from there. I'll post more details about how things can work 
soon.

Zach
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.18
Unloved bugs targetted for 2.18 but untouched since 9-15-2003 are being
retargeted to 2.20
If you plan to act on one immediately, go ahead and pull it back to 2.18.
Target Milestone: Bugzilla 2.18 → Bugzilla 2.20
Severity: normal → enhancement
Summary: Need to create makefile's for configure to generate → Need to create makefiles for the new "configure script" to generate
This bug has not been touched by its owner in over six months, even though it is
targeted to 2.20, for which the freeze is 10 days away. Unsetting the target
milestone, on the assumption that nobody is actually working on it or has any
plans to soon.

If you are the owner, and you plan to work on the bug, please give it a real
target milestone. If you are the owner, and you do *not* plan to work on it,
please reassign it to nobody@bugzilla.org or a .bugs component owner. If you are
*anybody*, and you get this comment, and *you* plan to work on the bug, please
reassign it to yourself if you have the ability.
Target Milestone: Bugzilla 2.20 → ---
QA Contact: mattyt-bugzilla → default-qa
bug 105854 and bug 44659 have been marked as WONTFIX. This bug doesn't make sense anymore.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.