How To Solve Missing Dependency Errors in YumApril 30th, 2007 Today when I was trying to install createrepo and repoview, I repeatedly got this weird error: Error: Missing Dependency: python(abi) = 2.4. The problem is strange at first sight because yum is designed to include missing dependencies.
Fixing - configure: error: C++ compiler cannot create executablesApril 5th, 2008 A common error while configuring (running ./configure) software in Linux systems is - error: C++ compiler cannot create executables. The solution, not surprisingly is simple:
Install the package which adds C++ support to the GNU Compiler Collection - gcc-c++.
DansGuardian Configure Error Fix - configure: error: pcre-config not found!April 5th, 2008 On running ./configure in dansguardian (web content filter for Linux), I got the following error - configure: error: pcre-config not found!configure: WARNING: Cache variable ac_cv_prog_PCRE contains a newline.. The solution, as usual, is simple:
Install pcre-devel.
Solving CSS Stylesheet Not Loading / Rendering ErrorJuly 3rd, 2007 My blog had this vexing problem where it used to render ugly, really ugly, as the stylesheet wasn't being loaded on Firefox. However after a refresh everything was fine.
Guide To Simplified Java Logging using Java Core APIJanuary 17th, 2006 Java comes in with a handy logging package (java.util.logging) which eliminates the need to use external logging packages like Log4J. However it still requires some configuration which makes it cumbersome and repetitive to include in every class.
SimpleXML and its Not So Simple To Use Object Model: Problem & SolutionNovember 16th, 2005 SimpleXML is simple to use as its name suggests. However it is a pain when you need to check the value of an element which may or may not exist.
9 Important Tips for Selenium Remote Control (Java client) - Test ToolApril 16th, 2008 Selenium Remote Control (RC) is a test tool that allows you to write automated web application UI tests in many programming languages against any HTTP website using any mainstream JavaScript-enabled browser. Selenium RC is a powerful and simple framework for running (scheduled or manually) automated UI centric regression tests for web applications / services.
Solution: MySQL Master-Master Replication Fails With ERROR 1200 (HY000) on MasterNovember 16th, 2007 When you try MySQL master-master replication with two (or more) servers you may often find that in the process of configuring the original master to also act as a slave server (start slave), it fails with the following error:
mysql> start slave;
ERROR 1200 (HY000): The server is not configured as slave; fix in config file or with CHANGE MASTER TO
To rectify it locate and delete the master.info file and restart the mysql server. Now try to start slave and it should work.
Solving - "A pseudo attribute name is expected" Error in JAXPJuly 6th, 2006 I was writing a xml data reader in Java using JDK's inbuilt XML processing libraries (JAXP) when I persistently hit across this annoying exception with error message: A pseudo attribute name is expected. The error is displayed on the first line itself.
Apache Web Server Suddenly Fails to Load With EMalloc Error - Solution (php_exif.dll)June 1st, 2006 The common symptom of the problem is that Apache web server suddenly fails to load as a service (on windows) or even from command line. The error message from log is as follows:
FATAL: emalloc(): Unable to allocate -2103443420 bytes
[Thu Jun 01 23:57:21 2006] [crit] master_main: create child process failed.
How to Solve: Dual Boot Partition Not Showing in Windows 7 January 19th, 2009 Are you a Vista user who also wants to run the Windows 7 OS? Let me tell you, installing Windows 7 on another drive on your system would crop up a mess. I did the same with my dual boot laptop and to my utter dismay, the partition of the other operating system (Vista in my case) was not showing.
FATAL: Module off not found. - SolutionAugust 4th, 2008 You may see the following error in Fedora 8 while starting / restarting the network (service network restart):
FATAL: Module off not found. Let's see how we can fix this.
Solution: ntpdate[4933]: no server suitable for synchronization foundDecember 15th, 2007 Our local setup consists of a single ntp server which synchronizes time from asia pool of ntp.org ([0-2].asia.pool.ntp.org) and several ntp servers in the intranet which synchronizes from the above server. This setup ensures identical clock on all the machines on the intranet as well as reduces load on ntp.org servers.
Super Simple Java ORM Framework For SQL Happy DevelopersAugust 9th, 2006 I previously mentioned that I intended not to use any Java ORM frameworks. ORM frameworks I have seen so far have a steep learning curve and tend to shoe horn your architecture into their model.
Resizing Applets from Java code - A second passFebruary 12th, 2004 Challenge: Resizing applet from within Java code. For example say the applet code calculates that the applet needs more space than it has been allocated, then how to go about it?
Last time when faced with this problem I solved it with a nifty piece of Javascript method.