php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58410 Can not get cairo_wrapper to compile, no description of problem in output
Submitted: 2008-11-10 17:10 UTC Modified: 2013-02-18 00:35 UTC
From: donald dot bauer at chartercom dot com Assigned: hholzgra (profile)
Status: No Feedback Package: cairo_wrapper (PECL)
PHP Version: 5.2.5 OS: Ubuntu 7.10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: donald dot bauer at chartercom dot com
New email:
PHP Version: OS:

 

 [2008-11-10 17:10 UTC] donald dot bauer at chartercom dot com
Description:
------------
PHP Version: 5.2.6
Pear Version: 1.7.1
Ubuntu 7.10 with 2.6.22-14-server Kernel

Using a standard php.ini that comes with the Xampp package at http://www.apachefriends.org/en/xampp-linux.html

When running the command "/opt/lampp/bin/pecl install cairo_wrapper-0.2.4" I get the following output:

downloading cairo_wrapper-0.2.4.tgz ...
Starting to download cairo_wrapper-0.2.4.tgz (36,312 bytes)
..........done: 36,312 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
 1. cairo installation directory? : autodetect

1-1, 'all', 'abort', or Enter to continue:
building in /var/tmp/pear-build-root/cairo_wrapper-0.2.4
running: /tmp/pear/temp/cairo_wrapper/configure --with-cairo
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 gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -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... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /opt/lampp
checking for PHP includes... -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib
checking for PHP extension directory... /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613
checking for PHP installed headers prefix... /opt/lampp/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.12.0 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 cairo_wrapper functions... yes, shared
checking This extension requires the Cairo Vector Graphics Library version 1.2.2
   or above and a working pkg-config installation.... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking how to run the C preprocessor... gcc -E
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 cairo.h usability... yes
checking cairo.h presence... yes
checking for cairo.h... yes
checking PHP version... ok
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) 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

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
ERROR: `/tmp/pear/temp/cairo_wrapper/configure --with-cairo' failed



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-11 13:38 UTC] hholzgra@php.net
Weird, it seems to fail at the very end of the configure script ...

Are there any files left in either

  /var/tmp/pear-build-root/cairo_wrapper-0.2.4

or

  /tmp/pear/temp/cairo_wrapper

after the failure? I'm especially interested in the

  config.log 

file that has the complete progress log of the configure 
script in it, this should show what actually failed within 
the script ...
 [2008-11-12 09:20 UTC] donald dot bauer at chartercom dot com
I checked both directories and there is nothing in either of them.  As for the config.log file, would that be inside of one of those directories, or is it somewhere else I'm not thinking about?
 [2008-11-16 13:44 UTC] hholzgra@php.net
It would have been in either of the two, looks as if pecl removes all temporary installation files even on failed attempts then ... :/

What happens when you try to install manually?

  wget http://pecl.php.net/get/cairo_wrapper-0.2.4.tgz
  tar -zxf cairo_wrapper-0.2.4.tgz
  cd cairo_wrapper-0.2.4
  phpize  
  ./configure --with-cairo

This should be exactly the same steps pecl performs, only the paths being different.
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC