patcoll / buildphp Goto Github PK
View Code? Open in Web Editor NEWA customizable build system, based on Rake, that compiles PHP and supported modules. THIS IS LOL OLD YOU SHOULD USE HOMEBREW.
A customizable build system, based on Rake, that compiles PHP and supported modules. THIS IS LOL OLD YOU SHOULD USE HOMEBREW.
This occurred with an Apache2-module build of 5.2.10 and with every module in php_modules
uncommented except for mysqlnd
, which is not included with the 5.2 branch.
I got this error when trying to load the new PHP module from within Apache:
dyld: NSLinkModule() error
dyld: Library not loaded: /buildphp52/lib/libpng12.0.dylib
Referenced from: /buildphp52/php5/lib/php/extensions/no-debug-non-zts-20060613/gd.so
Reason: Incompatible library version: gd.so requires version 40.0.0 or later, but libpng12.0.dylib provides version 19.0.0
Which does not make sense since the gd
extension (libgd 2.0.35) was explicitly built against the latest version of libpng that was available at the time (1.2.39).
Needs to be updated. See here.
MAC USERS: For Mac OS X systems with MAMP installed, it has been requested that we include a MAMP-compatibility mode that compiles PHP against already existing dependencies within the MAMP package. This would involve changing the @prefix
object variable to /Applications/MAMP/Library
for each package that has a MAMP equivalent, and also obtaining the development headers that do not come with a standard binary distribution of MAMP.
A solution to this would be to download the MAMP src
package along with the binary dist, so the dev headers could be extracted from the source packages and copied into appropriate locations inside a new /Applications/MAMP/Library/include
directory.
Anyone have any more insight or ideas on this?
This occurred on two test VMs running Ubuntu 8.04 and Slackware 12.0
To reproduce:
iconv.rb
that refers to libiconv
--with-iconv-dir=#{@prefix}
as a configuration flag in php_config_flags
for the iconv
package.rake php:compile
An error referring to symbols resembling iconv_open
, iconv_close
, etc. will occur. Google searches didn't make a solution very obvious so external referencing of libiconv was disabled for the php
package by default by removing the --with-iconv-dir
flag.
Any insight is welcome.
each package would need to implement a diff to enable removal of files later.
The new PHP-FPM project's code does not require a patch to the PHP source code.
This version of PHP-FPM would have a Rake prerequisite of the php:compile
task and would configure, compile and install as documented at the above site.
To reproduce:
iconv.rb
that refers to libiconv and put iconv
into package_depends_on
for FreeTDS (mssql
)--enable-libiconv
and --with-libiconv-prefix=#{FACTORY['iconv'].prefix}
as configuration flags for the FreeTDS (mssql
) packagerake mssql:compile
An error referring to symbols resembling iconv_open
, iconv_close
, etc. will occur. Google searches didn't make a solution very obvious so external referencing of libiconv was disabled for the mssql
package by default with --disable-libiconv
.
Any insight is welcome.
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.