Code::Blocks
July 29, 2010, 06:04:28 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Code::Blocks Logo Elections closed! And the winner is... otaco!
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]
  Send this topic  |  Print  
Author Topic: bootstrap not compatible with automake 1.11.1  (Read 715 times)
SharkCZ
Advanced newcomer
*
Posts: 117


« on: January 10, 2010, 10:13:56 am »

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.
Logged

Code::Blocks package maintainer for Fedora
jens
Global Moderator
Lives here!
*****
Posts: 2975



WWW
« Reply #1 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.

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
 

It would be nice, if you can test it.
Logged

Regards

Jens

debian - nightlies and wxWidgets (msw-)cross-build libs for "i386" and "amd64" : http://apt.jenslody.de/
C::B changelog: http://apt.jenslody.de/ChangeLog
jens
Global Moderator
Lives here!
*****
Posts: 2975



WWW
« Reply #2 on: January 11, 2010, 05:13:01 pm »

No answer in both threads  Sad .

I treat this as no objections  Very Happy .

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

Regards

Jens

debian - nightlies and wxWidgets (msw-)cross-build libs for "i386" and "amd64" : http://apt.jenslody.de/
C::B changelog: http://apt.jenslody.de/ChangeLog
MortenMacFly
Administrator
Lives here!
*****
Posts: 4593



WWW
« Reply #3 on: January 11, 2010, 06:30:11 pm »

No answer in both threads  Sad .
What is bootstrap? Do I need to call it from command.com?! Laughing Laughing Laughing
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
SharkCZ
Advanced newcomer
*
Posts: 117


« Reply #4 on: January 17, 2010, 12:22:52 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.

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

Code::Blocks package maintainer for Fedora
Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!