From: Mike <nee...@gm...> - 2006-07-16 19:08:58
|
The following patch is needed to get naviserver CVS to build on FreeBSD... Almost certainly this is not something to commit, but in case someone comes across this post, it'll save them 10 minutes... (or someone will point out to me that there's an easier way :) ) Index: autogen.sh =================================================================== RCS file: /cvsroot/naviserver/naviserver/autogen.sh,v retrieving revision 1.1 diff -r1.1 autogen.sh 15c15 < (autoconf --version) < /dev/null > /dev/null 2>&1 || { --- > (autoconf259 --version) < /dev/null > /dev/null 2>&1 || { 17c17 < echo "**Error**: You must have \`autoconf' installed." --- > echo "**Error**: You must have \`autoconf259' installed." 23c23 < (automake --version) < /dev/null > /dev/null 2>&1 || { --- > (automake19 --version) < /dev/null > /dev/null 2>&1 || { 25c25 < echo "**Error**: You must have \`automake' installed." --- > echo "**Error**: You must have \`automake19' installed." 31,32c31,32 < # if no automake, don't bother testing for aclocal < test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { --- > # if no automake19, don't bother testing for aclocal19 > test -n "$NO_AUTOMAKE" || (aclocal19 --version) < /dev/null > /dev/null 2>&1 || { 34c34 < echo "**Error**: Missing \`aclocal'. The version of \`automake'" --- > echo "**Error**: Missing \`aclocal19'. The version of \`automake19'" 36c36 < echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/" --- > echo "You can get automake19 from ftp://ftp.gnu.org/pub/gnu/" 46,47c46,47 < echo "Running aclocal -I m4 $ACLOCAL_FLAGS" < aclocal -I m4 $ACLOCAL_FLAGS || exit $? --- > echo "Running aclocal19 -I m4 $ACLOCAL_FLAGS" > aclocal19 -I m4 $ACLOCAL_FLAGS || exit $? 49,50c49,50 < echo "Running autoheader" < autoheader || exit $? --- > echo "Running autoheader259" > autoheader259 || exit $? 52,53c52,53 < echo "Running autoconf" < autoconf || exit $? --- > echo "Running autoconf259" > autoconf259 || exit $? |
From: Stephen D. <sd...@gm...> - 2006-07-17 20:37:26
|
What's the default versions of autoconf and automake on FreeBSD (FreeBSD x.x?) What did the default autoconf not like in our configure script? On 7/16/06, Mike <nee...@gm...> wrote: > The following patch is needed to get naviserver CVS to build on > FreeBSD... Almost certainly this is not something to commit, but in > case someone comes across this post, it'll save them 10 minutes... > (or someone will point out to me that there's an easier way :) ) > > Index: autogen.sh > =================================================================== > RCS file: /cvsroot/naviserver/naviserver/autogen.sh,v > retrieving revision 1.1 > diff -r1.1 autogen.sh > 15c15 > < (autoconf --version) < /dev/null > /dev/null 2>&1 || { > --- > > (autoconf259 --version) < /dev/null > /dev/null 2>&1 || { > 17c17 > < echo "**Error**: You must have \`autoconf' installed." > --- > > echo "**Error**: You must have \`autoconf259' installed." > 23c23 > < (automake --version) < /dev/null > /dev/null 2>&1 || { > --- > > (automake19 --version) < /dev/null > /dev/null 2>&1 || { > 25c25 > < echo "**Error**: You must have \`automake' installed." > --- > > echo "**Error**: You must have \`automake19' installed." > 31,32c31,32 > < # if no automake, don't bother testing for aclocal > < test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > > /dev/null 2>&1 || { > --- > > # if no automake19, don't bother testing for aclocal19 > > test -n "$NO_AUTOMAKE" || (aclocal19 --version) < /dev/null > /dev/null 2>&1 || { > 34c34 > < echo "**Error**: Missing \`aclocal'. The version of \`automake'" > --- > > echo "**Error**: Missing \`aclocal19'. The version of \`automake19'" > 36c36 > < echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/" > --- > > echo "You can get automake19 from ftp://ftp.gnu.org/pub/gnu/" > 46,47c46,47 > < echo "Running aclocal -I m4 $ACLOCAL_FLAGS" > < aclocal -I m4 $ACLOCAL_FLAGS || exit $? > --- > > echo "Running aclocal19 -I m4 $ACLOCAL_FLAGS" > > aclocal19 -I m4 $ACLOCAL_FLAGS || exit $? > 49,50c49,50 > < echo "Running autoheader" > < autoheader || exit $? > --- > > echo "Running autoheader259" > > autoheader259 || exit $? > 52,53c52,53 > < echo "Running autoconf" > < autoconf || exit $? > --- > > echo "Running autoconf259" > > autoconf259 || exit $? > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Mike <nee...@gm...> - 2006-07-17 21:42:32
|
On 7/17/06, Stephen Deasey <sd...@gm...> wrote: > What's the default versions of autoconf and automake on FreeBSD (FreeBSD x.x?) > > What did the default autoconf not like in our configure script? Stephen, I believe there is no such thing as "default" autoconf in FreeBSD. It's a third-party package, and multiple versions of it are available because various other things rely on a particular version, so the version is tacked on at the end... A similar thing is done with tcl - there is no "tclsh" on FreeBSD, only tclsh8.4 or tclsh8.5, for example.. (someone please correct me if I am wrong... - perhaps there is a port of some "compatibility" shim that finds latest version and tries it that I am unaware of). |
From: Stephen D. <sd...@gm...> - 2006-07-20 22:57:13
|
On 7/17/06, Mike <nee...@gm...> wrote: > On 7/17/06, Stephen Deasey <sd...@gm...> wrote: > > What's the default versions of autoconf and automake on FreeBSD (FreeBSD x.x?) > > > > What did the default autoconf not like in our configure script? > > Stephen, > I believe there is no such thing as "default" autoconf in FreeBSD. > It's a third-party package, and multiple versions of it are available > because various other things rely on a particular version, so the > version is tacked on at the end... A similar thing is done with tcl - > there is no "tclsh" on FreeBSD, only tclsh8.4 or tclsh8.5, for > example.. (someone please correct me if I am wrong... - perhaps there > is a port of some "compatibility" shim that finds latest version and > tries it that I am unaware of). > My Fedora box has automake-1.4 automake-1.5 automake-1.6 automake-1.7 automake-1.9, but it also has plain 'automake', which is the 1.9 version. I guess we need something like: $ AUTOMAKE="automake-1.9" ./autogen.sh then? |
From: Mike <nee...@gm...> - 2006-07-23 00:04:49
|
> My Fedora box has automake-1.4 automake-1.5 automake-1.6 > automake-1.7 automake-1.9, but it also has plain 'automake', which is > the 1.9 version. > > I guess we need something like: > > $ AUTOMAKE="automake-1.9" ./autogen.sh perhaps autogen.sh could be made to look for automake, then automake-1.9, then automake-1.8, etc... until it found one... I'm not sure this is the right answer, but I guess it's one way to solve the "problem". |