Upgrading M4


#1

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!


#2

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 …

[code]# 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
[/code]#… additional packages here …

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#3

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!


#4

What PATHs do you have exported in your script?

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#5

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!


#6

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

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost