upgrading M4

upgrading M4

Posted by: significance
Posted on: 2009-01-12 06:06:00

hi,

i'm working through a custom php install, which is a pretty steep learning curve for me at the moment.

so far, i've managed to get the custom install working (i think).

i want to add APC, but in order to add that i need autoconf, and in order to install the latest version of that, i need M4 1.4.12.

I've downloaded and installed m4 using './configure' but when i do 'M4 --version' i still get the standard M4 installation. How can i change this so i can install autoconf?

Thanks!



Re: upgrading M4

Posted by: sXi
Posted on: 2009-01-12 07:53:00

You should be okay starting your build script with these versions:


cURL to [source directory]:

+ autoconf-2.61
+ automake-1.9.6
+ libtool-1.5.18
+ ... other packages ...

# autoconf
cd [source directory]
tar -xzf autoconf-2.61.tar.gz
cd autoconf-2.61
./configure --prefix=$HOME
make
make install

#automake
cd [source directory]
tar -xzf automake-1.9.6.tar.gz
cd automake-1.9.6
./configure --prefix=${HOME}
make
make install

#libtool
cd [source directory]
tar -xzf libtool-1.5.18.tar.gz
cd libtool-1.5.18
./configure --prefix=${HOME}
make
make install

#... additional packages here ...




How To Install PHP.INI / ionCube on DreamHost

Re: upgrading M4

Posted by: significance
Posted on: 2009-01-26 14:29:00

thanks for the info

i'm getting the following error

"checking whether autoconf is installed... no
configure: error: Autoconf 2.58 or better is required.
Please make sure it is installed and in your PATH."

on the automake

"./configure --prefix=${HOME}"

please help!! sorry i'm a bit clueless about this.

if you can point me to any resources to learn how to do it, that would be great too, but i don't really know where to start at the moment!

Edited by significance on 01/26/09 02:39 PM (server time).

Re: upgrading M4

Posted by: sXi
Posted on: 2009-01-26 16:39:00

What PATHs do you have exported in your script?




How To Install PHP.INI / ionCube on DreamHost

Re: upgrading M4

Posted by: significance
Posted on: 2009-01-27 00:20:00

well if i type $PATH i get

-bash: /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games: No such file or directory.

i will try to to add autoconf into my PATH and let you know how that goes.

thanks for bearing with me!

Re: upgrading M4

Posted by: sXi
Posted on: 2009-01-27 08:13:00

Add export PATH=$HOME/bin:$PATH to your script.




How To Install PHP.INI / ionCube on DreamHost

Tags: autoconfapc