all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: guix-devel@gnu.org
Subject: [PATCH 0/2] PHP work in progress
Date: Thu, 29 Jan 2015 16:43:14 -0500	[thread overview]
Message-ID: <87y4ole00d.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (raw)

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	other threads:[~2015-01-29 21:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29 21:43 David Thompson [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4ole00d.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.