PDA

View Full Version : mhash 0.92 released


vandal
02-09-2005, 01:54 PM
to update do the following.

cd /usr/local/directadmin/customapache

wget http://voxel.dl.sourceforge.net/sourceforge/mhash/mhash-0.9.2.tar.gz

pico build

change the line: MHASH_VER=0.9.1

to: MHASH_VER=0.9.2

then

./build mhash


you might have to rebuild php as well, can someone confirm this?

i sucessfully built mhash on it's own.

vandal
02-09-2005, 02:06 PM
i built php again sucessfully.

not exactly sure how to check if php is using new mhash.

jmstacey
02-09-2005, 04:11 PM
I had to rebuild apache as well. You can make sure it's been updated using the phpinfo(); function.

vandal
02-09-2005, 07:28 PM
do you do php before apache?

or does the order matter?

jmstacey
02-09-2005, 09:29 PM
Sometimes it does matter, depending on what you install. For example php and mhash.
As to php and apache's order, I don't think the order matters since apache uses the php module which means php can be updated without a rebuild of apache being required.

AbsurdDoctor
02-09-2005, 11:31 PM
I had trouble building the man pages; it kept hanging on m FreeBSD 4.11 machine (I suspect its because of some of the funky things I've done with Perl and that pod2man may be a bit screwed up). I cheated and copied over mhash.3 from the older install. I imagine this means my man pages for mhash are now out of date, but it allowed the build to finish.

vandal
02-10-2005, 01:15 PM
i rebuilt php and apache with the new mhash however my php info says

MHASH API Version 20020524

that seems old.

any ideas?

Chrysalis
02-11-2005, 02:01 PM
well I did ./build mhash and I am waiting here.

Making all in doc
pod2man --section=3 --center="mhash library" --date="2000/03/23" --release="mhash 0.9.2" | sed 's/MHASH_VERSION/0.9.2/' > ./mhash.3

for 10 mins, box hasnt crashed and isnt using any cpu. :(

AbsurdDoctor
02-11-2005, 02:56 PM
Originally posted by Chrysalis
well I did ./build mhash and I am waiting here.

Making all in doc
pod2man --section=3 --center="mhash library" --date="2000/03/23" --release="mhash 0.9.2" | sed 's/MHASH_VERSION/0.9.2/' > ./mhash.3

for 10 mins, box hasnt crashed and isnt using any cpu. :(

One option is to cheat as I mentioned above; copy mhash.3 from the 0.9.1 doc folder into 0.9.2 doc folder and build again.

Chrysalis
02-11-2005, 03:42 PM
ahaa I see what you sai dnow yeah I will try the same thanks.

Chrysalis
02-11-2005, 03:48 PM
ok thanks got round the error, on the subject of apache and php, php needs to be rebuilt after but not apache since mhash is used in php and php is built after apache anyway.