PDA

View Full Version : Questions on making packages, please help, thanks!




msharp
Apr 15, 2006, 12:43 AM
Hello everyone!

I'm making an mpkg installer(using package maker) for my application these days. My application uses PHP 5 so I want to install PHP5 along with my app.

I've tried to include the PHP5 package into my application installer, and the installer installed PHP5, but the php seemed to be not working at all(tested in the browser).

Any help?

I've added the codes to httpd.conf
the Apache 1.3 bundled with Mac OS X is restarted after the installation, using scripts.

thanks everyone!

One more question:
How can I add a dock icon after the installation?



Aztechian
Apr 19, 2006, 02:15 PM
There is a whole lot going on during installs using configure/make... be sure that you are getting everything - and in the right places.

try make -n install to get an idea of what will be done. Also, the CLI version of packagemaker has a "snapshot" option that could be useful. I haven't been brave enough to try snapshotting the root directory.

Finally, see http://www.entropy.ch/software/macosx/php/ for somebody who has already made the php packages. Perhaps you can dissassemble thos packages to see what is going on.