guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] PHP work in progress


From: David Thompson
Subject: [PATCH 0/2] PHP work in progress
Date: Thu, 29 Jan 2015 16:43:14 -0500
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]