|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
Build dependenciesThe configure script checks for:
* bison * byacc * flex * lex * help2man * valgrind * gengen * source-highlight However the absence of some of these tools does not cause the build procedure to fail. Are these merely required for building the package or they are also needed for utilising all the features of Gengetopt? Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependenciesDebarshi 'Rishi' Ray wrote:
> The configure script checks for: > * bison > * byacc > * flex > * lex > * help2man > * valgrind > * gengen > * source-highlight > > However the absence of some of these tools does not cause the build > procedure to fail. Are these merely required for building the package > or they are also needed for utilising all the features of Gengetopt? > hi there none of these tools are needed to build gengetopt, they're only needed in some cases if you want to contribute to gengetopt development. They are not even used by gengetopt itself during its execution. furthermore, autotools are needed if you get gengetopt via CVS and build it from CVS sources. If you download the .tar.gz package instead, you don't need them. See also the section in http://www.gnu.org/software/gengetopt/gengetopt.html#Installation "What you need to build gengetopt" cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependencies> none of these tools are needed to build gengetopt, they're only needed
> in some cases if you want to contribute to gengetopt development. > They are not even used by gengetopt itself during its execution. It has been some time, but I am still doubtful about certain things. I find that 'valgrind' is necessary to use 'make check' to test the build. However what about the others, are they also necessary in some section of the "./configure && make && make check && make install" dance? It seems not. So why are they still being checked for in the configure script, when run from the released tarball? Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependenciesDebarshi 'Rishi' Ray wrote:
>> none of these tools are needed to build gengetopt, they're only needed >> in some cases if you want to contribute to gengetopt development. >> They are not even used by gengetopt itself during its execution. > > It has been some time, but I am still doubtful about certain things. I > find that 'valgrind' is necessary to use 'make check' to test the > build. However what about the others, are they also necessary in some > section of the "./configure && make && make check && make install" > dance? It seems not. So why are they still being checked for in the > configure script, when run from the released tarball? > > Happy hacking, > Debarshi Hi there do you mean gengen, bison, flex, etc.? I could add the maintainer mode to the autotools; in that case, do you know whether some checks can be enabled only in maintainer mode? thanks Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependencies> do you mean gengen, bison, flex, etc.?
Yes. Which ones are not necessary while building (ie. ./configure && make && make check && make install) from the released tarball? > I could add the maintainer mode to the autotools; in that case, do you > know whether some checks can be enabled only in maintainer mode? I will have to find out and let you know. :-) Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependenciesJust to repeat my earlier question, is source-highlight necessary for
performing: $ ./configure && make && make check ...on the 2.21 release tar ball? My understanding is it is not required, since everything goes on peacefully. :-) As for your question of: "whether some checks can be enabled only in maintainer mode?" You could check for a particular flag in configure.ac to turn on some extra checks. eg., ./configure --alpha or ./configure --hacking Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependenciesDebarshi 'Rishi' Ray wrote:
> Just to repeat my earlier question, is source-highlight necessary for > performing: > $ ./configure && make && make check > ...on the 2.21 release tar ball? > > My understanding is it is not required, since everything goes on peacefully. :-) > > As for your question of: > "whether some checks can be enabled only in maintainer mode?" > > You could check for a particular flag in configure.ac to turn on some > extra checks. > eg., ./configure --alpha or ./configure --hacking sorry about that, I forgot to handle this issue before releasing 2.21. source-highlight is not necessary for the release tarbal. hope to deal with it in the next release cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependencies> sorry about that, I forgot to handle this issue before releasing 2.21.
> > [...] > > hope to deal with it in the next release Just a reminder to remove the checks for tools which are not needed for doing './configure --prefix=/usr && make && make check && make install' from the tarball, since it looks like we are close to 2.22. Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependenciesDebarshi 'Rishi' Ray wrote:
>> sorry about that, I forgot to handle this issue before releasing 2.21. >> >> [...] >> >> hope to deal with it in the next release > > Just a reminder to remove the checks for tools which are not needed > for doing './configure --prefix=/usr && make && make check && make > install' from the tarball, since it looks like we are close to 2.22. > > Happy hacking, > Debarshi thanks for the reminder :-) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependencies> thanks for the reminder :-)
Do retain the checks for tools needed for 'make check'. Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependenciesDebarshi 'Rishi' Ray wrote:
>> thanks for the reminder :-) > > Do retain the checks for tools needed for 'make check'. yes; actually, there's already a check in configure which avoids tests that require the gengetopt binary if cross compiling. -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependenciesDebarshi 'Rishi' Ray wrote:
>> sorry about that, I forgot to handle this issue before releasing 2.21. >> >> [...] >> >> hope to deal with it in the next release > > Just a reminder to remove the checks for tools which are not needed > for doing './configure --prefix=/usr && make && make check && make > install' from the tarball, since it looks like we are close to 2.22. hi there I was about to change the configure script, but then I got a little bit reluctant in avoiding such tests: the tests for such tools do not make configure fail (what is required is notified by configure, and the other things are simply checked): furthermore, in the Makefile.am the presence of such tools is checked and if not present they are simply ignored... your concern about the checks for these tools was due to the configure (or make, make install) failing if not present? hope to hear from you soon cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependencies> your concern about the checks for these tools was due to the configure
> (or make, make install) failing if not present? I want to know what are the exact dependencies for building the tarball. Apart from valgrind (required for make check), what other tools are needed for doing: ./configure && make && make check && make install from the tarball? What about help2man? Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependenciesDebarshi 'Rishi' Ray wrote:
>> your concern about the checks for these tools was due to the configure >> (or make, make install) failing if not present? > > I want to know what are the exact dependencies for building the > tarball. Apart from valgrind (required for make check), what other > tools are needed for doing: > ./configure && make && make check && make install > from the tarball? What about help2man? Hi, the only dep to build the package is the C/C++ compiler (and the standard libraries). valgrind is not required by make check (it is only required if you want to run make check-valgrind, which is not implied by make check); help2man is not required either. As I said, if some of the above crucial deps are missing (C or C++ compiler) the configure will exit with error; otherwise, if other programs are missing, you can still run make, make check and make install. cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
|
|
Re: Build dependenciesThis clears it up for good. :-) Thanks for explaining.
Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu _______________________________________________ Help-gengetopt mailing list Help-gengetopt@... http://lists.gnu.org/mailman/listinfo/help-gengetopt |
| Free embeddable forum powered by Nabble | Forum Help |