Hmm..you're working in PHP5, but the earlier error message was for 
header files installed under PHP4, as are your "phpize" and "pecl" 
commands.  php5-pear has "phpize5" and "pecl5".

As to the error message here:  the error actually occurred sometime 
before what you're quoting below.  You would need to look for the real 
error.

Jonas Schnelli wrote:
> still not working..
> -- cut
> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam).
>
> running: make 
> INSTALL_ROOT="/var/tmp/pear-build-root/install-PDO-1.0.3" install
> Installing shared extensions:     
> /var/tmp/pear-build-root/install-PDO-1.0.3/sw/lib/php5/20050922-zts/
> cp: modules/*: No such file or directory
> make: *** [install-modules] Error 1
> ERROR: `make INSTALL_ROOT="/var/tmp/pear-build-root/install-PDO-1.0.3" 
> install' failed
> ---
>
> i've installed php5-dev and php4-dev (work in php5!)
> doesn't work.
>
> any ideas?
> thanks
> -- 
> jonas
>
>
> Am 16.07.2007 um 16:13 schrieb Alexander K. Hansen:
>
>> Ah. You need to install the -dev package for your PHP. (php4-dev, 
>> judging by the filenames)
>>
>>
>> You may also want to set some environment variables to help you here:
>>
>> http://www.finkproject.org/faq/usage-general.php#compile-myself
>>
>> Jonas Schnelli wrote:
>>> check the install terminal output.
>>> i think there are some bugs with pathdefinitions...
>>> i tried to fix it.. but no luck
>>>
>>> ---cut
>>> MacMini-Server:~ jonasschnelli$ sudo pecl install pdo
>>> downloading PDO-1.0.3.tgz ...
>>> Starting to download PDO-1.0.3.tgz (52,613 bytes)
>>> .............done: 52,613 bytes
>>> 12 source files, building
>>> running: phpize
>>> grep: /sw/include/php/main/php.h: No such file or directory
>>> grep: /sw/include/php/Zend/zend_modules.h: No such file or directory
>>> grep: /sw/include/php/Zend/zend_extensions.h: No such file or directory
>>> Configuring for:
>>> PHP Api Version:
>>> Zend Module Api No:
>>> Zend Extension Api No:
>>> building in /var/tmp/pear-build-root/PDO-1.0.3
>>> running: /private/tmp/pear/cache/PDO-1.0.3/configure
>>> checking for grep that handles long lines and -e... /usr/bin/grep
>>> checking for egrep... /usr/bin/grep -E
>>> checking for a sed that does not truncate output... /usr/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 if compiler supports -R... no
>>> checking if compiler supports -Wl,-rpath,... no
>>> checking build system type... i686-apple-darwin8.10.1
>>> checking host system type... i686-apple-darwin8.10.1
>>> checking target system type... i686-apple-darwin8.10.1
>>> checking for PHP prefix... /sw
>>> checking for PHP includes... -I/sw/include/php5 
>>> -I/sw/include/php5/main -I/sw/include/php5/TSRM 
>>> -I/sw/include/php5/Zend -I/sw/include/php5/ext
>>> checking for PHP extension directory... /sw/lib/php5/20050922-zts
>>> checking for PHP installed headers prefix... /sw/include/php5
>>> checking for re2c... no
>>> configure: WARNING: You will need re2c 0.9.11 or later if you want 
>>> to regenerate PHP parsers.
>>> checking for gawk... gawk
>>> checking whether to enable PDO support... yes, shared
>>> checking for ld used by gcc... /usr/bin/ld
>>> checking if the linker (/usr/bin/ld) is GNU ld... no
>>> checking for /usr/bin/ld option to reload object files... -r
>>> checking for BSD-compatible nm... /usr/bin/nm -p
>>> checking whether ln -s works... yes
>>> checking how to recognise dependent libraries... pass_all
>>> 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 dlfcn.h usability... yes
>>> checking dlfcn.h presence... yes
>>> checking for dlfcn.h... yes
>>> checking for g++... g++
>>> checking whether we are using the GNU C++ compiler... yes
>>> checking whether g++ accepts -g... yes
>>> checking how to run the C++ preprocessor... g++ -E
>>> checking the maximum length of command line arguments... 196608
>>> checking command to parse /usr/bin/nm -p 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... -fno-common
>>> checking if gcc PIC flag -fno-common works... yes
>>> checking if gcc supports -c -o file.o... yes
>>> checking whether the gcc linker (/usr/bin/ld) supports shared 
>>> libraries... yes
>>> checking dynamic linker characteristics... darwin8.10.1 dyld
>>> 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
>>> checking for ld used by g++... /usr/bin/ld
>>> checking if the linker (/usr/bin/ld) is GNU ld... no
>>> checking whether the g++ linker (/usr/bin/ld) supports shared 
>>> libraries... yes
>>> checking for g++ option to produce PIC... -fno-common
>>> checking if g++ PIC flag -fno-common works... yes
>>> checking if g++ supports -c -o file.o... yes
>>> checking whether the g++ linker (/usr/bin/ld) supports shared 
>>> libraries... yes
>>> checking dynamic linker characteristics... darwin8.10.1 dyld
>>> checking how to hardcode library paths into programs... immediate
>>> checking whether stripping libraries is possible... yes
>>> configure: creating ./config.status
>>> config.status: creating config.h
>>> running: make
>>>
>>> Build complete.
>>> (It is safe to ignore warnings about tempnam and tmpnam).
>>>
>>> running: make 
>>> INSTALL_ROOT="/var/tmp/pear-build-root/install-PDO-1.0.3" install
>>> Installing shared extensions:     
>>> /var/tmp/pear-build-root/install-PDO-1.0.3/sw/lib/php5/20050922-zts/
>>> cp: modules/*: No such file or directory
>>> make: *** [install-modules] Error 1
>>> ERROR: `make 
>>> INSTALL_ROOT="/var/tmp/pear-build-root/install-PDO-1.0.3" install' 
>>> failed
>>>
>>>
>>> Am 16.07.2007 um 15:38 schrieb Alexander K. Hansen:
>>>
>>>> Jonas Schnelli wrote:
>>>>> Hi Finkers
>>>>>
>>>>> Since days i try to install PDO and PDO_MYSQL for PHP.
>>>>> No luck.
>>>>>
>>>>> I tried it with fink install php-pear and then with 'pecl install  
>>>>> pdo'...
>>>>>
>>>>> no luck..
>>>>>
>>>>> anyone who does this before?
>>>>>
>>>>> thanks
>>>>> -- 
>>>>> jonas
>>>>>
>>>>> ------------------------------------------------------------------------- 
>>>>>
>>>>>
>>>> Can you be more specific as to the nature of your failure?  There 
>>>> is no "php-pear" package in Fink, nor does the "php5-pear" package 
>>>> have a "pecl" command.
>>>>
>>>> -- 
>>>> Alexander K. Hansen
>>>> Fink User Liaison/Documenter
>>>> akh AT finkproject DOT org
>>>>
>>>
>>> ---
>>> wolkeblau.ch - reiseblog suzanne und jonas
>>> ---
>>>
>>
>>
>> -- 
>> Alexander K. Hansen
>> Fink User Liaison/Documenter
>> akh AT finkproject DOT org
>>
>
> ---
> wolkeblau.ch - reiseblog suzanne und jonas
> ---
>


-- 
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to