configure.ac:39: error: possibly undefined macro: AC_PROG_LIBTOOL

Error in CentOS [root@ns4007603 cgminer]# ./autogen.sh configure.ac:39: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1 Configuring… ./autogen.sh: line 10: /root/cgminer/configure: No such file or directory Solve yum install libtool

Error: org.macports.fetch for port sqlite3 returned: fetch failed

Error: org.macports.fetch for port sqlite3 returned: fetch failed Please see the log file for port sqlite3 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_sqlite3/sqlite3/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Solve port -v fetch caml-sqlite3

checking for Tcl configuration… configure: error: Can’t find Tcl configuration definitions

sh-3.2# port selfupdate —> Updating MacPorts base sources using rsync MacPorts base version 2.1.3 installed, MacPorts base version 2.2.1 downloaded. —> Updating the ports tree —> MacPorts base is outdated, installing new version 2.2.1 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl Error: /opt/local/bin/port: port selfupdate failed: Error installing new Continue reading “checking for Tcl configuration… configure: error: Can’t find Tcl configuration definitions”

Error: sqlite.bz2: [Errno -1] Metadata file does not match checksum

Error: sqlite.bz2: [Errno -1] Metadata file does not match checksum [root@ns5001450 ~]# yum update Failed to set locale, defaulting to C base | 3.7 kB 00:00 epel/metalink | 14 kB 00:00 extras | 3.4 kB 00:00 newrelic | 951 B 00:00 rpmforge-extras | 1.9 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 5.1 MB Continue reading “Error: sqlite.bz2: [Errno -1] Metadata file does not match checksum”

phpMyAdmin – Error : Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly

phpMyAdmin – Error Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. I face this problem in CentOS 6 with nginx and php-fpm, so I solve using this way sudo mkdir /var/lib/php/session sudo chown nginx:nginx /var/lib/php/session sudo chmod 777 /var/lib/php/session The restart Continue reading “phpMyAdmin – Error : Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly”

How to install Git in CentOS in fastest way ?

yum install git git –version git version 1.7.1 Update git git clone https://github.com/git/git remote: Finding bitmap roots… remote: Counting objects: 163718, done. remote: Compressing objects: 100% (45304/45304), done. remote: Total 163718 (delta 117789), reused 162282 (delta 116441) Receiving objects: 100% (163718/163718), 50.96 MiB | 2.24 MiB/s, done. Resolving deltas: 100% (117789/117789), done.

Setting the PHP Timezone in php.ini

2013/10/28 19:52:41 [error] 25705#0: *8 FastCGI sent in stderr: “PHP message: PHP Warning: phpinfo(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely Continue reading “Setting the PHP Timezone in php.ini”