20090728 mhash on solaris and other inconveniences - plembo/onemoretech GitHub Wiki

title: mhash on Solaris and other inconveniences link: https://onemoretech.wordpress.com/2009/07/28/mhash-on-solaris-and-other-inconveniences/ author: lembobro description: post_id: 275 created: 2009/07/28 13:53:06 created_gmt: 2009/07/28 13:53:06 comment_status: open post_name: mhash-on-solaris-and-other-inconveniences status: publish post_type: post

mhash on Solaris and other inconveniences

Not sure why, but the Sunfreeware package for mhash on Solaris for Sparc doesn’t include the headers. Hugely inconvenient. That forced me to do a pkgrm and install from source for this system I’ve got to build php on.

I hate when that happens.

The other valuable lesson I learned is that building php from source on Solaris 10 still requires a lot of stuff to be installed that you’d think you could skip. Like the GNU versions of:

autoconfig
automake
bison
sed
m4
flex

from Sunfreeware. Even though Solaris 10 has lots of GNU stuff already installed, apparently the legacy Sun versions of some of these tools (especially sed) will get you unexpected (i.e. bad) results if you try building php with them.

As always, make sure your $PATH is prepended with /usr/local/bin.

(I can’t believe the Wordpress spell-checker doesn’t know the word “prepend”! What kind of programmers are they anyway!)

Copyright 2004-2019 Phil Lembo