Re: build-deps
Sven LUTHER wrote:
On Mon, Feb 12, 2001 at 11:09:46AM +0100, Georges Mariano wrote:
> > What I'm trying to do is to build a memory of the build deps
> > by annoting a Makefile something like that :
> >
> > libglib1.2-dev:
> > $(COMPILE) libglib1.2-dev
> > $(INSTALL) libglib*-dev*.deb
> >
> > libglib1.2: libglib1.2-dev
> > $(COMPILE) libglib1.2
> > $(INSTALL) libglib1.2*.deb
> >
> > libgtk1.2: libglib1.2
> > $(COMPILE) libgtk1.2
> > ** I PERFECTLY KNOW THAT THIS IS NOT SUFFICIENT TO REACH
> > SOMETHING I COULD CALL AN AUTO-BUILDER, ... **
>
> What for do you do this ? just use the correpsonding debian binary packages.
:-)
Just to know how far I can go with source recompilation ...
and to find undocumented dep-builds !! [and auto-builders can't do that
;-)]
(and a Makefile is the simpler way I found to note the progress
I made...)
> > But it is enough to see what difficulties arise when trying to
> > auto-build some parts of the distribution...
> > I noted at least to main problems :
> > a) requesting an apt-get source -b <name> leads to the download of
> > - a1 deb source with a different name ...
> > or - a2 several deb sources (obviously with different names :-)
> >
> > b) building a downloaded debsource leads to
> > - b1 (deb) binary with a different name ...
> > or - b2 several (deb) binaries with different names (again)
>
> Erm, ...
>
> there are virtual packages and source packages containing more than 1 binary
> packages.
oops, right...
> Don't think they use Makefiles, more probably perl/whaetever scripts or such,
> maybe even a propper C program ?
I don't think that ... but at least in theory, a Makefile is a simple
(and sufficient??) way to record (in order to replay), and not to
<<define>>,
the rebuilding of some parts of the system...
--
# Georges MARIANO tel: (33) 03 20 43 84 06
# INRETS, 20 rue Elisee Reclus fax: (33) 03 20 43 83 59
# 59650 Villeneuve d'Ascq mailto:georges.mariano@inrets.fr
# FRANCE.
# http://www3.inrets.fr/Public/ESTAS/Mariano.Georges/
# http://www3.inrets.fr/B-Bibliography/
Reply to: