GithubHelp home page GithubHelp logo

itxtech / php-build-scripts Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 10.0 29 KB

Scripts used to compile PHP binaries for SimpleFramework

Home Page: https://itxtech.org/

License: MIT License

Shell 100.00%

php-build-scripts's People

Contributors

dktapps avatar ishitatsuyuki avatar milkice233 avatar peratx avatar thenewherobrinex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

php-build-scripts's Issues

Thanks Jenkins.sh...

Really thanks. Jenkins.sh is broken my server.
Apache, MySQL,and all server apps broken because script use rm -rf
Thanks.

Base address marks unusable memory region

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

Openssl support for linux (compile.sh) ?

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 :)

Error

Hello !

I have this error :

Curl/TAR/gcc are installed.

`## ----------- ##

Core tests.

-----------

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 !

Weird issue

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

make failed

after the yaml installation thing it says make failed

Other error

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 Seeconfig.log' for more details

Pls help

Error

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#

Issue when compile

Hi,

I wanted to do the update but when I compile, it says this and I don't know why:

Error on Console:

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

It dont work at all !!!!!!

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)

Can't exec script :/

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.

Not work Linux

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 Seeconfig.log' for more details

PHP Update

Now the latest PHP version is 7.0.8 , it is successful?

Question

I have built PHP binary for Linux by your scripts.

  1. I have some discomfort with the console. When I type command appears "Genisys>" line. Screenshot
  2. Now CTRL+C causes force stoping. But after server restart, RakLib works fine. Previously, it was the equivalent of the "stop" command.
  3. Not sure that it matters, but after stopping said "zend_mm_heap corrupted"

Unable to compile php7

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 tolibiconv_close'
ext/iconv/.libs/iconv.o: In function _php_iconv_strlen': /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:755: undefined reference tolibiconv_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 tolibiconv_close'
ext/iconv/.libs/iconv.o: In function _php_iconv_appendl': /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:474: undefined reference tolibiconv'
/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 tolibiconv_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 tolibiconv_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 tolibiconv'
/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 tolibiconv_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 tolibiconv_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 tolibiconv'
/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 tolibiconv_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 tolibiconv'
/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 tolibiconv'
ext/iconv/.libs/iconv.o: In function php_iconv_string': /root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:578: undefined reference tolibiconv_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 tolibiconv'
/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 tolibiconv'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:1145: undefined reference to libiconv_close' ext/iconv/.libs/iconv.o: In functionphp_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 tolibiconv'
/root/Genisys/php-build-scripts/work/ext/iconv/iconv.c:2629: undefined reference to libiconv' ext/iconv/.libs/iconv.o: In functionphp_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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.