Bug #74471 [Com]: Build doesn't recognize --with-prefix option on Windows 10

From: Date: Tue, 01 Aug 2017 02:36:34 +0000
Subject: Bug #74471 [Com]: Build doesn't recognize --with-prefix option on Windows 10
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210441@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 Comment by: joseluisbz at gmail dot com Reported by: joseluisbz at gmail dot com Summary: Build doesn't recognize --with-prefix option on Windows 10 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: Thank you for your answer... Sorry But, I'm confused. cscript /nologo configure.js --help --with-prefix where PHP will be installed --enable-object-out-dir Alternate location for binary objects during build --with-php-build Path to where you extracted the development libraries (http://wiki.php.net/internals/windows/libs). Assumes that it is a sibling of this source dir (..\deps) if not specified I'm telling the development libraries are located on c:\Sources\deps-7.1-vc14-x64\deps\, the intermediate build files c:\Sources\php-7.1.3-src\out\, and FINAL binary files put on c:\Custom\php\ According to my post, What changes I need to do? because I have "--enable-object-out-dir" option defined like c:\Sources\php-7.1.3-src\out\`... If I want to use (only output files to be used and not intermediate files during build process), I need to remove --enable-object-out-dir from my command? Please, put the right sentence: Thank you in advance Previous Comments: ------------------------------------------------------------------------ [2017-04-22 16:49:51] ab@php.net 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. ------------------------------------------------------------------------ [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

« previous php.bugs (#210441) next »