Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Update the ServerLogistics 'Complete' packages UNIX
If you want to mess around with Apache2, PHP4 and MySQL on a Mac OS X client, the way to go has, in my opinion anyway, always been the free "Complete" series of packages from ServerLogistics, and I've been using them to my great satisfaction. However, lately the versions available have fallen behind the official stable releases. Thus, I've published information on how to upgrade CompleteApache2, CompletePHP4 and CompleteMySQL to the latest releases on my WebAdmin website.

The site is still very much under construction, and is at present seriously lacking in documentation of why etc., but I'd like to share my information with the community, even in its undocumented form. The scripts are using no more than what you've already got installed on your system. This means that, at present I've had to switch off some functionality in PHP -- most notably pspell -- in order for PHP to compile. A full list of what's been switched off in PHP4/5 can be found here. I'm working on getting this functionality back into PHP4/5.

At present the pages are in Danish only, but unless you are seriously language-challenged, you ought to be able to understand the instructions -- at least if you've got some Terminal experience.

[robg adds: To navigate to the update scripts, click the Apache / PHP / MySQL buttons at the top right, and then click the 'upgrading' tab on the left side of each app's specific page.]
    •    
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[7,571 views]  

Update the ServerLogistics 'Complete' packages | 14 comments | Create New Account
Click here to return to the 'Update the ServerLogistics 'Complete' packages' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Update the ServerLogistics 'Complete' packages
Authored by: johnts on Sep 28, '04 03:35:29PM

Can I remove the stuff that was created in the MySql directory from the download/compile, when it's finished? I don't mean the Library/MySql directory, I mean the directory that the instructions say to create for the download/install..



[ Reply to This | # ]
Update the ServerLogistics 'Complete' packages
Authored by: Alejandra on Sep 29, '04 03:37:29PM

I hava probs in the configure step in both PHP4 and PHP5

<code>configure: error: Unable to find required gettext library
sed: Makefile: No such file or directory
make: *** No targets. Stop.
make: Nothing to be done for `install'.</code>

if I mark the --with-gettext as comment configure passes but compilation shows an error.

gettext.h is in /Library/PHP4/include as libintl.h too, I dont get it.


---
Ciao,
Alejandra.



[ Reply to This | # ]
Update the ServerLogistics 'Complete' packages
Authored by: seanhussey on Sep 29, '04 04:14:05PM

So do I, but in a different place (and this is with both Apache 2.0.51 and 2.0.52):

checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...

Sorry, I cannot run apxs. Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /Library/Apache2/bin/apxs follows:
dyld: /Library/Apache2/bin/httpd version mismatch for library: /Library/Apache2/lib/libexpat.0.dylib (compatibility version of user: 6.0.0 greater than library's version: 2.0.0)
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/Library/Apache2/bin/httpd'..
configure: error: Aborting



[ Reply to This | # ]
Update the ServerLogistics 'Complete' packages
Authored by: dietermay on Sep 30, '04 07:10:17PM

I had the same error. After removing fink (/sw/bin) from my $PATH,
everything functioned. Apache-2.052 and PHP-4.3.9.



[ Reply to This | # ]
$PATH problem
Authored by: BjarneDM on Oct 01, '04 05:36:01AM

OK - if the problem seems to be related to the $PATH then - have you executed the commands under the 'Complete' tabs on my site ?
They add Apache, PHP4 and MySQL to your path *before* fink, so these directories get searched for the required libraries before fink is searced.

Sometimes, it seems as if the [dir] parameter to a directive gets ignored. This is eg a problem when enabling curl in PHP5 - the configure process finds the version in /usr/bin even though the [dir] path has explicitly been set to /darwinports



[ Reply to This | # ]
Update the ServerLogistics 'Complete' packages
Authored by: seanhussey on Sep 29, '04 02:45:25PM

This should probably go to the site author, but for people following his instructions and finding that installing Apache 2.0.51 fails, try 2.0.52 as your command line argument instead. The mirror specified in the script doesn't have 2.0.51 anymore.



[ Reply to This | # ]
Update the ServerLogistics 'Complete' packages
Authored by: Alejandra on Sep 29, '04 04:07:49PM
I hava probs in the configure step in both PHP4 and PHP5

configure: error: Unable to find required gettext library sed: Makefile: No such file or directory make: *** No targets. Stop. make: Nothing to be done for `install'.

if I mark the --with-gettext as comment configure passes but compilation shows an error.

gettext.h is in /Library/PHP4/include as libintl.h too, I dont get it.

---
Ciao,
Alejandra.

[ Reply to This | # ]

removing files
Authored by: BjarneDM on Sep 29, '04 05:12:39PM

You can safely remove both the mysql-<version>.tar.gz file as well as the mysql-<version> directory afterwards. This, of course, also pertains to Apache2 as well as the PHP's. I could have done this in the script too, but I found that that would be messing too much around on other people's harddisks. Besides, removing the *.tar.gz would thus necessicate a re-download should you wish to recompile.



[ Reply to This | # ]
compiling errors, Apache2 version, feedback
Authored by: BjarneDM on Sep 29, '04 05:29:28PM

I must confess to not knowing what's going wrong for you :-(
I did test my procedures exhaustively on my own computers - one of which was plain vanila 10.3.5 - and the Apache 2 instructions has successfully been completed on a G5 20" iMac at an aquiantances place monday evening - and that machine was even more plain vanila than my own.

Sorry about the Apache 2.0.51/52 confusion, but this hint was published just as Apache.org updated the version, and there was a timelag until the mirror server in my script got updated. My site has been updated accordingly now :-)

Please do provide feedback using my email address on the site. I'ld appreciate all hints and suggestions that can improve the site (apart from suggesting translating it into english :-) that will be done at some time) I do hope you've found my stuff useful.



[ Reply to This | # ]
pspell solved ; new versions of both PHP4 and PHP5
Authored by: BjarneDM on Oct 01, '04 04:57:32AM

The pspell problem in both PHP4 and PHP5 has been solved ! :-)
Also, PHP 4.3.9 and PHP 5.0.2 have been released.
My instructions and scripts have been updated accordingly.



[ Reply to This | # ]
Update the ServerLogistics 'Complete' packages
Authored by: Alejandra on Oct 01, '04 11:13:06AM
Still have problems. configure still shows an error:
If configure fails try --with-xpm-dir=
If configure fails try --with-freetype-dir=
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... no
configure: error: Unable to find required gettext library
If I comment the --with-gettext=/Library/PHP4 line configure passes but at compilation I got this error:
ld: warning -prebind has no effect with -bundle
ld: Undefined symbols:
_xmlFreeValidCtxt
_xmlNewValidCtxt
_xmlBufferCreateStatic
make: *** [libs/libphp5.bundle] Error 1

---
Ciao,
Alejandra.

[ Reply to This | # ]

configure error
Authored by: BjarneDM on Oct 01, '04 11:43:52AM

1) are you trying to compile 4.3.x or 5.0.x ?
2) what are the lines just before you get the configure problem? those are the ones that are interesting. it's not gettext that's the problem.
3) what do you get when you issue this command : echo $PATH



[ Reply to This | # ]
Update the ServerLogistics 'Complete' packages
Authored by: Alejandra on Oct 04, '04 06:30:58PM

my PATH:
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/sw/bin:/sw/sbin:/usr/X11R6/bin

---
Ciao,
Alejandra.



[ Reply to This | # ]
Update the ServerLogistics 'Complete' packages
Authored by: Alejandra on Oct 04, '04 06:33:52PM

Sorry, forgot to mention, I tried both 4.3x and 5.0x with same error, I post later the lines above the error.

---
Ciao,
Alejandra.



[ Reply to This | # ]