Re: [PHP] Solaris 10 libnetsnmp build failure
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-installm=113579793423896w=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
[PHP] Solaris 10 libnetsnmp build failure
Posted this to php-install with no response. See: http://marc.theaimsgroup.com/?l=php-installm=113579793423896w=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. Can someone point me in the right direction? 0 urzatron /root # cat /etc/release Solaris 10 3/05 s10_74L2a SPARC Thanks, --Dean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Solaris 9/Oracle 10g Compile Time Problems
How do you build php 5.0.4 with support for oracle 10.2 on Solaris 9? I am getting the following compile time error? snip z -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lnsl -lsocket -lgen -ldl -lclntsh -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -o libphp5.la ld: fatal: file /u01/app/oracle/product/10.2/lib/libclntsh.so: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to .libs/libphp5.so *** Error code 1 make: Fatal error: Command failed for target `libphp5.la' Thanks, CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SOlaris 10 Build Problems
Trying to build php 5.0.4 on solaris using gcc, and get this error: checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... Sorry, I cannot run apxs. Possible reasons follow: 1. Perl is not installed 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs 3. Apache was not built using --enable-so (the apxs usage page is displayed) The output of /usr/local/apache2/bin/apxs follows: ./configure: /usr/local/apache2/bin/apxs: not found configure: error: Aborting ccarson-sun:/usr/local/src/php-5.0.4 #/usr/local/apache2/bin/httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c ccarson-sun:/usr/local/src/php-5.0.4 #which perl /usr/bin/perl ccarson-sun:/usr/local/src/php-5.0.4 #ls -l /usr/local/apache2/bin/apxs -rwxr-xr-x 1 root bin22795 Jun 19 00:17 /usr/local/apache2/bin/apxs According to the error, the problem could be one of 3 things, however, none of those apply to my case. Anyone have any ideas? Thx, CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] solaris 10 and php5
Hi, i was trying to build php5 in a solaris 10 i386 box and I got stuck with the following error message: In file included from /usr/include/sys/wait.h:24, from /export/home/jonel/Downloads/php-5.0.2/ext/standard/exec.c:33: /usr/include/sys/siginfo.h:259: error: parse error before ctid_t /usr/include/sys/siginfo.h:292: error: parse error before '}' token /usr/include/sys/siginfo.h:294: error: parse error before '}' token /usr/include/sys/siginfo.h:390: error: parse error before ctid_t /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc' /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc' /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426: error: parse error before '}' token /usr/include/sys/siginfo.h:428: error: parse error before '}' token /usr/include/sys/siginfo.h:432: error: parse error before k_siginfo_t /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/sys/procset.h:24, from /usr/include/sys/wait.h:25, from /export/home/jonel/Downloads/php-5.0.2/ext/standard/exec.c:33: /usr/include/sys/signal.h:85: error: parse error before siginfo_t In file included from /export/home/jonel/Downloads/php-5.0.2/ext/standard/exec.c:33: /usr/include/sys/wait.h:86: error: parse error before siginfo_t In file included from /export/home/jonel/Downloads/php-5.0.2/ext/standard/exec.c:36: /usr/include/signal.h:111: error: parse error before siginfo_t /usr/include/signal.h:113: error: parse error before siginfo_t make: *** [ext/standard/exec.lo] Error 1 I have installed the necessary packages from sunfreeware as required and google it and I seem to hit a wall. anyone have successfully build php5 in a solaris 10? thanks and regards, Jonel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Solaris - IPlanet - Initialized PHP Module frequently
Hi all, Produktion System: SunOS su6-5 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire-280R IPlanet 4.1 sp 14 gcc version 3.1 ist not possible to create a Backtrace, weve also more then one Problem i think, ok Step by Step: Our Problem: Iplanet Webserver is terminated with Signal SIGBUS und SIGSEGV watchdog is restarting it It may be a Problem with OCI8 requests and PHP but were not sure. Weve tried to reproduce the errors and done some tests with another Solaris Workstation(SunOS sx0172 5.8 Generic_117000-03 sun4u sparc SUNW,Ultra-5_10) Iplanet and PHP. Its possible to get info.php(phpinfo()) with Apache Bench without Errors at this System. In Produktion we also can get the info.php without errors(same PHP compile Options). If we try with real traffic/live traffic at the production System we get Initialized PHP Module. We also cant locate the PHP code that caused the errors. There also no regularities in the logs apparent. Here the Logs and Infos: IPlanet error.log [17/Jun/2004:19:20:05] info (23922): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:21:19] info (23978): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:21:59] info (24004): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:22:04] info (24037): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:22:35] info (24048): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:22:38] info (24049): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:31:53] info (24611): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:37:04] info (24932): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:19:41:22] info (25152): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:20:01:19] info (26380): php4_init reports: Initialized PHP Module (128 threads exspected) [17/Jun/2004:20:06:31] info (26660): php4_init reports: Initialized PHP Module (128 threads exspected) /var/adm/messages Jun 17 19:20:04 su00056 uxwdog[15154]: [ID 767207 daemon.error] server terminated (signal 11): watchdog is restarting it Jun 17 19:22:37 su00056 last message repeated 5 times Jun 17 19:31:52 su00056 uxwdog[15154]: [ID 767207 daemon.error] server terminated (signal 10): watchdog is restarting it Jun 17 19:37:02 su00056 last message repeated 2 times Jun 17 19:41:21 su00056 uxwdog[15154]: [ID 767207 daemon.error] server terminated (signal 11): watchdog is restarting it Jun 17 20:01:17 su00056 uxwdog[15154]: [ID 767207 daemon.error] server terminated (signal 11): watchdog is restarting it Jun 17 20:06:30 su00056 last message repeated 2 times Error count can be up to 3 or more times, restarts per second Produktion System: SunOS su6-5 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire-280R IPlanet 4.1 sp 14 gcc version 3.1 we've tryed php-4.3.5-DEV up to 4.3.7 Configure Options for PHP: ./configure \ --prefix=/opt/php/home.intranet.de/php-4.3.7 \ --with-mysql=no \ --enable-track-vars \ --with-gd \ --with-jpeg-dir=/usr/local/jpeg-6b \ --with-png-dir=/usr/local/libpng-1.2.5 \ --with-zlib-dir=/usr/local/zlib-1.1.4 \ --with-freetype-dir=/usr/local/freetype-2.1.3 \ --enable-libgcc \ --with-nsapi=/opt/netscape/server4 \ --with-ldap=/usr/local/ldapsdk-30 \ --with-oci8=/opt/oracle/8.1.7 we've also tryed --enable-sigchild i also enabled for debugging --enable-debug Infos from the Net: http://bugs.php.net/bug.php?id=15450 http://bugs.php.net/bug.php?id=16996 http://www.mail-archive.com/[EMAIL PROTECTED]/msg105908.html Next Problem Backtrace for SIGSEGV: /var/adm/messages: Jun 17 10:51:18 su6-5 genunix: [ID 603404 kern.notice] NOTICE: core_log: ns-httpd[15821] core dumped: /var/core/core.ns-httpd.15821.su6-5.60001.60001.1087462271 Jun 17 10:51:18 su6-5 uxwdog[15820]: [ID 767207 daemon.error] server terminated (signal 11): watchdog is restarting it bash-2.03# gdb /opt/netscape/server4/bin/https/bin/ns-httpd core.ns-httpd.15821.su6-5.60001.60001.1087462271 GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as sparc-sun-solaris2.8...(no debugging symbols found)... Core was generated by `ns-httpd -d /opt/netscape/server4/https-home-intranet/config'. Program terminated with signal 11, Segmentation fault. Reading symbols from /opt/netscape/server4/bin/https/lib/libns-httpd40.so... (no debugging symbols found)...done. Loaded symbols for /opt/netscape/server4/bin/https/lib/libns-httpd40.so Reading symbols
[PHP] configure php solaris with openssl
Hi, I am having a issue with configure in that it doesn't like to find the openssl libraries when running configure. Looking through the log it states that there is a issue with configure itself.. config.log --- configure:16174: checking for OpenSSL version configure, line 16182: Error: , expected instead of end of file. configure, line 16182: Error: Use ; to terminate declarations. 2 Error(s) detected. == The openssl lib that is installed is: OpenSSL 0.9.7d 17 Mar 2004 The specific section in configure that it is complaining about is: Section from configure code with comment.. #include openssl/opensslv.h #if OPENSSL_VERSION_NUMBER = 0x0090600fL yes issue right here #endif EOF if (eval $ac_cpp conftest.$ac_ext) 25 | egrep yes /dev/null 21; then rm -rf conftest* echo $ac_t= 0.9.6 16 else rm -rf conftest* { echo configure: error: OpenSSL version 0.9.6 or greater required. 12; exit 1; } == It is kind of strange, since the compiles used to work, without any problem, but since about 4.3.4 i am running into this issue. If anyone has any idea, please let me know Thanks S.
[PHP] Solaris 8 Bus Error from PHP ldap functions
Hello, I recieve this error from every PHP ldap function on Solaris 8 : Apache error_log: ... child pid 666 exit signal Bus Error (10) ... My box:: SunOS 5.8 Sun-Fire15K Apache 1.3.27 + mod_ssl 2.8.12 PHP 4.2.3 ( 4.3.0 crashes too) OpenLDAP 2.1.12 ( i've checked every release since 2.1.5 ...) I tried the same config on different machine with SunOS 5.6 and it worked fine so it looks like Solaris 8 problem but I got no clue. Any tips or clues most appreciated. Thanks, Piotr Rybok -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Solaris
Sorry I know this is off subject but I'm in a bind. I have a problem with my Solaris box booting up. Does I fairly new to all of this so does anybody know a good newsgroup for Solaris?? My problem is I added a file so a program would auto load. I added the file to etc/rc2.d Now this program loads perfect but continues to run and the rest of the O/S can't load. How can I access that director to delete the file?? Thanks for any help Kris
RE: [PHP] Solaris
Kris, a couple of options for you to try are http://www.sun.com/bigadmin http://www.solariscentral.com also have a search in google also you can try this... resart the machine and press stop a after the banner comes up and you get the ok prompt .. then type boot -s (for single user mode) (you will need to know the root password) it will come up with a message saying something like .. you are about to enter into maintance mode.. press control-c to proceed in normal start up mode. once you have entered in the root password you will be able to mode around the directories via the command line .. then is a simple matter of tying cd /etc/rc2.d ; rm filename -Original Message- From: Kris [mailto:[EMAIL PROTECTED]] Sent: Monday, 9 December 2002 12:04 PM To: PHP List Subject: [PHP] Solaris Sorry I know this is off subject but I'm in a bind. I have a problem with my Solaris box booting up. Does I fairly new to all of this so does anybody know a good newsgroup for Solaris?? My problem is I added a file so a program would auto load. I added the file to etc/rc2.d Now this program loads perfect but continues to run and the rest of the O/S can't load. How can I access that director to delete the file?? Thanks for any help Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Solaris
Thank you so much Worked like a charm!! :) Kris - Original Message - From: Peter Houchin [EMAIL PROTECTED] To: Kris [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Monday, December 09, 2002 12:01 PM Subject: RE: [PHP] Solaris Kris, a couple of options for you to try are http://www.sun.com/bigadmin http://www.solariscentral.com also have a search in google also you can try this... resart the machine and press stop a after the banner comes up and you get the ok prompt .. then type boot -s (for single user mode) (you will need to know the root password) it will come up with a message saying something like .. you are about to enter into maintance mode.. press control-c to proceed in normal start up mode. once you have entered in the root password you will be able to mode around the directories via the command line .. then is a simple matter of tying cd /etc/rc2.d ; rm filename -Original Message- From: Kris [mailto:[EMAIL PROTECTED]] Sent: Monday, 9 December 2002 12:04 PM To: PHP List Subject: [PHP] Solaris Sorry I know this is off subject but I'm in a bind. I have a problem with my Solaris box booting up. Does I fairly new to all of this so does anybody know a good newsgroup for Solaris?? My problem is I added a file so a program would auto load. I added the file to etc/rc2.d Now this program loads perfect but continues to run and the rest of the O/S can't load. How can I access that director to delete the file?? Thanks for any help Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Solaris 8 + php 4.2.1 setup problem
I am trying to get PHP 4.2.1 installed on Solaris 8 with apache 1.3.22. It installed ok, but when I restart apache I get the follow error in my error_log file. /usr/local/apache/logs/error_log [Thu Jul 11 13:13:11 2002] [notice] Apache/1.3.22 (Unix) PHP/4.2.1 configured -- resuming normal operations [Thu Jul 11 13:13:11 2002] [notice] Accept mutex: fcntl (Default: fcntl) [Thu Jul 11 13:13:11 2002] [alert] Child 20902 returned a Fatal error... Any ideas of what to try next. Thanks, Mark. _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Solaris 2.6 make problem - php_network.h:47: parse error before ` socklen_t'
I´m using [EMAIL PROTECTED] since php-install seems dead :-) Hi, I am using: * SunOS wcsw707 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-60 * php-4.1.1.tar.gz * apache_1.3.23 I am trying to use DSO in apache. I have done: ./configure --prefix=/home/eraonel/apache_1.3.23 --enable-module=so make make clean make install That works ok! Then I do in dir. php4.1.1: * ./configure --with-apxs=/home/eraonel/apache_1.3.23/bin/apxs * make clean * make Here is my problem: Making all in main make[1]: Entering directory `/home/eraonel/php-4.1.1/main' make[2]: Entering directory `/home/eraonel/php-4.1.1/main' /bin/sh /home/eraonel/php-4.1.1/libtool --silent --mode=compile gcc -I. -I/home/eraonel/php-4.1.1/main -I/home/eraonel/php-4.1.1/main -I/home/eraonel/php-4.1.1 -I/home/eraonel/apache_1.3.23/include -I/home/eraonel/php-4.1.1/Zend -I/home/eraonel/php-4.1.1/ext/mysql/libmysql -I/home/eraonel/php-4.1.1/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=260 -DUSE_EXPAT -I/home/eraonel/php-4.1.1/TSRM -g -O2 -prefer-pic -c main.c In file included from /home/eraonel/php-4.1.1/ext/standard/fsock.h:32, from /home/eraonel/php-4.1.1/ext/standard/php_standard.h:43, from main.c:52: php_network.h:47: parse error before `socklen_t' make[2]: *** [main.lo] Error 1 make[2]: Leaving directory `/home/eraonel/php-4.1.1/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/eraonel/php-4.1.1/main' make: *** [all-recursive] Error 1 Anyone with a hint? I checked the file php_network.h ( in same directory as main.c) and found the following line: 47 PHPAPI int php_connect_nonb(int sockfd, struct sockaddr *addr, socklen_t addrlen, struct timeval *timeout); //Mikael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Solaris and Apache 2.0 with Tomcat 4.0 and PHP 4.0
Is it possible to compile PHP 4 under Apache 2.0 or Tomcat 4.0 as a standalone server? Nael Mohammad Neomar, Inc. [EMAIL PROTECTED] When Wireless Means Business CONFIDENTIALITY NOTICE: This e-mail may contain confidential information that is legally privileged. Do not read this e-mail if you are not the intended recipient. This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain confidential information that is legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail or by telephone at (415) 403-7300, and destroy the original transmission and its attachments without reading or saving in any manner. Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Solaris/Apache/PHP load problem
Hopefully the last hill to climb in our first Solaris installation - Apache cannot load a module: bash-2.03# /usr/apache/bin/apachectl start Syntax error on line 244 of /etc/apache/httpd.conf: Cannot load /web/libexec/libphp4.so into server: ld.so.1: /usr/apache/bin/httpd: fatal: /web/libexec/libphp4.so: open failed: No such file or directory /usr/apache/bin/apachectl start: httpd could not be started Files are there where the error messages says, but obviousely they cannot be loaded. User 'root', group 'bin', permissions read/write/execute for all. Is this a known problem with a known fix? TIA, Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Solaris and libtool
Is anyone here framiliar with Solaris/libtool issue's? thanks, evan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Solaris with 100 VHosts -- death
I'm seeing various posts to mailing lists in the past on this subject, but there doesn't appear to be a fix. I'd love it if one of you can help out. We're running PHP 4.0.0 and Apache 1.3.12 on Solaris 7. PHP runs fine with 99 VirtualHosts, but when we add our 100th, every site on the server spits out the following error: Warning: Failed opening '/usr/local/apache/htdocs/t/www.the-url.com/htdocs/index.php' for inclusion (include_path='') in Unknown on line 0 This is regardless of whether the site uses PHP or not. Thanks, Dan Debertin -- ++ Unix is the worst operating system, except for all others. ++ Dan Debertin ++ Senior Systems Administrator ++ Bitstream Underground, LLC ++ [EMAIL PROTECTED] ++ (612)321-9290 x108 ++ GPG Fingerprint: 0BC5 F4D6 649F D0C8 D1A7 CAE4 BEF4 0A5C 300D 2387 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]