ID:               37177
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mhalligan at bitpusher dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: SuSE Linux Enterprise 9 SP3
 PHP Version:      5.1.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip


What am I doing wrong?

# ./configure --disable-all --enable-xml --with-libxml-dir=/tmp/libxml
--enable-libxml | grep xml
checking libxml2 install dir... /tmp/libxml
checking for xml2-config path... /tmp/libxml/bin/xml2-config
checking whether libxml build works... yes
checking for xml2-config path... (cached) /tmp/libxml/bin/xml2-config
checking whether libxml build works... (cached) yes




Previous Comments:
------------------------------------------------------------------------

[2006-04-24 09:51:29] mhalligan at bitpusher dot com

Ignore the "../php-build.sh: line 3: --with-openssl: command not
found"
section, that was me cutting and pasting from an older session. It has
absolutely nothing to do with the fact that php's ./configure script
is
rather broken.

------------------------------------------------------------------------

[2006-04-24 09:48:25] mhalligan at bitpusher dot com

No, I am not executing two commands. Like I said "that was a typo". I
made a typographical error. 

The actual script that I am running is : 


./configure \
        --with-openssl \
        --with-apxs=/bitpusher/services/apache/sbin/apxs \
        --with-pear=/bitpusher/services/apache \
        --enable-mbstring \
        --with-pdo-mysql=/bitpusher/services/mysql \
        --with-zlib \
        --with-gd \
        --with-curl \
        --with-libxml-dir=/bitpusher

------------------------------------------------------------------------

[2006-04-24 09:36:18] [EMAIL PROTECTED]

No, it's not a typo on the posting.
This:
../php-build.sh: line 3: --with-openssl: command not found
happens because of the reason I told before.

------------------------------------------------------------------------

[2006-04-24 09:33:20] mhalligan at bitpusher dot com

That was a typo in my posting. However, the real problem lies 
in the fact that ./configure looks for libxml2-config first in 
$PATH, then in the variable set with --with-libxml-dir .. This 
is incorrect behavior.

------------------------------------------------------------------------

[2006-04-24 09:18:07] [EMAIL PROTECTED]

It won't be ignored if you actually pass it to the configure.
Currently because of missing "\" you are executing two commands:
1) ./configure
2) --with-openssl etc...
No bug here.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/37177

-- 
Edit this bug report at http://bugs.php.net/?id=37177&edit=1

Reply via email to