unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/2] PHP work in progress
@ 2015-01-29 21:43 David Thompson
  2015-01-29 21:44 ` [PATCH 1/2] gnu: httpd: Add perl input David Thompson
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David Thompson @ 2015-01-29 21:43 UTC (permalink / raw)
  To: guix-devel

This patchset contains a sort-of working PHP package.  Unfortunately,
the build fails in a way that I have been unable to fix when the
'--with-apxs2' configure flag is turned on to build the mod_php Apache
httpd module.

Here is the build output at the point of failure:

    /gnu/store/nx4zd42igyb7ghmv4mxv6ncg8wr7ypa1-bash-4.3.33/bin/bash /tmp/nix-build-php-5.6.3.drv-14/php-5.6.3/libtool --silent --preserve-dup-deps --mode=link /tmp/nix-build-php-5.6.3.drv-14/php-5.6.3/meta_ccld -DPHP_ATOM_INC -I/tmp/nix-build-php-5.6.3.drv-14/php-5.6.3/include -I/tmp/nix-build-php-5.6.3.drv-14/php-5.6.3/main -I/tmp/nix-build-php-5.6.3.drv-14/php-5.6.3 -I/tmp/nix-build-php-5.6.3.drv-14/php-5.6.3/ext/date/lib -I/tmp/nix-build-php-5.6.3.drv-14/php-5.6.3/ext/ereg/regex -I/gnu/store/dng0rvcw4264k0r9fp7618bxsh20bi9v-libxml2-2.9.0/include/libxml2 -I/tmp/nix-build-php-5.6.3.drv-14/php-5.6.3/ext/sqlite3/libsqlite -I/tmp/nix-build-php-5.6.3.drv-14/php-5.6.3/TSRM -I/tmp/nix-build-php-5.6.3.drv-14/php-5.6.3/Zend  -D_REENTRANT  -I/usr/include -g -O2 -fvisibility=hidden -pthread -DZTS   -o ext/opcache/opcache.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/nix-build-php-5.6.3.drv-14/php-5.6.3/modules -avoid-version -module -L/gnu/store/dng0rvcw4264k0r9fp7618bxsh20bi9v-libxml2-2.9.0/lib ext/opcache/ZendAccelerator.lo ext/opcache/zend_accelerator_blacklist.lo ext/opcache/zend_accelerator_debug.lo ext/opcache/zend_accelerator_hash.lo ext/opcache/zend_accelerator_module.lo ext/opcache/zend_persist.lo ext/opcache/zend_persist_calc.lo ext/opcache/zend_shared_alloc.lo ext/opcache/zend_accelerator_util_funcs.lo ext/opcache/shared_alloc_shm.lo ext/opcache/shared_alloc_mmap.lo ext/opcache/shared_alloc_posix.lo ext/opcache/Optimizer/zend_optimizer.lo 
    ld: ext/opcache/.libs/ZendAccelerator.o: relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
    ext/opcache/.libs/ZendAccelerator.o: error adding symbols: Bad value
    collect2: error: ld returned 1 exit status

The first patch contains a simple patch that could be applied right now
that fixes the broken 'apxs' program in httpd.  The second is the
current state of php.

Help wanted!  Thanks!

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-13 13:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29 21:43 [PATCH 0/2] PHP work in progress David Thompson
2015-01-29 21:44 ` [PATCH 1/2] gnu: httpd: Add perl input David Thompson
2015-02-02 21:25   ` Ludovic Courtès
2015-02-03  1:40     ` David Thompson
2015-01-29 21:44 ` [PATCH 2/2] gnu: Add php David Thompson
2015-02-02 21:24 ` [PATCH 0/2] PHP work in progress Ludovic Courtès
2015-02-13 13:59   ` David Thompson

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).