Bug #74471 [Opn->Nab]: Build doesn't recognize --with-prefix option on Windows 10
| From: | ab@php.net | Date: | Sat, 22 Apr 2017 16:49:54 +0000 |
| Subject: | Bug #74471 [Opn->Nab]: Build doesn't recognize --with-prefix option on Windows 10 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208718@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74471&edit=1
ID: 74471
Updated by: ab@php.net
Reported by: joseluisbz at gmail dot com
Summary: Build doesn't recognize --with-prefix option on
Windows 10
-Status: Open
+Status: Not a bug
Type: Bug
Package: *Compile Issues
Operating System: Windows 10
PHP Version: 7.1.4
Block user comment: N
Private report: N
New Comment:
Thanks for the report. The option --with-prefix affects the path where the bins are put with
"nmake install". To use a non default intermediate dir for the compilation, use
--enable-object-out-dir.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2017-04-18 22:34:36] joseluisbz at gmail dot com
Description:
------------
Building PHP On Windows 10 doesn't recognize â--with-prefixâ option with Visual
Studio 2017 Community
Test script:
---------------
I can't select PHP 7.1.3...
I have **Visual Studio 2017 Community**.
I was following this posts
https://mage2.pro/t/topic/313 and http://www.kshabazz.net/build-php-on-windows.html
cd /d c:\Sources\php-7.1.3-src\
cscript configure.js --with-prefix=c:\Custom\php\
--with-php-build=c:\Sources\deps-7.1-vc14-x64\deps\ --enable-object-out-dir=out\ --enable-debug-pack
--enable-apache2-4handler --with-curl=static --with-mhash=static --enable-intl --enable-mbstring
--enable-mbregex --with-mcrypt=static --with-openssl=static --with-pgsql
--with-config-file-scan-dir=c:\Custom\php\conf.d\ --enable-exif --enable-pdo --with-pdo-mysql
--enable-soap --with-xmlrpc=static --with-xsl=static --with-mysqli
Why the
--with-prefix=c:\Custom\php\ option doesn't work?
Some clue?
Expected result:
----------------
Instead of Output ... c:\Sources\php-7.1.3-src\out\Release_TS\
I expect the installation on c:\Custom\php\ folder
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74471&edit=1