freebsd-ports@freebsd.org

Anton Statutov stant at bestyle.ru
Sat Jun 10 16:36:00 UTC 2006


I found the problem trying to upgrade php5-gd library having already
installed php-5.0.2.

I've tried to manually reinstall /usr/ports/graphics/jpeg without any 
success. I have fresh ports (cvs upped today) and the problem exists 
more then one week.

# make WITH_XPM=yes WITHOUT_X11=yes
===>   php5-extensions-1.0 depends on file: 
/usr/local/include/php/main/php.h - found
===>   php5-extensions-1.0 depends on file: 
/usr/local/lib/php/20041030/bz2.so - found
===>   php5-extensions-1.0 depends on file: 
/usr/local/lib/php/20041030/calendar.so - found
===>   php5-extensions-1.0 depends on file: 
/usr/local/lib/php/20041030/ctype.so - found
===>   php5-extensions-1.0 depends on file: 
/usr/local/lib/php/20041030/curl.so - found
===>   php5-extensions-1.0 depends on file: 
/usr/local/lib/php/20041030/dom.so - found
===>   php5-extensions-1.0 depends on file: 
/usr/local/lib/php/20041030/ftp.so - found
===>   php5-extensions-1.0 depends on file: 
/usr/local/lib/php/20041030/gd.so - not found
===>    Verifying install for /usr/local/lib/php/20041030/gd.so in 
/usr/ports/graphics/php5-gd
===>   php5-gd-5.1.4 depends on executable: phpize - found
===>   php5-gd-5.1.4 depends on file: /usr/local/bin/autoconf259 - found
===>   php5-gd-5.1.4 depends on shared library: freetype.9 - found
===>   php5-gd-5.1.4 depends on shared library: png.5 - found
===>   php5-gd-5.1.4 depends on shared library: jpeg.9 - found
===>   php5-gd-5.1.4 depends on shared library: t1.5 - found
===>  PHPizing for php5-gd-5.1.4
Configuring for:
PHP Api Version:         20031224
Zend Module Api No:      20041030
Zend Extension Api No:   220040412
===>  Configuring for php5-gd-5.1.4
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5.3
checking host system type... i386-portbld-freebsd5.3
checking for i386-portbld-freebsd5.3-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend
checking for PHP extension directory... /usr/local/lib/php/20041030
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for GD support... yes, shared
checking for the location of libjpeg... /usr/local
checking for the location of libpng... /usr/local
checking for the location of libz... /usr
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... /usr/local
checking for T1lib support... /usr/local
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... no
checking for floorf... no
configure: error: libjpeg.(a|so) not found.
===>  Script "configure" failed unexpectedly.
Please report the problem to ale at FreeBSD.org [maintainer] and attach the
"/usr/work/usr/ports/graphics/php5-gd/work/php-5.1.4/ext/gd/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.

################################################################################################################################################

#cat /usr/work/usr/ports/graphics/php5-gd/work/php-5.1.4/ext/gd/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

   $ ./configure --with-gd --with-freetype-dir=/usr/local 
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local 
--with-zlib-dir=/usr --with-php-config=/usr/local/bin/php-config 
--with-t1lib=/usr/local --enable-gd-native-ttf --prefix=/usr/local 
i386-portbld-freebsd5.3

## --------- ##
## Platform. ##
## --------- ##

