Re: Solaris 10 libnetsnmp build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 30, 2005 at 12:56:35AM -0800, Dean wrote:
> Posted this to php-install with no response.  See:
> http://marc.theaimsgroup.com/?l=php-install&m=113579793423896&w=2
> 
> Hi folks,
> 
> I am trying to install php-4.4.1 on sparc-solaris 10, but make fails with:
> 
> /bin/sh /root/tmp/php-4.4.1/libtool <90-line snip> -o sapi/cgi/php
> 
> gcc: /usr/sfw/lib/sparcv9/.libs/libnetsnmp.so: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `sapi/cgi/php'
> 
> My configure line is:
> 
> ./configure --with-mysql --with-snmp
> 
> This is almost the right place for libnetsnmp - /usr/sfw/lib, but there
> is no .libs directory.
What does this give you:

   net-snmp-config --libdir
   or
   net-snmp-config --netsnmp-libs 
 
It should give the path to the /usr/sfw/lib

If it does say that you could try a:

  ./configure --with-snmp=/usr/sfw/

Also, check the output of config.log for some errors related to
net-snmp that might help explain why php's configure choose .libs.

The .libs dir is something that is used in the compilation of the
net-snmp code, which is generaly put in $prefix/lib on a make
install, if you compiled netsnmp manually.

Curt.
-- 
cat .signature: No such file or directory

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux