Another issue compiling Digikam 2.0.0 stable on my Slackware current 64 bit (post 13.37)

This error is spit after compiling:
[cce_bash]
Linking CXX shared module ../../../lib/kipiplugin_advancedslideshow.so
/usr/lib64/gcc/x86_64-slackware-linux/4.5.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/share/opencv/../../lib/libGL.so when searching for -lGL
collect2: ld returned 1 exit status
make[2]: *** [lib/kipiplugin_advancedslideshow.so] Error 1
make[1]: *** [extra/kipi-plugins/advancedslideshow/CMakeFiles/kipiplugin_advancedslideshow.dir/all] Error 2
make: *** [all] Error 2
[/cce_bash]
For whatever reason it tries to use the 32 bit version of libGL.so from /usr/lib Since I was annoyed at this point so I simply renamed /usr/lib to /usr/lib.old and compiled digikam than reverted.

Web interface for Zabbix didn’t load

I was installing today Zabbix on a CentOS 5.6 machine and hit the following error when trying to load the PHP Web Interface:

[ccNe_bash]
PHP Fatal error: Call to undefined function bcscale() in /var/www/zabbix/include/defines.inc.php on line 797
[/ccNe_bash]

The fix was one package install away:

[ccNe_bash]
yum -y install php-bcmath
[/ccNe_bash]

Add php APC and UploadProgress support to CentOS

I was playing today with some file uploading scripts and noticed that they require one of the two in order to be able to display a progress bar.

Those are the steps required to enabled both of them on centos:
[cce_bash]
yum install php-pear php-devel httpd-devel pcre-devel
pecl install apc
pecl install uploadprogress
[/cce_bash]
Than I created in /etc/php.d/ the following files:
[cce_ini]
; provides upload progress, installed using pecl
extension=apc.so
apc.rfc1867=1
[/cce_ini]
and
[cce_ini]
; provides upload progress, installed using pecl
extension=uploadprogress.so
[/cce_ini]
All you need to do now is restart apache!
Please note that I was using PHP 5.2 from testing at the time