datingvip / multi Goto Github PK
View Code? Open in Web Editor NEWBuild and maintain multiple isolated installations of PHP in multiple configurations
License: GNU Lesser General Public License v3.0
Build and maintain multiple isolated installations of PHP in multiple configurations
License: GNU Lesser General Public License v3.0
Hello Joe,
Have you seen this before? (I know, it's not a Multi problem.)
...
start a multi php build
......
Configuring master zts debug in /home/ubuntu/multi/php-build/master/zts/debug
Making master zts debug in /home/ubuntu/multi/php-build/master/zts/debug
......
then I get a bunch of this:
....
warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
....
It started when I began using Multi on a cloud server. The server OS version is the same as my local OS version, so I thought I might have changed some libraries by accident but I haven't been able to find the cause. I've got a feeling I am using a wrong version of GCC but not sure.
Appreciate any help.
Thanks,
Rick
Per your SO comment: http://stackoverflow.com/questions/23019636/how-to-install-pthreads-on-a-phpfarm-php-installation#comment35201814_23020481
I have tried deleting the /tmp/pear contents, pulling new php-build/.src, moving my multi directory into the home folder (to avoid permissions) and running it as sudo as well.
...Output:
... is this the beginning of it failing?
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
...The installation seems to work:
Installing 5.6 zts debug from /home/ricalsin/multi/php-build/5.6/zts/debug
--2014-04-13 09:08:55-- http://pear.php.net/install-pear-nozlib.phar
Resolving pear.php.net (pear.php.net)... 5.77.39.20
Connecting to pear.php.net (pear.php.net)|5.77.39.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4096124 (3.9M) [text/plain]
Saving to: ‘pear/install-pear-nozlib.phar’
100%[=======================================================================================================================================================>] 4,096,124 212KB/s in 30s
..and this does gets downloaded
2014-04-13 09:09:26 (131 KB/s) - ‘pear/install-pear-nozlib.phar’ saved [4096124/4096124]
... but this is the final result. And strangely, it is trying to install it in the /opt directory which is where I had placed multi originally but had since placed it in /home/ricalsin/multi . When I moved multi from /opt to /home/ricalsin I git pulled a new multi. The command to execute multi was simply 'VERSION=5.6 ./php.multi'
Installing PHPUnit and DBUnit for 5.6 zts debug from PEAR
/home/ricalsin/multi/hooks/default/post.install/001-phpunit.sh: line 3: /opt/php/5.6/zts/debug/bin/pear: No such file or directory
/home/ricalsin/multi/hooks/default/post.install/001-phpunit.sh: line 4: /opt/php/5.6/zts/debug/bin/pear: No such file or directory
/home/ricalsin/multi/hooks/default/post.install/001-phpunit.sh: line 5: /opt/php/5.6/zts/debug/bin/pear: No such file or directory
/home/ricalsin/multi/hooks/default/post.install/001-phpunit.sh: line 6: /opt/php/5.6/zts/debug/bin/pear: No such file or directory
/home/ricalsin/multi/hooks/default/post.install/001-phpunit.sh: line 7: /opt/php/5.6/zts/debug/bin/pear: No such file or directory
/home/ricalsin/multi/hooks/default/post.install/001-phpunit.sh: line 8: /opt/php/5.6/zts/debug/bin/pear: No such file or directory
Installing uopz for 5.6 zts debug from PECL
/home/ricalsin/multi/hooks/default/post.install/002-uopz.sh: line 3: /opt/php/5.6/zts/debug/bin/pecl: No such file or directory
/home/ricalsin/multi/hooks/default/post.install/002-uopz.sh: line 4: /opt/php/5.6/zts/debug/bin/pecl: No such file or directory
Failed to install uopz for 5.6 zts debug from PECL
Joe, If I wanted each build to add a 'pool.d/www.conf' to each etc directory; For ex:
/opt/php/$VERSION/$ZTS/$DBG/etc/pool.d/www.conf
how would you recommend I do that?
(btw: is this where you want this question placed?)
When running with bison 3.0 under ubuntu:
multi output:
configure: WARNING: bison versions supported for regeneration of the Zend/PHP parsers: 2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7 (found: 3.0).
configure: error: bison is required to build PHP/Zend when building a GIT checkout!
temporary solution:
wget http://launchpadlibrarian.net/140087283/libbison-dev_2.7.1.dfsg-1_amd64.deb
wget http://launchpadlibrarian.net/140087282/bison_2.7.1.dfsg-1_amd64.deb
dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb
dpkg -i bison_2.7.1.dfsg-1_amd64.deb
...deleted...
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.