From: Holger L. <de...@la...> - 2006-10-03 15:38:46
|
Hi David, On Monday 02 October 2006 23:00, David Bruce wrote: > > But "configure" doesnt exist in trunk :( As well as Makefile.am and > > friends. > So sorry - it turns out that there were several things in *my* > tuxmath/trunk directory that I neglected to add to svn. =20 No problem, I'm happy you fixed it now :) > I have added=20 > several files to svn and it now appears to build properly with a fresh > checkout from svn with "./configure && make && make install". I don't > think any additional files in my tuxmath/trunk belong under version contr= ol > - below is the output of "svn status" - let me know if there is anything > else that should be svn added, as my knowledge of autoconf/automake is ve= ry > sketchy: Mine too, but I've asked a friend who has more knowledge. =46irst I gave him the list of files you added: <kaol> config.guess and config.sub are autogenerated, at least (or actually= =20 just copied form /usr/share/automake-something/) <h01ger> so they should not be in svn? <kaol> I would leave them out of svn <kaol> missing, aclocal.m4 and install-sh might be autogenerated... hmm. <kaol> src/Makefile.in is at least, if there's a src/Makefile.am > dbruce@debian:~/tuxmath/trunk$ svn status Then I gave him the list of files you didn't add. His reply: <kaol> Makefile.am and src/Makefile.am should be added, at least <h01ger> may i send those comments (with your nick) to the tuxmath list?=20 <kaol> sure <kaol> I'm not familiar, by name alone at least, what Tuxmath.kdevses and=20 TuxMath.kdevelop.pcs are <kaol> I'm not sure about Doxyfile, either <kaol> src/fileops.c_BID needs to be looked at, too... The rest of the abov= e=20 list looks autogenerated and/or unnecessary. I think the *.kde* files don't need to be commited :) Then I have another problem, "make clean" needs config.status, but this is= =20 autogenerated. And I do call "make clean" in my debian-build scripts. <h01ger> kaol, or not. i call "make clean" in the clean target and this fai= ls=20 (with the files from svn). if i run "./configure" before "make clean", it=20 works. does config.status belong in svn? <kaol> one convention that I have seen is to have some sort of autogen.sh i= n=20 svn, which will generate all those autogenerated files, and that there woul= d=20 be no expectation to have anything work after an export before that is run <h01ger> a hackish workaround would be to run ./configure in the clean targ= et=20 first, but that seems too hackish to me. <kaol> perhaps doing automake;autoconf;aclocal;libtoolize (in some order, w= ith=20 some flags) would make sense... <kaol> sorry, being busy with other stuff now * h01ger wonders what to do. basically all clean target in the Makefile cal= l=20 the clean-recursive target :-/ I'll investigate that later, but I decided to send this mail now to share t= his=20 information with you. (On a brief thought I think a autogen.sh would be=20 useful.) regards, Holger |