ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] Bug #16669 Updated: bug ? configure .. with-zlib=path ..
by other posts by this author
Apr 18 2002 10:59PM messages near this date
[PHP-DOC] cvs: phpdoc /cs make_chm_index_cs.html /cs/language operators.xml | [PHP-DOC] Bug #16669 Updated: bug ? configure .. with-zlib=path ..
ID:               16669
 Updated by:       sniper@[...].net
 Reported By:      PLancashire@[...].com
-Status:           Feedback
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: Solaris 2.8
 PHP Version:      4.1.2
 New Comment:

Well..you're the first one who actually has even noticed
that. I can assure you that it is not a bug and it doesn't
need any documentation either. :)

Just use --with-zlib as always, you can ignore the other
setting as it's there only for convinience. 

Difference is that when you use --with-zlib=<dir>  (ie. with the path)
the configure will ONLY look for zlib installation
in that directory. If you use --with-zlib-dir=<dir> , then that
directory will be added to the search path but it doesn't necessarily
need to contain any 'valid' path to zlib
installation, provided that it's found in some 'standard' path.

This was added to fix some issues..but I can't remember now
what those were.. :I

Just use --with-zlib=<dir>  

--Jani



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

[2002-04-18 17:08:28] PLancashire@[...].com

It is easy to miss --with-zlib-dir=<DIR> 
If you do not use this option running configure will give
checking if the location of ZLIB install directory is defined... no

and could then one use the wrong zlib ?

if you just use the --with-zlib=<dir>  then it looks like
the directory is not getting set. At least by the output
from configure.

-pete

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

[2002-04-18 15:09:50] sniper@[...].net

What's the bug here?


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

[2002-04-17 16:44:06] PLancashire@[...].com

change from configuration to documentation issue

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

[2002-04-17 16:17:50] PLancashire@[...].com

delete first line of submission and java version, was preparing for
another submission

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

[2002-04-17 16:16:19] PLancashire@[...].com

with just either one, configure is ok

Solaris Sparc 2.8 Patchkit as of 5/Apr/2002
Gcc 3.0.3 (Sunfreeware)
binutils 2.11.2 (Sunfreeware)
make GNU Make version 3.79.1 (Sunfreeware)
libtool GNU libtool 1.4 (1.920 2001/04/24 23:26:18) (Sunfreeware)
java j2sdk1_3_1_03 (have also tried with stock java1.2)
php 4.1.2
---------------------------------------
./configure --with-zlib=/usr/local 

I spotted in the configure output ..

Configuring extensions
checking if the location of ZLIB install directory is defined... no
checking whether to include ZLIB support... yes

configure help says you can place the directory on --with-zlib

 ./configure --help | grep zlib
  --with-zlib-dir=<DIR>    Define the location of zlib install
directory
  --with-zlib[=DIR]       Include zlib support (requires zlib > =
1.0.9).
                          DIR is the zlib install directory.


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


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











Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved