When installing PHP 4.1.1 with MHASH and MCRYPT on Sun Solaris 7, I keep
getting the following error:

configure: error: Please reinstall libmhash - I cannot find mhash.h

Due to concurrency issues, I am trying to build these in a non-standard
location, and have rebuilt them a few times  The mhash and mcrypt libraries
are located at /opt/build/lib, which I put in the ./configure statement for
php.

                ./configure \                                   
                --prefix=/opt/build \                             
                --libdir=/opt/build/lib \                         
                --includedir=/opt/build/include \                 
                --oldincludedir=/opt/build/include \              
                --with-pear \                                   
                --with-openssl=/opt/build/tmp/src/openssl-0.9.6c \
                --with-gd=/opt/build/tmp/src/gd-1.8.4 \           
                --with-mhash=/opt/build/tmp/src/mhash-0.8.9 \     
                --with-mcrypt=/opt/build/tmp/src/mcrypt-2.5.12 \  
                --with-pspell=/opt/build/tmp/src/pspell-.12.2 \   
                --with-mysql=/opt/build/mysql \                      
                --with-xml \                                    
                --with-apxs=/opt/build/server_httpd/bin/apxs \             
                --enable-track-vars

Any ideas?    Thanks in advance for the help.


Scott Hopkins


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to