gnope php gtk gui gnope.org  

need help on installing GTK2

 
Post new topic   Reply to topic    gnope.org Forum Index -> Installation problems
View previous topic :: View next topic  
Author Message
roms



Joined: 27 Jun 2006
Posts: 2

PostPosted: Tue Jun 27, 2006 10:49 am    Post subject: need help on installing GTK2 Reply with quote

Hi,

First, I will present myself, I am Romain Bourdon (from France), the author of the WAMP5 package (http://www.en.wampserver.com) which has just reached one million dowloads. I am currently adding new functions to manage the PHP parameters in WAMP (should be included in the next version of wamp).

To manage advanced parameters (safe_mode, error managment...) I would like to use PHP GTK2 to make a simple interface.

So I've tried Gnope which is really great, good job you're doind here Wink

I started to create apps, i'll be able o do what I want...

Now my problem is including gtk2 in my wamp package. I could directly include gnope in wamp but :

- the installer would be much bigger
- It would have to occurences of PHP5 which would be stupid

So I am trying to add GTK2 to the PHP5 already included in WAMP but I am having problems.

So here is my question : could someone tell me how to make a minimal windows install of GTK2 on PHP5, or give me a link to a good tutorial?

Thanks in advance and sorry for my english Wink

Romain
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Tue Jun 27, 2006 12:04 pm    Post subject: Reply with quote

Roman,


You need two things:
- the php extension php-gtk2.dll
- the gtk libraries with dependencies as pixbufloaders.

Gnope is Open Source, so you can get the sources from the download page. You'll get all the installer files and all the gtk files you need. Also look at the announcement forum for the latest php-gtk2.dll.
Btw, there is a Gtk2_PHPConfig package in PEAR that you could ship.
Back to top
roms



Joined: 27 Jun 2006
Posts: 2

PostPosted: Tue Jun 27, 2006 1:39 pm    Post subject: Reply with quote

Thanks Cweiske,

I've installed the package and copied the necessary dll depencies from the gnope full installto the WAMP/php/ directory (php version 5.1.4).

Now php-gtk2 scripts work which is a big step. The only problem I have now is that whenever I call php as cli, when the script finishes (or the Gtk::main_quit() method is called), I get a windows bug report message. Did anyone ever get this problem?

Romain
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Tue Jun 27, 2006 1:42 pm    Post subject: Reply with quote

The crash will be fixed in the php-gtk2 alpha
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> Installation problems All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.