On Wed, Sep 23, 2009 at 08:40:08AM +0200, Gabor Gombas wrote:
> On Tue, Sep 22, 2009 at 09:54:22AM -0700, Carl Christensen wrote:
> > Is this still in a state of flux; I remember discussions and thought it was 
> > all done?  I was trying to build on my old Debian Linux distro I use for 
> > production and _autosetup bombs out, although I supposedly have all the 
> > prereqs:
> > 
> > ca...@cmc-macbook-debian:~/projects/boinc$ ./_autosetup
> > Bootstrapping configure script and makefiles:
> > Checking version of 'make' >= 379... succeeded. (381)
> > Checking version of 'm4' >= 104... succeeded. (104)
> > Checking version of 'pkg-config' >= 15... succeeded. (21)
> > Checking version of 'autoconf' >= 258... succeeded. (261)
> > Checking version of 'automake' >= 108... succeeded. (110)
> > autoreconf -i
> 
> Yes, I think this should be added:

Version 2:

diff --git a/_autosetup b/_autosetup
index 75a0b8e..1532ae0 100755
--- a/_autosetup
+++ b/_autosetup
@@ -78,6 +78,7 @@ check_version()
          have_gmake=yes;
       else
        echo "Couldn't find a new-enough version of GNU 'make', please install 
one!";
+       echo "If you have a newer version, set the environment-variable 'MAKE' 
to its path";
        exit 1;
       fi
   fi
@@ -94,6 +95,7 @@ check_version()
          have_gm4=yes;
       else 
          echo "Couldn't find a new-enough version of 'm4', please install 
one!";
+         echo "If you have a newer version, set the environment-variable 'M4' 
to its path";
          exit 1;
       fi
       # build_lsc_aux "m4-1.4.1"
@@ -107,11 +109,10 @@ check_version()
       # build_lsc_aux "pkgconfig-0.15.0"
   fi
 
-  if check_version autoconf 2.58; then
+  if check_version autoreconf 2.58; then
       echo >/dev/null
   else
-      echo "Couldn't find a new-enough version of 'autoconf', please install 
one!";
-      echo "If you have a newer version, set the environment-variable 
'AUTOCONF' to its path";
+      echo "Couldn't find a new-enough version of 'autoreconf', please install 
one!";
       exit 1;
       # build_lsc_aux "autoconf-2.59"
   fi
@@ -119,12 +120,19 @@ check_version()
       echo >/dev/null
   else
       echo "Couldn't find a new-enough version of 'automake', please install 
one!";
-      echo "If you have a newer version, set the environment-variable 
'AUTOMAKE' to its path";
+      echo "If you have a newer version, set the environment-variable 
'AUTOMAKE' and 'ACLOCAL' to its path";
       exit 1;
       # build_lsc_aux "automake-1.8.5"
   fi
+  if check_version libtoolize 2.2; then
+      echo >/dev/null
+  else
+      echo "Couldn't find a new-enough version of 'libtoolize', please install 
one!";
+      echo "If you have a newer version, set the environment-variable 
'LIBTOOLIZE' to its path";
+      exit 1;
+  fi
 
-  ## ---------- ok, now run aclocal, automake, autohead and autoconf
+  ## ---------- ok, now run autoreconf
   cmdline="autoreconf -i";
 echo "$cmdline"
 if eval $cmdline; then

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to