itxtech / php-build-scripts Goto Github PK
View Code? Open in Web Editor NEWScripts used to compile PHP binaries for SimpleFramework
Home Page: https://itxtech.org/
License: MIT License
Scripts used to compile PHP binaries for SimpleFramework
Home Page: https://itxtech.org/
License: MIT License
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
Some ideas how to fix? Centos.
Hi It's me again...Please add opcache.mmap_base = 0x20000000
to get rid of the Base address marks unusable memory region
errors. Unfortunately I do not know the significance of the value 0x20000000
. I can only tell you that this value works to solve the problem (Tried and tested). Can't create PR right now
after the yaml installation thing it says make failed
root@vps:~/php-build-scripts-master# ./linux-build-install.sh
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cc... no
checking for gcc... no
configure: error: in /root/php-build-scripts-master/work': configure: error: no acceptable C compiler found in $PATH See
config.log' for more details
Pls help
Now the latest PHP version is 7.0.8 , it is successful?
I install on ./php
Then i move all to ./bin
What i should do more? :/
There is a new version of pthreads
I have built PHP binary for Linux by your scripts.
Hello !
I have this error :
Curl/TAR/gcc are installed.
`## ----------- ##
configure:3234: checking for grep that handles long lines and -e
configure:3292: result: /bin/grep
configure:3297: checking for egrep
configure:3359: result: /bin/grep -E
configure:3364: checking for a sed that does not truncate output
configure:3418: result: /bin/sed
configure:3528: checking build system type
configure:3542: result: i686-pc-linux-gnu
configure:3562: checking host system type
configure:3575: result: i686-pc-linux-gnu
configure:3595: checking target system type
configure:3608: result: i686-pc-linux-gnu
configure:3783: checking for cc
configure:3799: found /usr/bin/cc
configure:3810: result: cc
configure:3841: checking for C compiler version
configure:3850: cc --version >&5
cc (Debian 4.7.2-5) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3861: $? = 0
configure:3850: cc -v >&5
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.7/lto-wrapper
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5)
configure:3861: $? = 0
configure:3850: cc -V >&5
cc: error: unrecognized command line option '-V'
cc: fatal error: no input files
compilation terminated.
configure:3861: $? = 4
configure:3850: cc -q version >&5
cc: error: unrecognized command line option '-qversion'
cc: fatal error: no input files
compilation terminated.
configure:3861: $? = 4
configure:3881: checking whether the C compiler works
configure:3903: cc conftest.c >&5
/usr/bin/ld: /usr/lib/gcc/i486-linux-gnu/4.7/../../../i386-linux-gnu/crti.o: unrecognized relocation (0x2b) in section .init' /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status configure:3907: $? = 1 configure:3945: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3950: error: in
/home/srv4-hmserv.eu-19134/work':
configure:3952: error: C compiler cannot create executables
See `config.log' for more details
`
Thanks !
I saw the commit for openssl on windows script, but not on compile.sh
I have been trying to build using compile.sh on my debian 3 times, but all doesnt support openssl. Mind to adjust the script to include openssl? Im not good at it, so I will waiting for you to make it. Thank you :)
root@srv2064:/home/mcpe# chmod 0755 compile.sh
root@srv2064:/home/mcpe# ./compile.sh
./compile.sh: line 5: syntax error near unexpected token newline' ./compile.sh: line 5:
'
root@srv2064:/home/mcpe#
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cc... no
checking for gcc... no
configure: error: in /root/php-build-scripts-master/work': configure: error: no acceptable C compiler found in $PATH See
config.log' for more details
CRITICAL] Unable to find the pthreads extension.
[CRITICAL] Please use the installer provided on the homepage.
Really? And dont call me a idiot ! I did exactly how i was told on readme!
So why wont work :( !
(Ik is pthtreads)
ext/iconv/.libs/iconv.o: In function php_iconv_stream_filter_dtor': /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:2557: undefined reference to
libiconv_close'
ext/iconv/.libs/iconv.o: In function _php_iconv_strlen': /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:755: undefined reference to
libiconv_open'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:779: undefined reference to libiconv' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:813: undefined reference to
libiconv_close'
ext/iconv/.libs/iconv.o: In function _php_iconv_appendl': /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:474: undefined reference to
libiconv'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:508: undefined reference to libiconv' ext/iconv/.libs/iconv.o: In function
_php_iconv_mime_decode':
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1505: undefined reference to libiconv_open' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1998: undefined reference to
libiconv_close'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:2001: undefined reference to libiconv_close' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1616: undefined reference to
libiconv_close'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1619: undefined reference to libiconv_open' ext/iconv/.libs/iconv.o: In function
_php_iconv_substr':
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:876: undefined reference to libiconv_open' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:900: undefined reference to
libiconv'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:955: undefined reference to libiconv_close' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:959: undefined reference to
libiconv_close'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:908: undefined reference to libiconv_open' ext/iconv/.libs/iconv.o: In function
_php_iconv_mime_encode':
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1194: undefined reference to libiconv_open' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1208: undefined reference to
libiconv_open'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1326: undefined reference to libiconv' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1278: undefined reference to
libiconv'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1310: undefined reference to libiconv' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1470: undefined reference to
libiconv_close'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1379: undefined reference to libiconv' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1411: undefined reference to
libiconv'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1467: undefined reference to libiconv_close' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1454: undefined reference to
libiconv'
ext/iconv/.libs/iconv.o: In function php_iconv_string': /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:578: undefined reference to
libiconv_open'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:590: undefined reference to libiconv' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:608: undefined reference to
libiconv'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:618: undefined reference to libiconv_close' ext/iconv/.libs/iconv.o: In function
_php_iconv_strpos':
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1003: undefined reference to libiconv_open' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1031: undefined reference to
libiconv'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1145: undefined reference to libiconv_close' ext/iconv/.libs/iconv.o: In function
php_iconv_stream_filter_append_bucket':
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:2708: undefined reference to libiconv' /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:2707: undefined reference to
libiconv'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:2629: undefined reference to libiconv' ext/iconv/.libs/iconv.o: In function
php_iconv_stream_filter_ctor':
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:2583: undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
cURL update!
Really thanks. Jenkins.sh is broken my server.
Apache, MySQL,and all server apps broken because script use rm -rf
Thanks.
Okay, so PHP7.0.9 WAS successfully installed with this, and I can run 'php -r "openssl_verify();"' and it works fine, but not in Genisys..? What am i doing wrongggg lol
Please make a compile script for PHP5, as I haven't found one. :)
I wanted to do the update but when I compile, it says this and I don't know why:
root@localhost:/home/srv4-hmserv.eu-19134# ./linux-build-install.sh
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for cc... cc
checking whether the C compiler works... no
configure: error: in `/home/srv4-hmserv.eu-19134/work':
configure: error: C compiler cannot create executables
See `config.log' for more details
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.