[En-Nut-Discussion] Building NutOS (especially qnutconf) using Autotools
Ole Reinhardt
ole.reinhardt at embedded-it.de
Wed Aug 17 17:48:16 CEST 2011
Hi Harald,
> > ./autogen and ./configure in the root folder or in each seperate folder
> > of each tool.
>
> As stated previously, compiling and installing worked so far.
Fine!
> However, while trying to create the source package for the next release
> I got stuck. Hopefully someone can help. I'm not that good with Linux
> and autotools.
>
> With the old version 4.8 I ran
>
> ./reconf
> ./configure
> make
> make distcheck
>
> which tests the build and, if everything went well, creates the source
> package, read for distribution. Possibly, when running on a fresh tree,
> I needed to run
>
> ./reconf
> automake --add-missing
>
> first. Now make distcheck fails with
>
> *** No rule to make target `INSTALL', needed by `distdir'.
Hm, ok. I did not test the "distcheck" target so far. I will do this
ASAP! but will not manage it before Friday.
> May be related to this: How can I completely clean the tree again, so
> that 'svn stat' will not reported new files? Previously I used 'make
> maintainer-clean', which still works. But it doesn't really clean
> everything. Is there any other simple way to do this?
Possibly I did not yet added all files to "maintainer clean
files" (spelled a little bit different) in the Makefile.am.
Will just add the missing files too.
>
> Last question: Ole recommended to call
>
> ./autogen
>
> and
>
> ./configure
>
> (I assume he meant ./autogen.sh, because there is no ./autogen).
Right.
> But is ./configure really required? I have the impression that it
> executes the same procedures as ./autogen.sh does.
As last action autogen calls ./configure. So you do not need it if you
just called autogen.sh.
Autogen.sh does more or less the same thing like the previous ./reconf
script. It creates the configure script from configure.ac and adds
(links) missing files to the source tree.
> Btw. no emergency. Linux users may download the tree from the repository.
:) I'll care on it on friday!
Bye,
Ole
--
Thermotemp GmbH, Embedded-IT
Embedded Hard-/ Software and Open Source Development,
Integration and Consulting
http://www.embedded-it.de
Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen -
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97
Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280
More information about the En-Nut-Discussion
mailing list