Re: Problems compiling PDO statically into PHP 5.0.4
| From: | Andreas Korthaus | Date: | Tue, 07 Jun 2005 22:22:24 +0000 |
| Subject: | Re: Problems compiling PDO statically into PHP 5.0.4 | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2437@lists.php.net to get a copy of this message | ||
Dan Scott wrote:
I can add the 'rm configure' step to the manual.I would recommend to do this.
The user note suggests adding the 'm' flag to the tar command, but I'm afraid that will be too easily overlooked; having an entirely separate step is much more visible.ARGHS, I have read it, but I thought it had nothing to do with my problem...
On 6/7/05, skettler@php.net <skettler@php.net> wrote:Yes, this solved the first problem, but I ran into the problem which Wez described in his blog. After changing the source everything works fine. But this is a special PDO-issue and solved with the (hopefully soon ;-) PHP 5.1 Release. Thank you for your help! best regards Andreasplease try removing your old configure script before rebuilding the scripts, i.e.: $ rm configure $ ./buildconf --force This has worked for me all the time buildconf did not want to update the files (mostly due to some timestamp mismatches).
-------- Original Message -------- Subject: [PECL-DEV] Problems compiling PDO statically into PHP 5.0.4 (07-Jun-2005 19:11)From: akorthaus@web.de To: kettler@gmx.netHi! I postet this on php.general before, but I think it was not the right list. I would like to compile PDO + PDO_sqlite statically into PHP 5.0.4. First I downloaded PDO-0.3.tgz and PDO_SQLITE-0.3.tgz and extracted them to /my/phpsrcdir/ext. I renamed the directories from "PDO-0.3" to "pdo" and from "PDO_SQLITE-0.3" to "pdo_sqlite". I tried to follow the instructions from the manual: http://www.php.net/manual/en/install.pecl.static.php so from /my/phpsrcdir I executed: ./buildconf --force But after this I tried ./configure --help | grep -i pdo without any results. So I did not know which ./configure parameters where necessary, so I extracted these .tgz-files to another location (not in /my/phpsrcdir) and used phpize to find out which ./configure parameters I need. So I found out that I have to use --enable-pdo --with-pdo-sqlite I did not expect it to work, but I tried to execute the following ./configure command: ./configure \ --prefix=/my/phpbindir/ \ --enable-pdo \ --with-pdo-sqlite \ --enable-memory-limit It did not fail, but after make && make install there is no pdo-support compiled in. What is going wrong here? What can I do? kind regards Andreas -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpTo: akorthaus@web.de pecl-dev@lists.php.net -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php