Archive for June, 2007

phpize error - please use m4_pattern_allow

When running phpize to install ffmpeg-php, i get following error

# phpize
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
run info ‘(automake)Extending aclocal’
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
configure.in:65: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
#

The problem is cased by libtool not installed on the server, fixed by installing libtool

# yum list|grep -i libtool
libtool-libs.i386 1.5.6-4.EL4.1.c4.4 installed
libtool.i386 1.5.6-4.EL4.1.c4.4 base
#

yum install libtool

Comments off

Google started showing video ads

Google started showing video ads in AdSense Publishers web sites. AdWords publishers can now make advertising video and advertise through google, no need to show on TV channels. With popular YouTube and large number of AdSense publishers, google can attract large number of video advertisers, so far they have to depends on TV channels, now more effective way to advertise as google shows advertisement only on relevant web sites.

See google announcement

Comments off

Disable Windows Picture and Fax Viewer

To disable Windows Picture and Fax Viewer on Windows XP and Windows 2003 computers, run

regsvr32 /u shimgvw.dll

To enable Windows Picture and Fax Viewer (if you already disabled) run

regsvr32 shimgvw.dll

Comments off

MySql not starting on new cpanel server

On new cpanel server, MySQL is not starting.


# service mysql start
Starting MySQLCouldn't find MySQL manager or server [FAILED]
#

Can’t find anything in log file /var/log/mysql.log

I tried removing rpm of mysql and resinstalled mysql with /scripts/mysqlup –force

But it do not solved the mysql problem.

I modified /etc/my.cnf and mysql start working


root@server42 [/var/lib]# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
root@server42 [/var/lib]#

Changed to


# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

[mysql.server]
user=mysql

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
#

The line removed is

basedir=/var/lib

Comments off

« Previous entries