php-install Digest 11 Sep 2002 18:49:07 -0000 Issue 1019

Topics (messages 8399 through 8408):

Installed Win 32 version of PHP 4.2.3
        8399 by: Phillip S. Baker

missing one of the library files needed to run phpifx.dll
        8400 by: Tom Yencer

php 4.2.3 with ldap under sparc solaris 2.7 fails to build - help
        8401 by: Charles Brasted

Problem with configure
        8402 by: Mendorf, Thilo

Re: POST form variables not being sent to destination page
        8403 by: Jeromemalea
        8404 by: Markus Boehmer

PHP Configuration
        8405 by: anzem00

Files uploads
        8406 by: Ana Paula Sabelli

Parse error while compiling
        8407 by: Glen Lee Edwards

configure patch for Solaris
        8408 by: Florian Clever

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Have been running a server site with PHP 4.1.2.
I just went to install a version of PHp on my Win 2K machine using IIS for 
development without a net connection.
Since all they had on the site was version 4.2.3 I installed that.

However when I know run the site I have (MySQL is set up and running 
properly on my machine.
I get a few weird errors.

In a global file I have this simple code.
$curdir = $PHP_SELF;
It gives me the error
Notice: Undefined variable: PHP_SELF in 
C:\Websites\www.mkp.org\nocal\includes\globals.inc on line 76

Since when is $PHP_SELF an undefined variable?
Do I have to declare explicitly now?

Also Have created the following variable from a DB query.
$gl_tshirt = $cent['tshirt'];   //      Does the center have a page for t 
shirts or not?

The value in the DB should just either be yes or no.

I get this error with regards to that.
Notice: Undefined index: tshirt in 
C:\Websites\www.mkp.org\nocal\includes\globals.inc on line 47

What has happened here that I need to know about?

Thanx

Phillip

--- End Message ---
--- Begin Message ---
I am using Xitami as my server.  They have a cgi-bin that you are to install
php4. into.  Everything appears to be there. But When i go to exe. the file
I get an error saying that it is missing one of the library files needed to
run phpifx.dll.  I am using the windows installer on windows me.

Any ideas,

Thank You,
Tom Yencer



--- End Message ---
--- Begin Message ---
I'm trying to build apache-php under sparc-solaris 2.7.  It works
fine until I include --with-ldap=... in the path.  When I do
that I get a pile of complaints about ldap.c and undefined reference
when I try to do a make for apache.

This is the php configure command:
./configure
--with-apache=/import/src/www/sparc2/apache/apache_1.3.26/
--with-mysql=/import/src/www/sparc/mysql/mysql-3.22.32/
--with-imap-ssl=/import/src/www/sparc/imap/imap-2002.RC5/
--with-ldap=/import/src/www/sparc2/ldap/openldap-2.0.25/

(it makes, installs cleanly)

This is the apache configure command.

./configure "--with-layout=Apache" "--prefix=/opt/local/apache/"
"--enable-module=rewrite"
"--enable-module=mime_magic" "--enable-module=env" "--enable-module=proxy"
"--activate-module=src/modules/php4/libphp4.a" 

the final error in the make is below.

Here are the technical details:
php 4.2.3
apache 1.3.26
Sparc Solaris 2.7

This is the error in the apache make.  Thanks for any advice.

gcc  -DSOLARIS2=270 -I/import/src/www/sparc2/php/php-4.2.3 
-I/import/src/www/sparc2/php/php-4.2.3/main 
-I/import/src/www/sparc2/php/php-4.2.3/main 
-I/import/src/www/sparc2/php/php-4.2.3/Zend 
-I/import/src/www/sparc2/php/php-4.2.3/Zend 
-I/import/src/www/sparc2/php/php-4.2.3/TSRM 
-I/import/src/www/sparc2/php/php-4.2.3/TSRM -I/import/src/www/sparc2/php/php-4.2.3 
-DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`    \
      -o httpd buildmark.o modules.o modules/proxy/libproxy.a modules/php4/libphp4.a 
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a  
lib/expat-lite/libexpat.a  -R/usr/ucblib 
-R/opt/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 
-R/import/src/www/sparc/mysql/mysql-3.22.32//lib  -L/usr/ucblib 
-L/opt/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2 
-L/import/src/www/sparc/mysql/mysql-3.22.32//lib -Lmodules/php4 -L../modules/php4 
-L../../modules/php4 -lmodphp4  -lpam  -lmysqlclient -lcrypt -lresolv -lresolv -lm 
-ldl -lsocket  -lsocket -lgcc -lcrypt   -lsocket -lnsl -lpthread
modules/php4/libphp4.a(ldap.o): In function `_close_ldap_link':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:161: undefined reference to 
`ldap_unbind_s'
modules/php4/libphp4.a(ldap.o): In function `_free_ldap_result':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:176: undefined reference to 
`ldap_msgfree'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_connect':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:405: undefined reference to 
`ldap_initialize'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:407: undefined reference to 
`ldap_err2string'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:411: undefined reference to 
`ldap_init'
modules/php4/libphp4.a(ldap.o): In function `_get_lderrno':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:445: undefined reference to 
`ldap_get_option'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_bind':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:495: undefined reference to 
`ldap_bind_s'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:496: undefined reference to 
`ldap_err2string'
modules/php4/libphp4.a(ldap.o): In function `php_set_opts':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:529: undefined reference to 
`ldap_set_option'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:538: undefined reference to 
`ldap_set_option'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:547: undefined reference to 
`ldap_set_option'
modules/php4/libphp4.a(ldap.o): In function `php_ldap_do_search':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:714: undefined reference to 
`ldap_search'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:733: undefined reference to 
`ldap_result'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:763: undefined reference to 
`ldap_search_s'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:778: undefined reference to 
`ldap_err2string'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_count_entries':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:852: undefined reference to 
`ldap_count_entries'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_first_entry':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:871: undefined reference to 
`ldap_first_entry'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_next_entry':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:894: undefined reference to 
`ldap_next_entry'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_get_entries':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:926: undefined reference to 
`ldap_count_entries'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:934: undefined reference to 
`ldap_first_entry'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:943: undefined reference to 
`ldap_first_attribute'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:946: undefined reference to 
`ldap_get_values'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:947: undefined reference to 
`ldap_count_values'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:955: undefined reference to 
`ldap_value_free'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:963: undefined reference to 
`ldap_memfree'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:965: undefined reference to 
`ldap_next_attribute'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:969: undefined reference to 
`ber_free'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:973: undefined reference to 
`ldap_get_dn'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:976: undefined reference to 
`ldap_memfree'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:984: undefined reference to 
`ldap_next_entry'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_first_attribute':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1009: undefined reference to 
`ldap_first_attribute'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1016: undefined reference to 
`ldap_memfree'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_next_attribute':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1040: undefined reference to 
`ldap_next_attribute'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1047: undefined reference to 
`ldap_memfree'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_get_attributes':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1076: undefined reference to 
`ldap_first_attribute'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1078: undefined reference to 
`ldap_get_values'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1079: undefined reference to 
`ldap_count_values'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1087: undefined reference to 
`ldap_value_free'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1094: undefined reference to 
`ldap_memfree'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1096: undefined reference to 
`ldap_next_attribute'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1100: undefined reference to 
`ber_free'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_get_values':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1128: undefined reference to 
`ldap_get_values'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1129: undefined reference to 
`ldap_err2string'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1133: undefined reference to 
`ldap_count_values'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1144: undefined reference to 
`ldap_value_free'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_get_values_len':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1170: undefined reference to 
`ldap_get_values_len'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1171: undefined reference to 
`ldap_err2string'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1175: undefined reference to 
`ldap_count_values_len'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1186: undefined reference to 
`ldap_value_free_len'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_get_dn':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1207: undefined reference to 
`ldap_get_dn'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1211: undefined reference to 
`ldap_memfree'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_explode_dn':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1236: undefined reference to 
`ldap_explode_dn'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1251: undefined reference to 
`ldap_value_free'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_dn2ufn':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1268: undefined reference to 
`ldap_dn2ufn'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1273: undefined reference to 
`ldap_memfree'
modules/php4/libphp4.a(ldap.o): In function `php_ldap_do_modify':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1380: undefined reference to 
`ldap_add_s'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1381: undefined reference to 
`ldap_perror'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1386: undefined reference to 
`ldap_modify_s'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_delete':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1460: undefined reference to 
`ldap_delete_s'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1461: undefined reference to 
`ldap_perror'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_err2str':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1497: undefined reference to 
`ldap_err2string'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_error':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1517: undefined reference to 
`ldap_err2string'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_compare':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1544: undefined reference to 
`ldap_compare_s'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1556: undefined reference to 
`ldap_err2string'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_sort':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1583: undefined reference to 
`ldap_sort_entries'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1584: undefined reference to 
`ldap_err2string'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_get_option':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1623: undefined reference to 
`ldap_get_option'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1637: undefined reference to 
`ldap_get_option'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1642: undefined reference to 
`ldap_memfree'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_set_option':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1695: undefined reference to 
`ldap_set_option'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1776: undefined reference to 
`ldap_set_option'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_parse_result':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1813: undefined reference to 
`ldap_parse_result'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1820: undefined reference to 
`ldap_err2string'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1833: undefined reference to 
`ldap_value_free'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1834: undefined reference to 
`ldap_memfree'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1835: undefined reference to 
`ldap_memfree'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1844: undefined reference to 
`ldap_value_free'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1852: undefined reference to 
`ldap_memfree'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1860: undefined reference to 
`ldap_memfree'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_first_reference':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1883: undefined reference to 
`ldap_first_reference'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_next_reference':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1906: undefined reference to 
`ldap_next_reference'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_rename':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:1977: undefined reference to 
`ldap_rename_s'
modules/php4/libphp4.a(ldap.o): In function `zif_ldap_start_tls':
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:2009: undefined reference to 
`ldap_start_tls_s'
/import/src/www/sparc2/php/php-4.2.3/ext/ldap/ldap.c:2010: undefined reference to 
`ldap_err2string'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/import/src/www/sparc2/apache/apache_1.3.26/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/import/src/www/sparc2/apache/apache_1.3.26'
make: *** [build] Error 2



--- End Message ---
--- Begin Message ---
> Hello,
> i tried to install PHP-4.0.5 (PHP-4.2.2) on OS/390 UNIX System Services!
> Here are my steps:
> 0. copy zipped file to /usr/local/php
> 1. gunzip file.tar.gz
> 2. pax -rf tarfile 
> 3. cd php-4.0.5
> 4. autoconf 
>       - response of autoconf:
>               configure.in:530: warning: AC_TRY_RUN called without default to allow 
>cross compiling
>               ext/imap/config.m4:168: warning: AC_TRY_RUN called without default to 
>allow cross compiling
>               ext/qtdom/config.m4:34: AC_PROG_CXXCPP was called before AC_PROG_CXX
>               ext/session/config.m4:30: warning: AC_TRY_RUN called without default 
>to allow cross compiling
>               ext/session/config.m4:31: warning: AC_TRY_RUN called without default 
>to allow cross compiling
>               ext/xml/config.m4:8: warning: AC_TRY_RUN called without default to 
>allow cross compiling
> 
> 5. 
> export CFLAGS="-O -DIS_EBCDIC_HOST -D_ALL_SOURCE "
> export RANLIB=echo
> export LD=echo
> LDFLAGS=-Wl,EDIT=NO ./configure --prefix=/usr/local/php ----enable-debug 
>--disable-pear
> --disable-posix --with-regex=system --with-apache=/usr/local/apache
> --without-mysql 
> 
> this said:
>                      *** ATTENTION ***                            |
> |                                                                    |
> | Something is likely to be messed up here, because the configure    |
> | script was not able to detect a simple feature on your platform.   |
> | This is often caused by incorrect configuration parameters. Please |
> | see the file debug.log for error messages.                         |
> |                                                                    |
> | If you are unable to fix this, send the file debug.log to the      |
> | [EMAIL PROTECTED] mailing list and include appropiate      |
> | information about your setup.                    
> 
> you can find the files  debug.log,config.log configure .... at php-conf.zip
> 
> Thanks for your help;
> 
> Thilo Mendorf
>            
> Thilo Mendorf
> Mainframe Hard und Software
> 
> T-Systems CSM GmbH
> Team MF9 
> SCZ West
> Europark Fichtenhain B10
> 47807 Krefeld
> 
> Tel: 02151 357 4355
> Fax: 02151 3660 6120
> 
> 
> 
--- End Message ---
--- Begin Message ---
I'm also having this problem with posted vars.
Win 98
apache 1.3.2
php 4.2.2
signaled by someone in the bugs list :
http://bugs.php.net/bug.php?id=18765
haven't found any solution yet.


--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Am Montag, 09.09.02 um 18:24 Uhr schrieb Jeromemalea:

> I'm also having this problem with posted vars.
> Win 98
> apache 1.3.2
> php 4.2.2
> signaled by someone in the bugs list :
> http://bugs.php.net/bug.php?id=18765
> haven't found any solution yet.
>
>

Hi, I have a question, have you set "REGISTER_GLOBAL_VARS" in the 
php.ini to On????

Greetings
Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (Darwin)

iD8DBQE9fzvMjWKawBsdyHMRAvzFAJ9nkvTmuSd9mEHrUpdy8kh+XYUxeACgt3MR
X6kFYWP6V3d+6OXfDjem9cA=
=NTvX
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
 
Hello!
My name is Aleks.
I am trying to use php4.2.2 with iis5.1 and Visual Interdev 6.0 on the Windows XP 
Professional.
Can you help me configure IIS, Visual Interdev6.0 to work with php4.
When I try to view test page in the IE 6.0 nothing happend. I think that problems are 
in the configuration issues for IIS and php itself.
Where can I found nessecery instructions to achieve my goal in case if you cannot help 
me?
Thank you very much.
Aleks.

Sincerely,
Aleksandr Zemkov
Phone: (770)935-1838
E_Mail: [EMAIL PROTECTED] or
             [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
I have problems with the files uploads, I get the file in the directory, but, for 
example, if I uploads a .doc file 36K, i get a file of 3,25k.
I have recompiled PHP, there´s no errors in the logs, but i have an error in apache log

request failed: erroneous characters after protocol string: "some part of the text"

or:

Invalid method in request

What can be wrong with apache?
May someone help me?

TIA
--- End Message ---
--- Begin Message ---
I'm getting a parse error while trying to compile php (any release).  It 
appears to be related to IMAP, and occurs when PHP includes unix.h, a 
file from the U of Washington's IMAP server.  Is there a known 
workaround for this?  When I comment out the line # Include <unix.h> in 
Zend/zend.h and main/php.h it compiles fine.  

What IMAP server works best with PHP?  What's likely to go wrong if I 
use it without including unix.h?

Running Linux, trying to install PHP 4.2.3 as a module for 
Apache-2.0.40.

Glen


--- End Message ---
--- Begin Message ---
Hi,

we have installed PHP under Solaris with Apache 2, Oci8, XSLT (with JS
multithreaded) etc. (configure line follows further down).
However we had to repeadetly make a one line change to the "configure" file.
This identical change was made for PHP 4.2.2 and 4.2.3. (This change so far
has only been necessary under Solaris and not Linux).

The diff of the our change follows. Obviously our change is a massive hack.

Could this patch be applied to PHP or are we doing something else wrong?

diff -u configure.php configure.php.orig
--- configure.php   Tue Aug  6 16:14:20 2002
+++ configure.php.orig      Sun Jul 21 05:56:20 2002
@@ -66529,11 +66529,7 @@
 JS_GetRuntime()
 ; return 0; }
 EOF
-###verinform: redefine to include -G
-ac_link='${CC-cc} -G -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
 if { (eval echo configure:66533: \"$ac_link\") 1>&5; (eval $ac_link)
2>&5; } && test -s conftest${ac_exeext}; then
-###verinform: now put it back like it was:
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else


Configure line:
configure:
    rm config.cache
    rm debug.log
    make clean
    ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
    --with-iconv=/usr/local/lib \
    --with-gd=/usr/local \
    --with-jpeg-dir=/usr/local \
    --with-freetype-dir=/usr/local \
    --with-xpm-dir=/usr/local \
    --with-png-dir=/usr/local \
    --with-zlib \
    --enable-trans--sid \
    --enable-track-vars \
    --enable-xslt \
    --with-xslt-sablot=/usr/local/src/Sablot-0.95 \
    --with-expat-dir=/usr/local \
    --with-sablot-errors-descriptive \
    --with-zlib \
    --with-config-file-path=/etc \
    --disable-debug \
    --without-mysql \
    --with-oci8=/usr/local/oracle/ora32bit \
    --with-sablot-js=/usr/local \
    --with-tsrm-pthreads \
    --enable-sigchild

PS: Credit for this goes to Dan Damon.

thank you very much,
Florian Clever

Software Architect
Verinform
http://www.verinform.com/

--- End Message ---

Reply via email to