Re: Packaging for distribution?

From: Date: Fri, 14 May 2004 00:38:35 +0000
Subject: Re: Packaging for distribution?
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4472@lists.php.net to get a copy of this message
> I swear I saw this somewhere on the PHP-GTK Web site (or perhaps > elsewhere), but I'm looking for instructions on how to "package" your > executable php script so that you can distribute it to people who may > not have php and/or the gtk libraries installed on their system. In a > sense, the package should install gtk for them if they don't have it, > and I guess it would include a PHP binary for them, as well. > > Anyway, the point is: is there a way to distribute your php-gtk apps to > users who don't have php--and make it work "out of the box"? You could build a RPM or a PEAR package. With RPM, if the dependence are not on the system if the user uses an installer such as urpmi, it will install the dependence just fine. To build a RPM package, you have to write a SPEC file to generate the package, you will find documentations about this with google. With a PEAR package I don't know if pear -install will get the PECL dependencies, ask to pear list. -- Cheers

« previous php.gtk.general (#4472) next »