PHP 5.2.8 re-build errors on Slack 12.2
Hi
I am attempting to rebuild PHP to enable mcrypt support but the compilation process terminates prematurely with the following errors: Code:
... Does anyone know why this error is occurring and what can be done to correct it so the build can progress successfully to the end? Edit: One alteration was made to the php.SlackBuild. I included "--with-mcrypt=shared,/usr/bin \" before "--build=$ARCH-slackware-linux" Any help will be thoroughly appreciated. Regards |
Looks like an IMAP error.
If you look at the php.Slackbuild it uses some client libraries from the alpine build. Code:
# we need to compile alpine to get c-client.a for IMAP support: |
Thanks for responding mRgOBLIN. It did notice this in the SlackBuild and I copied the alpine source directory from the Slack 12.2 DVD and included it in the build location. The error still persisted though. I had a look at the /usr/local/lib/c-client directory before and after the attempted build but all it contained were empty "include" and "lib" sub-directories. Something is not quite right somewhere but I can't quite pinpoint it.
I will welcome any assistance. Regards |
Right, I think I solved the problem. It turns out that the "alpine" source directory had to be placed at the root of "/tmp" whereas initially, it was included in the build location which was "/tmp/build". After the correction, PHP was compiled without any issues and sure enough, a new extension "mcrypt.so" was created in "/tmp/package-php/usr/lib/php/extensions". Re-installation of PHP using the newly built package and the inclusion of the following line "extension=mcrypt.so" in the list of "Dynamic Extensions" in "php.ini", got rid of the "Cannot load mcrypt extension. Please check your PHP configuration" error in phpMyAdmin.
|
Nice to see you got the problem solved :)
|
Cheers m8 :)
|
All times are GMT -5. The time now is 04:25 PM. |