Re: GTK + OSX
| From: | Steph Fox | Date: | Tue, 31 Jan 2006 22:24:19 +0000 |
| Subject: | Re: GTK + OSX | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6629@lists.php.net to get a copy of this message | ||
Thanks for that clarification, Chris.
NB You really shouldn't need to disable all those non-existent extensions :)
Anyone want to 'refine' this and put in on the Wiki please?
- Steph
----- Original Message ----- From: "Christopher Logan" <chris@b40d.com>
To: <php-gtk-general@lists.php.net>
Sent: Wednesday, February 01, 2006 12:16 AM
Subject: Re: [PHP-GTK] GTK + OSX
Here is how I got PHP-GTK working on OSX these instructions do need refinement: Requires Mac OS X 10.3 or later XCode BSD Tools X11 SDK PHP 5.1 DarwinPorts port install gtk PHP-GTK2 autoconf pkgconfig glib2-devel gtk2-devel atk-devel fontconfig-devel freetype-devel pango-devel xorg-x11-devel Download PHP 5.1.x http://www.php.net/downloads.php ./configure --disable-cgi make make install Download Latest CVS PHP-GTK2 cvs -d :pserver:cvsread@cvs.php.net:/repository co php-gtk ./buildconf --with-phpize=/usr/local/bin/phpize ./configure --disable-libglade --disable-scrollpane --disable-sqpane --disable-piemenu --disable-spaned --disable-combobutton --with-php-config=/usr/local/bin/php-config make make install cp php.ini-recommended /usr/local/lib/php.ini php.ini Change extension_dir = "./" extension_dir = "/usr/local/lib/php/extensions" Add extension=php_gtk2.so Move php_gtk2.so from /usr/local/lib/php/extensions/no-debug-non-zts-20050922 to /usr/local/lib/php/extensions/ And then I would use php -c location_of_php.ini location_of_application Dan Rossi wrote:Hi there, can someone let me know of a process on how to install GTK on OSX. This site claims you can use it without X11 ! However, downloading the CVS as it suggested didnt work, all the autogen.sh files were broken and i had to edit them, and most still broke. I downloaded the latest releases, and used the compile flags as suggested here and no luck. In the end GTK didnt compiled was asking for X11 which is what i dont want i even ran the compile flag via X11. This is the 11th time ive tried. Ive never bothered with gtk because its very linux centric and obviouslly I run OSX. I dont think gtk will get anywhere if its so hard to install. Maybe some should build a variant to use the cocoa libs instead PHPCocoa :D Let me know thanks.-- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com