Package Details: php56-memcache 3.0.8-5

Git Clone URL: https://aur.archlinux.org/php56-memcache.git (read-only, click to copy)
Package Base: php56-memcache
Description: Memcache module for php56
Upstream URL: https://pecl.php.net/package/memcache
Keywords: memcache php56
Licenses: PHP
Provides: php-memcache
Submitter: foxxx0
Maintainer: None
Last Packager: tjbp
Votes: 1
Popularity: 0.000000
First Submitted: 2016-01-14 23:08 (UTC)
Last Updated: 2019-10-17 17:42 (UTC)

Dependencies (2)

Required by (3)

Sources (1)

Latest Comments

felixonmars commented on 2018-07-19 06:12 (UTC)

Please add git as makedepends, thanks!

foxxx0 commented on 2017-01-26 19:36 (UTC)

Ah sorry my bad, I thought that was fixed already. Just pushed an updated PKGBUILD which should build just fine.

messju commented on 2017-01-26 17:33 (UTC)

Ah, now I see, this has already been discussed here. Sorry. So adding the space to correctly seperate the option -std=gnu89 fixes it. Would be great if someone could add this to the upstream PKGBUILD.

messju commented on 2017-01-26 17:29 (UTC)

Hi! When building on x64 i get an error: configure:2783: error: in `/tmp/yaourt-tmp-roman/aur-php56-memcache/src/memcache-3.0.8': configure:2785: error: C compiler cannot create executables config.log says: configure:2736: cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong-std=gnu89 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5 cc: error: unrecognized command line option '-fstack-protector-strong-std=gnu89'; did you mean '-fstack-protector-strong'? When i remove the line "CFLAGS+='-std=gnu89'" from PKGBUILD everything compiles and works fine. I don't know if that is the fix or if CFLAGS should replaced by something else that my gcc-6.3.1 understands.

lexikon commented on 2016-10-18 17:10 (UTC) (edited on 2016-10-18 17:16 (UTC) by lexikon)

I have error ==> Запускается build()... Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cc... cc checking whether the C compiler works... no configure: error: in `/tmp/yaourt-tmp-roman/aur-php56-memcache/src/memcache-3.0.8': configure: error: C compiler cannot create executables See `config.log' for more details ----------------------- configure:2694: $? = 0 configure:2683: cc -v >&5 Using built-in specs. COLLECT_GCC=cc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc-multilib/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release Thread model: posix gcc version 6.2.1 20160830 (GCC) configure:2694: $? = 0 configure:2683: cc -V >&5 cc: error: unrecognized command line option '-V' cc: fatal error: no input files compilation terminated. configure:2694: $? = 1 configure:2683: cc -qversion >&5 cc: error: unrecognized command line option '-qversion'; did you mean '--version'? cc: fatal error: no input files compilation terminated. configure:2694: $? = 1 configure:2714: checking whether the C compiler works configure:2736: cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong-std=gnu89 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5 cc: error: unrecognized command line option '-fstack-protector-strong-std=gnu89'; did you mean '-fstack-protector-strong'? configure:2740: $? = 1 configure:2778: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2783: error: in `/tmp/yaourt-tmp-roman/aur-php56-memcache/src/memcache-3.0.8': configure:2785: error: C compiler cannot create executables See `config.log' for more details ----------------------- How I can fix it?

dvsum0 commented on 2016-02-02 16:58 (UTC)

Still experiencing the problem. I tried adding a space before the -std=gnu89, so the line looks like this: CFLAGS+=' -std=gnu89' Which fixes the compiling issue too.

foxxx0 commented on 2016-01-21 10:28 (UTC)

That should be fixed already, as I've included the CFLAGS with '+' and not '+='. Just like asphytotalxtc suggested.

dvsum0 commented on 2016-01-21 10:14 (UTC)

I had the same issue as asphytotalxtc, and attempted to update the package. Unfortunately i started getting the following error: configure: error: C compiler cannot create executables From the config log: cc: error: unrecognized command line option '-fstack-protector-strong-std=gnu89' After changing: CFLAGS+='-std=gnu89' To: CFLAGS='-std=gnu89' The problem went away, also the original problem.

foxxx0 commented on 2016-01-20 23:11 (UTC)

thanks for the report, I've included the CFLAGS and updated this package.

asphytotalxtc commented on 2016-01-19 13:13 (UTC) (edited on 2016-01-19 14:01 (UTC) by asphytotalxtc)

After building this module, I'm seeing the following in the error log and the request fails. /usr/bin/httpd: symbol lookup error: /usr/lib/php56/modules/memcache.so: undefined symbol: mmc_queue_pop *Update* Adding CFLAGS='-std=gnu89' to the pkgbuild seems to resolve this issue. --dan