List:MySQL++« Previous MessageNext Message »
From:Adrian Cornish Date:January 1 2014 7:27pm
Subject:Re: Quick patch for default field limit
View as plain text  
> > Found the issue - was my fault, missed an error from bootstrapping with a
>> > missing dependency. Works just fine as it is.
>>
>> Can the message be made clearer?
>>
>> I'm a fan of fixing problems two ways: fix the immediate problem, and
>> prevent it from happening again, where practical.
>>
> Happy New Year to you Warren and the rest of the list
>
> I think it was reasonably clear, I just saw 6/6 and blindly carried on.
> Not sure why it did not print the BOOTSTRAP FAILED! though
>
> This was the error (missing libtools basically)
>
> [6/6] generating autoconf from ./mysql++.bkl
> writing ./Makefile.in
> writing ./autoconf_inc.m4
> 126 files modified
> + bakefile -f gnu -o Makefile.simple -DBUILDLIBRARY=no mysql++.bkl
> writing Makefile.simple
> + set +x
> + aclocal -I config -I /usr/share/aclocal
> + libtoolize
> ./bootstrap: line 85: libtoolize: command not found
> + '[' -z shonuff ']'
> [adrian@localhost mysqlpp]$
>

How does this look?

[adrian@localhost mysqlpp]$ ./bootstrap
+ for d in 3 5 8
+ mkdir -p vc2003
+ for d in 3 5 8
+ mkdir -p vc2005
+ for d in 3 5 8
+ mkdir -p vc2008
+ bakefilize
+ rm -f INSTALL
+ bakefile_gen
0 files modified
+ bakefile -f gnu -o Makefile.simple -DBUILDLIBRARY=no mysql++.bkl
no changes in Makefile.simple
+ set +x
FAILED to find build tool: libtoolize

BOOTSTRAP FAILED!


[adrian@localhost mysqlpp]$ svn diff
Index: bootstrap
===================================================================
--- bootstrap   (revision 2760)
+++ bootstrap   (working copy)
@@ -78,6 +78,21 @@
 # Do the autotools stuff if Bakefile steps succeeded
 if [ -n "$success" ]
 then
+   # test for tools
+   toollist="aclocal libtoolize autoheader autoconf make"
+   for tool in $toollist
+   do
+      which $tool > /dev/null 2>&1
+      if [[ $? != 0 ]];
+      then
+         echo "FAILED to find build tool: $tool"
+         echo
+         echo BOOTSTRAP FAILED!
+         echo
+         exit 1
+      fi
+   done
+
        rm -f config.cache
        mv autoconf_inc.m4 config > /dev/null 2>&1      # don't care if it
fails
        set -x &&
[adrian@localhost mysqlpp]$

Thread
Quick patch for default field limitAdrian Cornish31 Dec
  • Re: Quick patch for default field limitWarren Young31 Dec
    • Re: Quick patch for default field limitAdrian Cornish1 Jan 2014
      • Re: Quick patch for default field limitWarren Young1 Jan 2014
        • Re: Quick patch for default field limitAdrian Cornish1 Jan 2014
          • Re: Quick patch for default field limitAdrian Cornish1 Jan 2014
            • Re: Quick patch for default field limitWarren Young2 Jan 2014
              • Re: Quick patch for default field limitAdrian Cornish3 Jan 2014