Go Back   Runner > Coding Corner > All Other's

All Other's all other coding ? Apache mods etc

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-28-2021, 01:43 PM
Runner's Avatar
Runner Runner is offline
Administrator
 
Join Date: Nov 2020
Location: Moose Jaw
Posts: 236
Send a message via Skype™ to Runner
Default compiling php error

I've been trying to build SNUFFLEUPAGUS on windows but i Haven't had any luck anyone know if this is possible ?

Code:
Code:
C:\php-sdk\php-dev\vc15\x64\php-7.3.26-src\configure.js(6012,  1) Microsoft JScript runtime error: 'PHP_SNUFFLEUPAGUS' is undefined
This is line 6002-6012

Code:
Code:
configure_module_dirname  =  condense_path(FSO.GetParentFolderName('C:\\php-sdk\\php-dev\\vc15\\x64\\php-7.3.26-src\\ext\\snuffleupagus-master\\config.w32'));
// $Id$
// vim:ft=javascript

// If your extension references something external, use /* ARG_WITH
// ARG_WITH("snuffleupagus", "for snuffleupagus support", "no"); */

// Otherwise, use /* ARG_ENABLE
// ARG_ENABLE("snuffleupagus", "enable snuffleupagus support", "no"); */

if (PHP_SNUFFLEUPAGUS != "no") {
    EXTENSION("snuffleupagus", "snuffleupagus.c", PHP_EXTNAME_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
}
Code:
Code:
C:\php-sdk\php-dev\vc15\x64\php-7.3.26-src
$ configure
PHP Version: 7.3.26

Saving configure options to config.nice.bat
Checking for cl.exe ...  <in default path>
  Detected compiler MSVC15 (Visual C++ 2017)
  Detected 64-bit compiler
Checking for link.exe ...  <in default path>
Checking for nmake.exe ...  <in default path>
Checking for lib.exe ...  <in default path>
Checking for bison.exe ...  <in default path>
  Detected bison version 3.3.2
Checking for sed.exe ...  <in default path>
Checking for re2c.exe ...  <in default path>
  Detected re2c version 0.13.5
Checking for zip.exe ...  <in default path>
Checking for lemon.exe ...  <in default path>
Checking for 7za.exe ...  <in default path>
Checking for mc.exe ...  C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
Checking for mt.exe ...  C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
Enabling multi process build

Build dir: C:\php-sdk\php-dev\vc15\x64\php-7.3.26-src\x64\Release_TS
PHP Core:  php7ts.dll and php7ts.lib

Checking for wspiapi.h ...  <in default path>
Enabling IPv6 support
Enabling SAPI sapi\cgi
Enabling SAPI sapi\cli
Checking for library edit_a.lib;edit.lib ... <in deps path> \lib\edit_a.lib
Checking for editline/readline.h ...  <in deps path> \include
Enabling extension ext\bcmath
Enabling extension ext\calendar
Checking for library oleaut32.lib ... <in LIB path> OleAut32.Lib
Enabling extension ext\com_dotnet
Checking for mscoree.h ...  <not found>
Checking for mscoree.h ...  <not found>
Enabling extension ext\ctype
Enabling extension ext\date
Enabling extension ext\filter
Checking for library libjpeg_a.lib;libjpeg.lib ... <in deps path> \lib\libjpeg_a.lib
Checking for library freetype_a.lib;freetype.lib ... <in deps path> \lib\freetype_a.lib
Checking for ft2build.h ...  <in deps path> \include\freetype2
Checking for library libpng_a.lib;libpng.lib ... <in deps path> \lib\libpng_a.lib
Checking for gd.h ...  ext\gd\libgd
Checking for png.h ...  <in deps path> \include\libpng16
Checking for library libiconv_a.lib;libiconv.lib ... <in deps path> \lib\libiconv_a.lib
Checking for iconv.h ...  <in deps path> \include
Checking for library libXpm_a.lib ... <in deps path> \lib\libxpm_a.lib
Checking for xpm.h ...  <in deps path> \include\X11
Checking for library libwebp_a.lib ... <in deps path> \lib\libwebp_a.lib
Checking for decode.h ...  <in deps path> \include\webp
Checking for encode.h ...  <in deps path> \include\webp
Checking for library User32.lib ... <in LIB path> User32.Lib
Checking for library Gdi32.lib ... <in LIB path> Gdi32.Lib
Enabling extension ext\gd [shared]
Checking for KeccakHash.h ...  ext/hash/sha3/generic64lc
Enabling extension ext\hash
Checking for library libiconv_a.lib ... <in deps path> \lib\libiconv_a.lib
Checking for iconv.h ...  <in deps path> \include
Enabling extension ext\iconv
Enabling extension ext\json
Checking for library ws2_32.lib ... <in LIB path> WS2_32.Lib
Enabling extension ext\mysqlnd
Checking for zlib.h ...  <in deps path> \include
Enabling extension ext\opcache [shared]
Enabling extension ext\pcre
Checking for library edit_a.lib;edit.lib ... <in deps path> \lib\edit_a.lib
Checking for editline/readline.h ...  <in deps path> \include
Enabling extension ext\readline
Enabling extension ext\reflection
Enabling extension ext\session
C:\php-sdk\php-dev\vc15\x64\php-7.3.26-src\configure.js(6012, 1) Microsoft JScript runtime error: 'PHP_SNUFFLEUPAGUS' is
 undefined


C:\php-sdk\php-dev\vc15\x64\php-7.3.26-src
$
Reply With Quote
  #2  
Old 02-04-2021, 01:27 PM
player's Avatar
player player is offline
Junior Member
 
Join Date: Nov 2020
Location: Moose Jaw
Posts: 13
Default

I believe it can only be compiled in Linux type environment. Could be wrong though
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:12 PM.


Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright ©2020 - 2021, Runner
Ad Management plugin by RedTyger