|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Installer for OS XHey,
For all you Mac users out there, I've made an installer for the latest stable version of PHP-GTK. It installs all the pre-requisites for PHP- GTK so you can get started as quickly as possible. That's not all, the applications will also run without an X server, and present a really nice Aqua interface (thanks to the wonderful folks at Imendio for writing a Quartz backend for GTK+) Grab it from: http://www.kix.in/php-gtk2/PHP-GTK-2.0.0.dmg (33MB - The size is a little big because of the mammoth number of dependencies that both PHP and GTK+ have). The installer will work only on Intel Macs - OS X versions 10.4 and 10.5 only. Cheers, Anant |
|
|
Re: Installer for OS XHi Anant,
I tried the installer on a fresh install of OSX 10.5. When I tried to run a simple PHP hello_world.php, <?php $window = new GtkWindow(); $window->connect_simple('destroy', array('Gtk','main_quit')); $window->add(new GtkLabel("hello world!")); $window->show_all(); Gtk::main(); ?> this is the error message: dyld: NSLinkModule() error dyld: Library not loaded: /usr/local/lib/libintl.3.dylib Referenced from: /usr/local/php-gtk/lib/php/extensions/no-debug-non-zts-20060613/php_gtk2.so Reason: image not found Trace/BPT trap Did I forget to load any other libraries? Where could I find this libintl.3.dylib? Thanks and Regards, /kksou
|
|
|
Re: Installer for OS XI am having the same problem
On Apr 10, 2008, at 12:48 AM, kksou wrote: > > Hi Anant, > > I tried the installer on a fresh install of OSX 10.5. > > When I tried to run a simple PHP hello_world.php, > > <?php > $window = new GtkWindow(); > $window->connect_simple('destroy', array('Gtk','main_quit')); > $window->add(new GtkLabel("hello world!")); > $window->show_all(); > Gtk::main(); > ?> > > this is the error message: > > dyld: NSLinkModule() error > dyld: Library not loaded: /usr/local/lib/libintl.3.dylib > Referenced from: > /usr/local/php-gtk/lib/php/extensions/no-debug-non-zts-20060613/ > php_gtk2.so > Reason: image not found > Trace/BPT trap > > Did I forget to load any other libraries? Where could I find this > libintl.3.dylib? > > Thanks and Regards, > /kksou > > > Anant Narayanan wrote: >> >> Hey, >> >> For all you Mac users out there, I've made an installer for the >> latest >> stable version of PHP-GTK. It installs all the pre-requisites for >> PHP- >> GTK so you can get started as quickly as possible. That's not all, >> the >> applications will also run without an X server, and present a really >> nice Aqua interface (thanks to the wonderful folks at Imendio for >> writing a Quartz backend for GTK+) >> >> Grab it from: http://www.kix.in/php-gtk2/PHP-GTK-2.0.0.dmg (33MB - >> The >> size is a little big because of the mammoth number of dependencies >> that both PHP and GTK+ have). The installer will work only on Intel >> Macs - OS X versions 10.4 and 10.5 only. >> > > -- > View this message in context: http://www.nabble.com/Installer-for-OS-X-tp16555371p16598601.html > Sent from the Php - GTK - General mailing list archive at Nabble.com. > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: Installer for OS XHi,
> Did I forget to load any other libraries? Where could I find this > libintl.3.dylib? Looks like the installer wasn't as self-contained as I thought it would be. I've now included libintl in the new installer at: http://www.kix.in/php-gtk2/PHP-GTK-2.0.0.dmg (36M) This time, the installer also contains universal binaries, which means it should now work on both PPC and Intel Macs, OS X versions 10.4 and 10.5. However, I am only able to test it on an Intel OS X 10.5 Mac, so I would appreciate it if someone with the appropriate hardware could report if it works fine on other combinations. Cheers, Anant -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
|
Re: Installer for OS XHi Anant,
It's working now! Thanks! And installation is a breeze - simple and fast! Will start pushing php-gtk to my mac friends...! Regards, /kksou
|
|
|
Re: Installer for OS XHi Anant,
Just given more tests on the mac version of php-gtk2. Looks like the following libraries are not included in the compilation: 1) mysql 2) gd 3) gtkextra 4) gtkhtml Think at least the mysql library should be included to make it useful for the mac users. Regards, /kksou
|
| Free embeddable forum powered by Nabble | Forum Help |