hostname = pilat.bs
uname -m = i386
uname -r = 5.3-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 5.3-RELEASE #0: Mon Nov 21 19:55:13 MSK 2005 
root at pilat.bs:/usr/src/sys/i386/compile/PILAT

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/libexec/autoconf259
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1509: checking build system type
configure:1527: result: i386-portbld-freebsd5.3
configure:1535: checking host system type
configure:1549: result: i386-portbld-freebsd5.3
configure:1611: checking for i386-portbld-freebsd5.3-gcc
configure:1637: result: cc
configure:1919: checking for C compiler version
configure:1922: cc --version </dev/null >&5
cc (GCC) 3.4.2 [FreeBSD] 20040728
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1925: $? = 0
configure:1927: cc -v </dev/null >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
configure:1930: $? = 0
configure:1932: cc -V </dev/null >&5
cc: `-V' option must have argument
configure:1935: $? = 1
configure:1958: checking for C compiler default output file name
configure:1961: cc -O -pipe    conftest.c  >&5
configure:1964: $? = 0
configure:2010: result: a.out
configure:2015: checking whether the C compiler works
configure:2021: ./a.out
configure:2024: $? = 0
configure:2041: result: yes
configure:2048: checking whether we are cross compiling
configure:2050: result: no
configure:2053: checking for suffix of executables
configure:2055: cc -o conftest -O -pipe    conftest.c  >&5
configure:2058: $? = 0
configure:2083: result:
configure:2089: checking for suffix of object files
configure:2110: cc -c -O -pipe   conftest.c >&5
configure:2113: $? = 0
configure:2135: result: o
configure:2139: checking whether we are using the GNU C compiler
configure:2163: cc -c -O -pipe   conftest.c >&5
configure:2169: $? = 0
configure:2173: test -z
                          || test ! -s conftest.err
configure:2176: $? = 0
configure:2179: test -s conftest.o
configure:2182: $? = 0
configure:2195: result: yes
configure:2201: checking whether cc accepts -g
configure:2222: cc -c -g  conftest.c >&5
configure:2228: $? = 0
configure:2232: test -z
                          || test ! -s conftest.err
configure:2235: $? = 0
configure:2238: test -s conftest.o
configure:2241: $? = 0
configure:2252: result: yes
configure:2269: checking for cc option to accept ANSI C
configure:2339: cc  -c -O -pipe   conftest.c >&5
configure:2345: $? = 0
configure:2349: test -z
                          || test ! -s conftest.err
configure:2352: $? = 0
configure:2355: test -s conftest.o
configure:2358: $? = 0
configure:2376: result: none needed
configure:2394: cc -c -O -pipe   conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2400: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2537: checking whether cc understands -c and -o together
configure:2564: cc -c conftest.c -o conftest.o >&5
configure:2567: $? = 0
configure:2569: cc -c conftest.c -o conftest.o >&5
configure:2572: $? = 0
configure:2611: result: yes
configure:2626: checking if compiler supports -R
configure:2650: cc -o conftest -O -pipe    conftest.c -R /usr/lib  >&5
configure:2656: $? = 0
configure:2660: test -z
                          || test ! -s conftest.err
configure:2663: $? = 0
configure:2666: test -s conftest
configure:2669: $? = 0
configure:2683: result: yes
configure:2791: checking for PHP prefix
configure:2793: result: /usr/local
configure:2795: checking for PHP includes
configure:2797: result: -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM 
-I/usr/local/include/php/Zend
configure:2799: checking for PHP extension directory
configure:2801: result: /usr/local/lib/php/20041030
configure:2848: checking for re2c
configure:2875: result: exit 0;
configure:2887: checking for gawk
configure:2916: result: no
configure:2887: checking for mawk
configure:2916: result: no
configure:2887: checking for nawk
configure:2903: found /usr/bin/nawk
configure:2913: result: nawk
configure:2928: checking for GD support
configure:2971: result: yes, shared
configure:2980: checking for the location of libjpeg
configure:2998: result: /usr/local
configure:3008: checking for the location of libpng
configure:3026: result: /usr/local
configure:3036: checking for the location of libz
configure:3054: result: /usr
configure:3063: checking for the location of libXpm
configure:3081: result: no
configure:3089: checking for FreeType 1.x support
configure:3107: result: no
configure:3115: checking for FreeType 2
configure:3133: result: /usr/local
configure:3141: checking for T1lib support
configure:3159: result: /usr/local
configure:3167: checking whether to enable truetype string function in GD
configure:3184: result: yes
configure:3192: checking whether to enable JIS-mapped Japanese font 
support in GD
configure:3209: result: no
configure:3249: checking for fabsf
configure:3306: cc -o conftest -O -pipe    conftest.c  >&5
conftest.c:33: warning: conflicting types for built-in function 'fabsf'
/var/tmp//cc0UgoGN.o(.text+0x12): In function `main':
: undefined reference to `fabsf'
/var/tmp//cc0UgoGN.o(.data+0x0): undefined reference to `fabsf'
configure:3312: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| /* Define fabsf to an innocuous variant, in case <limits.h> declares 
fabsf.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define fabsf innocuous_fabsf
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char fabsf (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef fabsf
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char fabsf ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_fabsf) || defined (__stub___fabsf)
| choke me
| #else
| char (*f) () = fabsf;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != fabsf;
|   ;
|   return 0;
| }
configure:3337: result: no
configure:3249: checking for floorf
configure:3306: cc -o conftest -O -pipe    conftest.c  >&5
conftest.c:33: warning: conflicting types for built-in function 'floorf'
/var/tmp//ccynuae4.o(.text+0x12): In function `main':
: undefined reference to `floorf'
/var/tmp//ccynuae4.o(.data+0x0): undefined reference to `floorf'
configure:3312: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| /* Define floorf to an innocuous variant, in case <limits.h> declares 
floorf.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define floorf innocuous_floorf
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char floorf (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef floorf
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char floorf ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_floorf) || defined (__stub___floorf)
| choke me
| #else
| char (*f) () = floorf;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != floorf;
|   ;
|   return 0;
| }
configure:3337: result: no
configure:3372: error: libjpeg.(a|so) not found.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_prog_cc_g=yes
ac_cv_env_LDFLAGS_set=
ac_cv_c_compiler_gnu=yes
ac_cv_exeext=
ac_cv_env_CFLAGS_set=set
lt_cv_sys_max_cmd_len=65536
ac_cv_env_CPP_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_func_floorf=no
ac_cv_env_host_alias_set=set
ac_cv_prog_CC=cc
ac_cv_env_build_alias_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_target_alias_set=set
ac_cv_prog_cc_stdc=
ac_cv_host_alias=i386-portbld-freebsd5.3
ac_cv_env_CFLAGS_value='-O -pipe '
ac_cv_env_CC_set=set
ac_cv_build_alias=i386-portbld-freebsd5.3
ac_cv_env_CPPFLAGS_value=
ac_cv_host=i386-portbld-freebsd5.3
ac_cv_env_host_alias_value=i386-portbld-freebsd5.3
ac_cv_prog_AWK=nawk
ac_cv_build=i386-portbld-freebsd5.3
ac_cv_env_build_alias_value=i386-portbld-freebsd5.3
ac_cv_prog_cc_cc_c_o=yes
ac_cv_func_fabsf=no
ac_cv_prog_RE2C='exit 0;'
ac_cv_env_target_alias_value=i386-portbld-freebsd5.3
ac_cv_env_CC_value=cc
php_cv_cc_dashr=yes
ac_cv_env_CPP_set=
ac_cv_objext=o

## ----------------- ##
## Output variables. ##
## ----------------- ##

AWK='nawk'
CC='cc'
CFLAGS='-O -pipe '
CPP=''
CPPFLAGS=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
RE2C='exit 0;'
SHELL='/bin/sh'
STRIP=''
ac_ct_CC=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i386-portbld-freebsd5.3'
build_alias='i386-portbld-freebsd5.3'
build_cpu='i386'
build_os='freebsd5.3'
build_vendor='portbld'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i386-portbld-freebsd5.3'
host_alias='i386-portbld-freebsd5.3'
host_cpu='i386'
host_os='freebsd5.3'
host_vendor='portbld'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='i386-portbld-freebsd5.3'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define USE_GD_IMGSTRTTF 1

configure: exit 1



More information about the freebsd-ports mailing list