You may receive the above error in the mkmf.log file when attempting to install the MySQL gem. A sample of the log file errors is below.
How to Resolve:Install mysql-devel via yum using the following command.
[root@server ~]#yum install mysql-devel
Read the rest of this entry »
Tags:
CentOS,
error,
gem,
mkmf.log,
mysql,
mysql-devel,
mysql.h,
Ruby,
rubygems,
x86_64
No Comments »
Posted by alex in Insights
Installing the rpmforge yum repository on CentOS 5 is really easy. Follow the simple steps below and the rpmforge repo will be installed in seconds.
- Verify 32 Bit or 64 Bit: Verify if your server is 32 bit or 64 bit. Use this Question-Defense.com article to verify if your system is 32-bit or 64-bit.
Read the rest of this entry »
Tags:
32-Bit,
64-Bit,
CentOS,
gpg,
repo,
repository,
RPM,
rpm-gpg,
rpmforge,
yum
2 Comments »
Posted by alex in Insights
To verify if a system is 32 bit versus 64 bit you can use the uname command. Below are examples of using the uname command from the CLI on a 32 bit system followed by using the uname command on a 64 bit system.
32 Bit CentOS Linux Server
[root@server ~]# uname -a
Linux server1.example.com 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52 EDT 2008 i686 i686 i386 GNU/Linux
Read the rest of this entry »
Tags:
32-Bit,
64-Bit,
CentOS,
CLI,
i386,
i686,
Linux,
server,
uname,
x86_64
12 Comments »
You may see an error like the below when attempting to see if a certain package is installed using the yum package manager. Yum is the default package manager on RedHat Linux and CentOS Linux. Using the “yum list *SOMETEXT*” command will list all packages that contain “sometext” or you could use “yum list sometext” which will list a package specifically called “sometext”. Below you can see an attempt to list the “git” package on a CentOS server however an error was returned.
Read the rest of this entry »
Tags:
CentOS,
git,
ImportError,
package,
redhat,
root,
Traceback,
user,
yum,
yummain
No Comments »
Posted by alex in Insights
To install the latest git on CentOS 5 you will need to install from source since the yum repos are typically fairly far behind. Follow the instructions below and installing git on CentOS 5.X will be a snap.
Read the rest of this entry »
Tags:
CentOS,
curl-devel,
expat-devel,
git,
make,
manpages,
openssl-devel,
repos,
source,
version control,
yum,
zlib-devel
14 Comments »