php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67234 Installation of YAF fails.
Submitted: 2014-05-08 11:50 UTC Modified: 2018-08-05 20:43 UTC
From: solitudity3 at gmail dot com Assigned: petk (profile)
Status: Closed Package: yaf (PECL)
PHP Version: 5.4.28 OS: Ubuntu 14.04
Private report: No CVE-ID: None
 [2014-05-08 11:50 UTC] solitudity3 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/yaf.installation
---


The installation fails in Ubuntu 14.04. I tried the commands in terminal, 
using-->>>> pecl install yaf

------------------------------------
compilation terminated.
make: *** [yaf_router.lo] Error 1
ERROR: `make' failed
----------------------



And while using-->>> 
> sudo add-apt-repository ppa:mikespook/php5-yaf
> sudo apt-get update

------------------------------
 Failed to fetch http://ppa.launchpad.net/mikespook/php5-yaf/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/mikespook/php5-yaf/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found
-----------------------------

and while using-->>>
> sudo apt-get install php5-yaf

------------------------------
E: Unable to locate package php5-yaf
-----------------------------




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-08 12:51 UTC] tyrael@php.net
-Assigned To: +Assigned To: laruence
 [2014-05-08 15:12 UTC] laruence@php.net
what does making error says?
 [2014-05-08 15:54 UTC] solitudity3 at gmail dot com
This is the full commands that run.

-----------------------------------------------
root@#### pecl install yaf
downloading yaf-2.2.9.tgz ...
Starting to download yaf-2.2.9.tgz (95,034 bytes)
.....................done: 95,034 bytes
56 source files, building
running: phpize
Configuring for:
PHP Api Version:         20121113
Zend Module Api No:      20121212
Zend Extension Api No:   220121212
building in /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9
running: /tmp/pear/temp/yaf/configure
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib/php5/20121212
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable yaf support... yes, shared
checking PHP version... 5.5.9, ok
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) nawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf.c -o yaf.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf.c  -fPIC -DPIC -o .libs/yaf.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_application.c -o yaf_application.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_application.c  -fPIC -DPIC -o .libs/yaf_application.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_bootstrap.c -o yaf_bootstrap.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_bootstrap.c  -fPIC -DPIC -o .libs/yaf_bootstrap.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_dispatcher.c -o yaf_dispatcher.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_dispatcher.c  -fPIC -DPIC -o .libs/yaf_dispatcher.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_exception.c -o yaf_exception.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_exception.c  -fPIC -DPIC -o .libs/yaf_exception.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_config.c -o yaf_config.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_config.c  -fPIC -DPIC -o .libs/yaf_config.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_request.c -o yaf_request.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_request.c  -fPIC -DPIC -o .libs/yaf_request.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_response.c -o yaf_response.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_response.c  -fPIC -DPIC -o .libs/yaf_response.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_view.c -o yaf_view.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_view.c  -fPIC -DPIC -o .libs/yaf_view.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_controller.c -o yaf_controller.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_controller.c  -fPIC -DPIC -o .libs/yaf_controller.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_action.c -o yaf_action.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_action.c  -fPIC -DPIC -o .libs/yaf_action.o
/bin/bash /tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/libtool --mode=compile cc  -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/yaf/yaf_router.c -o yaf_router.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/yaf -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/include -I/tmp/pear/temp/pear-build-rootp1Fo2F/yaf-2.2.9/main -I/tmp/pear/temp/yaf -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaf/yaf_router.c  -fPIC -DPIC -o .libs/yaf_router.o
In file included from /tmp/pear/temp/yaf/yaf_router.c:28:0:
/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory
 #include "pcre.h"
                  ^
compilation terminated.
make: *** [yaf_router.lo] Error 1
ERROR: `make' failed

---------------------------------------------


Sorry for the chunky words but i don't catch it all. Also i think that last line which has "^" and also "No such file or directory" error. 

Please help.
 [2014-05-09 11:03 UTC] laruence@php.net
-Status: Assigned +Status: Feedback
 [2014-05-09 11:03 UTC] laruence@php.net
you need to install pcre_devel package first :)

thanks
 [2014-05-09 11:10 UTC] solitudity3 at gmail dot com
you mean this command to run in terminal
root@#### sudo apt-get install pcre_devel

----------------------------
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package pcre_devel
-----------------------------

It says package cannot be located ! :/ :(
 [2014-05-11 15:25 UTC] laruence@php.net
how about apt-get install libpcre libpcre-dev
 [2014-05-11 15:53 UTC] solitudity3 at gmail dot com
-Status: Feedback +Status: Assigned
 [2014-05-11 15:53 UTC] solitudity3 at gmail dot com
Still it fails: :(

May its not supported in ubuntu 14.04, i mean there isn't a release for 14.04.

anil@### sudo apt-get install libpcre libpcre-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libpcre
E: Unable to locate package libpcre-dev
 [2014-05-12 15:48 UTC] laruence@php.net
please use apt-** search for some thing like libpcre libpcre3 ....
 [2014-05-24 04:07 UTC] sobak@php.net
-Type: Documentation Problem +Type: Bug
 [2017-10-24 08:11 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: laruence +Assigned To:
 [2018-08-05 20:43 UTC] petk@php.net
-Status: Open +Status: Closed -Package: Compile Failure +Package: yaf -Assigned To: +Assigned To: petk
 [2018-08-05 20:43 UTC] petk@php.net
Hello, I've tested the installation of Yaf using pecl on a newer Ubuntu version 18.04 and it seems to be working ok:
  sudo apt install php php-dev
  pecl install yaf

It most likely the php-dev package was not fully present (the above missing file is part of the php pcre extension). In case this still repeats, just re-open it. to take a look more into this. Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 12:01:31 2024 UTC