Reply to Re: [PHP] Solaris 10 libnetsnmp build failure

Your name:

Reply:


Posted by Curt Zirzow on 01/02/06 21:43

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация