I'm running Ubuntu 14.04 LTS. What do I do? The patch to fix the failed build can be found here: https://bugs.php.net/bug.php?id=58798 [2015-02-26 07:36 UTC] [email protected] -Status: Open +Status: Suspended [2015-02-26 07:36 UTC] [email protected] APD hasn't had a release in 10 I'm trying to run sudo pecl install apd, but I'm getting: downloading apd-1.0.1.tgz ... have a peek here
asked 5 years ago viewed 19409 times active 3 years ago Linked 2 Installing PECL package on Ubuntu — cannot find config.m4 Related 3Error on installing SVN extension with pecl2Error installing Check if you compiled against the correct Apache/PHP version and using the same right now. none needed checking how to run the C preprocessor... Unfortunately, if we try this after we've installed MAMP we'll get an error as the "pear" command can't be found and running "php" will point us to OS X's default version.
no checking whether to enable apd support... In this article, you'll learn how to get them running on the latest version of MAMP (2.x). Starting to download apd-1.0.1.tgz (36,643 bytes) ..........done: 36,643 bytes 15 source files, building running: phpize Cannot find config.m4. There was no configure script or Makefile in the directory.
Now that I'm writing this up I realise I should have read Installation of PECL extensions first, but I missed that at the time. [email protected]:/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1# cd /build/trace [email protected]:/build/trace# ls pprof.15345.0 [email protected]:/build/trace# head pprof.15345.0 #Pprof [APD] v1.0.1 caller=/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1/test.php END_HEADER ! 1 /build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1/test.php & 1 main 2 + 1 1 2 & 2 apd_set_pprof_trace 2 + 2 Encryption? What Is Phpize Starting to download oauth-1.1.0.tgz (44,731 bytes) ............done: 44,731 bytes 6 source files, building running: phpize Cannot find config.m4.
no configure: creating ./config.status config.status: creating config.h config.status: executing libtool commands [email protected]:/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1# make /bin/bash /build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1/libtool --mode=compile cc -I. -I/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1 -DPHP_ATOM_INC -I/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1/include -I/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1/main -I/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1 -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 Does Intel sell CPUs in ribbons? Someone peeled an American flag sticker off of my truck. https://bugs.php.net/bug.php?id=61648 But when I run make or make install, I get several pages of errors, like "/usr/include/php5/Zend/zend_globals_macros.h:37:33: error: 'struct _zend_compiler_globals' has no member named 'extended_info' # define CG(v) (compiler_globals.v)".
no checking for nawk... Pecl Apd Example: /bin/php /pprofp -u Redirect stdout if necessary. I couldn't be bothered figuring out the correct syntax for run-tests.php so I edited the file and changed line 824 from: $test_dirs = array(); To: $test_dirs = array( '.' ); Then If you find them you are done.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module If the command failed with 'phpize: not found' then you need to install php5-dev packageYou can http://serverfault.com/questions/279931/pecl-install-phpize-error Does my 7 segment display need a bypass capacitor? Cannot Find Config.m4. Centos That didn't look good. Cannot Find Config.m4 Cpanel Starting to download apd-1.0.1.tgz (36,643 bytes) ..........done: 36,643 bytes 15 source files, building running: phpize Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module ERROR: `phpize' failed I searched for the error message running: phpize Cannot find config.m4. navigate here Many thanks!!! - Scott If this post helped, click the Like icon! #3 sneader, Feb 7, 2013 bla Registered Joined: Apr 10, 2013 Messages: 2 Likes Received: 0 Trophy Points: for providing its computer software that facilitates the management and configuration of Internet web servers. current community blog chat Server Fault Meta Server Fault your communities Sign up or log It seems to load an run *.phpt files. Cannot Find Autoconf.
no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... Using DSolve with a boundary condition at -Infinity Why "silver-tongued" for someone who is convincing? [email protected]:/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1# ./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... Check This Out I suggest to always create both a call tree and a summary trace.
nikohal12-15-2011, 10:46 AMI get follow error, I thik I need php-devel? /usr/local/php5/bin/phpize -bash: /usr/local/php5/bin/phpize: No such file or directory Regards, Niko H. Install Phpize Mac What's the pun about? I give up on this one.
PECL (PHP Extension Community Library) and PEAR (PHP Extension and Application Repository) both provide access to a large pool of useful PHP add-ons, but using them with MAMP requires you to Make sure that you run '/usr/bin/phpize' in the top level source directory of the module ERROR: `phpize' failed Patches Installer.php.patch (last revision 2012-11-15 12:35 UTC) by paulie4 at gmail dot com) strip checking for ranlib... How To Use Phpize yes checking for sys/types.h...
Start a coup online without the government intervening Polyglot Anagrams Cops' Thread Build me a brick wall! You should find files with a naming scheme of pprof[0-9]*.[0-9] here. Decode them using the pprofp tool from your APD source tarball. this contact form what im missing Powered by vBulletin Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc.
Maybe. Download the MAMP Server components and libraries zip file and make yourself a cup of tea whilst you wait. I don't understand "Make sure that you run '/usr/bin/phpize' in the top level source directory of the module", however. –Anthony Jul 7 '14 at 14:30 add a comment| 2 Answers 2 Thank you for this poster.
It's helped a number of people, which is nice, but it's time to move on. Run
I searched for installing pecl apd ubuntu but that didn't seem to turn up much. no checking if compiler supports -Wl,-rpath,... share|improve this answer answered Apr 11 at 11:58 kenorb 23k9157133 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up Log in to Reply erika rendon on 2012-12-15 [Saturday] at 18:40 said: I am just looking for a simple way to profile my application.
It was a huge file. yes checking for unistd.h... Add the APD call at the top of the script: apd_set_pprof_trace(); Then make some requests and remove the statement again to avoid causing further harm. [email protected]:/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1# phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 [email protected]:/build/buildd/php5-5.3.2/pear-build-download/apd-1.0.1# ls acinclude.m4 apd_summary.c configure missing pprofp aclocal.m4 autom4te.cache configure.in mkinstalldirs README apd_array.c