Joinutility seperatorLogin utility separator Infobright.com
   
 
Error trying to compile on CentOS 5.4
Posted: 07 December 2009 03:55 PM   Ignore ]  
Newbie
Rank
Total Posts:  3
Joined  2009-09-11

I am trying to build 3.2.2 on CentOS 5.4 and I am getting the following error:

# make EDITION=community release
mkdir -p build/community/release && cd build/community/release && autoreconf—force—install ../../../src && cd “/usr/local/tmp/infobright-3.2.2-x86_64src” > /dev/null 1>&2 && touch -cr src/configure.ac src/configure && touch build/community/release/configure.stamp
configure.ac:345: warning: AC_LIBTOOL_SETUP was called before AC_DISABLE_STATIC
/usr/share/aclocal/libtool.m4:1997: AC_DISABLE_STATIC is expanded from…
autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from…
configure.ac:345: the top level
configure.ac:362: warning: AC_LIBTOOL_SETUP was called before AC_DISABLE_SHARED
/usr/share/aclocal/libtool.m4:1958: AC_DISABLE_SHARED is expanded from…
autoconf/general.m4:1331: AC_ARG_WITH is expanded from…
configure.ac:362: the top level
configure.ac:345: warning: AC_LIBTOOL_SETUP was called before AC_DISABLE_STATIC
aclocal.m4:2003: AC_DISABLE_STATIC is expanded from…
autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from…
configure.ac:345: the top level
configure.ac:362: warning: AC_LIBTOOL_SETUP was called before AC_DISABLE_SHARED
aclocal.m4:1964: AC_DISABLE_SHARED is expanded from…
autoconf/general.m4:1331: AC_ARG_WITH is expanded from…
configure.ac:362: the top level
Using `AC_PROG_RANLIB’ is rendered obsolete by `AC_PROG_LIBTOOL’
configure.ac:345: warning: AC_LIBTOOL_SETUP was called before AC_DISABLE_STATIC
/usr/share/aclocal/libtool.m4:1997: AC_DISABLE_STATIC is expanded from…
autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from…
configure.ac:345: the top level
configure.ac:362: warning: AC_LIBTOOL_SETUP was called before AC_DISABLE_SHARED
/usr/share/aclocal/libtool.m4:1958: AC_DISABLE_SHARED is expanded from…
autoconf/general.m4:1331: AC_ARG_WITH is expanded from…
configure.ac:362: the top level
configure.ac:345: warning: AC_LIBTOOL_SETUP was called before AC_DISABLE_STATIC
aclocal.m4:2003: AC_DISABLE_STATIC is expanded from…
autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from…
configure.ac:345: the top level
configure.ac:362: warning: AC_LIBTOOL_SETUP was called before AC_DISABLE_SHARED
aclocal.m4:1964: AC_DISABLE_SHARED is expanded from…
autoconf/general.m4:1331: AC_ARG_WITH is expanded from…
configure.ac:362: the top level
configure.ac:205: error: possibly undefined macro: AC_PROG_MKDIR_P
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
make: *** [build/community/release/configure.stamp] Error 1

Versions:
autoconf (GNU Autoconf) 2.59
automake (GNU automake) 1.9.6
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
GNU M4 1.4.5
GNU Make 3.81
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)

Thanks much in advanced :D

Profile
 
Posted: 07 December 2009 04:36 PM   Ignore ]   [ # 1 ]  
Member
RankRankRank
Total Posts:  220
Joined  2008-08-18

Hi

You can find how to solve this problem at the end of the README.

“Dealing with Problems Compiling Infobright”

If you are using automake 1.9.6 or lower, you may need to replace @MKDIR_P@ by mkdir -p in
src/updater/Makefile.in.

If you experience an error message “install-sh” was not found, you can create it by
  cd vendor/mysql/
  autoreconf -f -i -Wall,no-obsolete
  cp install-sh ../../src/

Hope this will help!

Mahib

Signature 

Mahib

Profile
 
Posted: 07 December 2009 06:04 PM   Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  3
Joined  2009-09-11

I wasn’t able to locate src/updater/Makefile.in but did find src/Makefile.in so hoping this is the correct file to try.

However, I think I might have the format wrong because changing it to the following doesn’t work.

MKDIR_P = mkdir -p

Also tried:

MKDIR_P = /bin/mkdir -p

Profile
 
Posted: 07 December 2009 06:16 PM   Ignore ]   [ # 3 ]  
Sr. Member
Avatar
RankRankRankRank
Total Posts:  505
Joined  2008-08-18

Try

MKDIR_P="/bin/mkdir -p" 

(assuming it’s a bash script).
Geoffrey

Signature 
Profile
 
Posted: 07 December 2009 06:23 PM   Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  3
Joined  2009-09-11

Still gives the same error :(

Profile
 
Posted: 07 December 2009 09:53 PM   Ignore ]   [ # 5 ]  
Member
RankRankRank
Total Posts:  220
Joined  2008-08-18

Hi

Oops, I mixed up your error message with other error. Sorry for that. We had similar error in one of cent os box. The problem was solved by installing upgraded autotools. Defaults tools in centos are bit downgraded.

Most of our dev env use upgrade tools. However, we planned to support default version for these tools in future (in version 3.3.1, upcoming release is 3.3.0).

————————————————

The following version of the tools worked for us:

  * A working gcc compiler (recommended version is 4.2.3, [4.1.2 used to work for Infobright earlier releases]).
  * Properly installed autoconf(2.61) and other tools such as aclocal,
    autoheader, libtool(1.5.26), automake(1.10.1), make(3.81), m4 - macro preprocessor(1.4.10),
    libncurses5, libncurses5-dev, zlib, zlib-devel, perl, bison etc.
  * boost 1.34.* (particularly libboost-regex, libboost-regex-dev, libboost-program-options,
    libboost-program-options-dev, libboost_thread, libboost_filesystem, libboost-dev).

——————————————————-

You may need to download and compile boost 1.34* to get the libraries.

cheers

Signature 

Mahib

Profile
 
Posted: 14 December 2009 05:26 PM   Ignore ]   [ # 6 ]  
Administrator
Avatar
RankRankRank
Total Posts:  148
Joined  2008-08-18

I’ve seen similar errors on installing on a “clean” vm;

it was missing libtool ;

installing that cleared up those types of errors.

Profile