RE: [PHP-GTK] configure script fails, php-gtk-0.1.1
| From: | David Brodbeck | Date: | Mon, 22 Oct 2001 19:51:30 +0000 |
| Subject: | RE: [PHP-GTK] configure script fails, php-gtk-0.1.1 | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-373@lists.php.net to get a copy of this message | ||
Thanks. Hmm...okay, I'm closing in on it. After installing a newer php, I
got the latest CVS of php-gtk to compile and install. I can't run the test
programs, though. Here's what I get with 'php hello.php':
X-Powered-By: PHP/4.2.0-dev
Content-type: text/html
<br />
<b>Warning</b>: Unable to load dynamic library './php_gtk.so' -
./php_gtk.so: can
not open shared object file: No such file or directory in
<b>/home/davidb/php-gtk/
test/hello.php</b> on line <b>6</b><br />
<br />
<b>Fatal error</b>: Cannot instantiate non-existent class: gtkwindow in
<b>/home
/davidb/php-gtk/test/hello.php</b> on line <b>40</b><br />
I've added the directory php_gtk.so is in to my /etc/ld.so.conf file and run
/sbin/ldconfig, but it didn't help.
-----Original Message-----
From: Markus Fischer [mailto:mfischer@guru.josefine.at]
Sent: Monday, October 22, 2001 2:50 PM
To: David Brodbeck
Cc: 'php-gtk-general@lists.php.net'
Subject: Re: [PHP-GTK] configure script fails, php-gtk-0.1.1
You need at least PHP 4.0.7 installed.
- Markus
On Mon, Oct 22, 2001 at 02:36:47PM -0400, David Brodbeck wrote :
> I'm trying to compile php-gtk-0.1.1 on a RedHat 6.2 system. buildconf
runs
> fine, but when I try to run configure, I get the following output:
>
> creating cache ./config.cache
> 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 whether gcc accepts -g... yes
> checking whether gcc and cc understand -c and -o together... yes
> checking for PHP prefix... /usr/local
> checking for PHP includes... -I/usr/local/include/php
> -I/usr/local/include/php/mai
> n -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM
> checking for PHP extension directory...
> /usr/local/lib/php/extensions/no-debug-non
> -zts-20001222
> checking for PHP-GTK support... yes, shared
> ./configure: syntax error near unexpected token
> `PHP_ADD_INCLUDE($SCINTILLA_INCDIR
> )'
> ./configure: ./configure: line 1872: `
PHP_ADD_INCLUDE($SCINTILLA_INCDIR)'
--
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net