Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

bootstrap not compatible with automake 1.11.1

(1/2) > >>

SharkCZ:
The bootstrap script is not compatible with automake 1.11.1, because the regular expression for checking whether automake is 1.7 or above catches the string "1.1" at the end of 1.11.1 and thus thinks 1.11.1 is too old. See attachment for a fix.

[attachment deleted by admin]

Jenna:
It's a known issue, and I already have a(different) patch in my working-copy.
See also this topic: http://forums.codeblocks.org/index.php/topic,11808.msg80123.html#msg80123.
I did not (yet) apply it, because there have not been any responses except from the one posted by KirkD.

Here is the patch as I use it actually on my system:


--- Code: ---Index: bootstrap
===================================================================
--- bootstrap (revision 6066)
+++ bootstrap (working copy)
@@ -42,12 +42,12 @@
  exit 1;
 fi
 
-if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '1\.[0-6](\.[0-9]+)?$'`"; then
+if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '\<1\.[0-6](\.[0-9]+)?\>'`"; then
  echo "Automake 1.7 or above is required. Aborting build...";
  exit 1;
 fi
 
-if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '1\.7(\.[0-9]+)?$|1\.8(\.[0-9]+)?$'`"; then
+if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '\<1\.7(\.[0-9]+)?|\<1\.8(\.[0-9]+)?'`"; then
  echo "make dist only supported with automake 1.9 or above" >&2;
 fi
 

--- End code ---

It would be nice, if you can test it.

Jenna:
No answer in both threads  :( .

I treat this as no objections  :D .

So I applied my patch to trunk (svn r6074).

MortenMacFly:

--- Quote from: jens on January 11, 2010, 05:13:01 pm ---No answer in both threads  :( .

--- End quote ---
What is bootstrap? Do I need to call it from command.com?! :lol: :lol: :lol:

SharkCZ:

--- Quote from: jens on January 10, 2010, 12:11:51 pm ---It's a known issue, and I already have a(different) patch in my working-copy.
See also this topic: http://forums.codeblocks.org/index.php/topic,11808.msg80123.html#msg80123.
I did not (yet) apply it, because there have not been any responses except from the one posted by KirkD.

--- End quote ---

My searching thru the forums didn't find it, but your patch is definitely better, thanks.

Navigation

[0] Message Index

[#] Next page

Go to full version