Hola, soy de instalar GD de PHP en mi sistema OS X, que es BSD Unix o lo que sea...Tengo una guía fácil de seguir en esta ubicación:
http://www.stepwise.com/Articles/Workbe ... 12.01.htmlIm intentando instalar las bibliotecas JPEG que necesito, pero no se complie en mi sistema. Im no seguro qué más necesito. Please advise. Aquí está el código de la ventana de terminal cuando corro "compilar":
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E -traditional-cpp
checking for function prototypes... yes
checking for stddef.h... no
checking for stdlib.h... no
checking for string.h... no
checking for size_t... not ANSI, perhaps it is in sys/types.h
checking for sys/types.h... no
no
Type size_t is not defined in any of the usual places.
Try putting "typedef unsigned int size_t;" in jconfig.h.
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... no
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
[meowith:/build-gd/jpeg-6b] chocky% make
gcc -O2 -I. -c -o jcapimin.o jcapimin.c
jinclude.h:46: header file 'stdio.h' not found
jinclude.h:60: header file 'strings.h' not found
jpeglib.h:715: undefined type, found `size_t'
jpeglib.h:727: undefined type, found `size_t'
jpeglib.h:758: undefined type, found `size_t'
jpeglib.h:760: undefined type, found `size_t'
jpeglib.h:900: undefined type, found `size_t'
jpeglib.h:902: undefined type, found `size_t'
jpeglib.h:910: undefined type, found `FILE'
jpeglib.h:911: undefined type, found `FILE'
jpegint.h:378: undefined type, found `size_t'
jcapimin.c:30: undefined type, found `size_t'
jcapimin.c:38: illegal statement, missing `)' after `)'
jcapimin.c:51: illegal function call, found `sizeof'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make: *** [jcapimin.o] Error 1
- checking for gcc... gcc
- checking whether the C compiler (gcc ) works... yes
- checking whether the C compiler (gcc ) is a cross-compiler... no
- checking whether we are using GNU C... yes
- checking how to run the C preprocessor... gcc -E -traditional-cpp
- checking for function prototypes... yes
- checking for stddef.h... no
- checking for stdlib.h... no
- checking for string.h... no
- checking for size_t... not ANSI, perhaps it is in sys/types.h
- checking for sys/types.h... no
- no
- Type size_t is not defined in any of the usual places.
- Try putting "typedef unsigned int size_t;" in jconfig.h.
- checking for type unsigned char... yes
- checking for type unsigned short... yes
- checking for type void... yes
- checking for working const... yes
- checking for inline... __inline__
- checking for broken incomplete types... ok
- checking for short external names... ok
- checking to see if char is signed... yes
- checking to see if right shift is signed... yes
- checking to see if fopen accepts b spec... no
- checking for a BSD compatible install... /usr/bin/install -c
- checking for ranlib... ranlib
- checking libjpeg version number... 62
- creating ./config.status
- creating Makefile
- creating jconfig.h
- [meowith:/build-gd/jpeg-6b] chocky% make
- gcc -O2 -I. -c -o jcapimin.o jcapimin.c
- jinclude.h:46: header file 'stdio.h' not found
- jinclude.h:60: header file 'strings.h' not found
- jpeglib.h:715: undefined type, found `size_t'
- jpeglib.h:727: undefined type, found `size_t'
- jpeglib.h:758: undefined type, found `size_t'
- jpeglib.h:760: undefined type, found `size_t'
- jpeglib.h:900: undefined type, found `size_t'
- jpeglib.h:902: undefined type, found `size_t'
- jpeglib.h:910: undefined type, found `FILE'
- jpeglib.h:911: undefined type, found `FILE'
- jpegint.h:378: undefined type, found `size_t'
- jcapimin.c:30: undefined type, found `size_t'
- jcapimin.c:38: illegal statement, missing `)' after `)'
- jcapimin.c:51: illegal function call, found `sizeof'
- cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
- make: *** [jcapimin.o] Error 1
Me imagino que necesito algo de compilación de las bibliotecas, pero no sé por dónde empezar a buscar o que los que necesito. Cualquier ayuda apreciada.
