On Wed, 18 Oct 2000, Kent Loobey wrote:

> Argg, I am trying to compile a C program that I downloaded from the
> internet.  I get a compile error because it can't find "xpm.h".  So I look
> at the diskettes that I got from Mandrake and they include a source file
> called xpm-3.4k-8mdk.src.rpm. 

Right, the source to xpm, NOT the headers (or development files) you need
for compiling other programs which use xpm.

 So I think this should be a piece of cake.
> I get into root and I run "rpm -q xpm-3.4k-8mdk.src.rpm" and rpm reports
> that it is not installed.  Great, so I enter "rpm -i xpm-3.4k-8mdk.src.rpm"
> and it returns with the next command line but nothing else happens.  So
> what am I messing up?

You installed the sources with that, but it's sitting in a directory in
the wrong place (probably /usr/src/xpm...

What you want is the xpm.h header file.  There is an xpm-devel rpm.
You want to install that.

common mistake, bites everyone at one point or another....

Seth

Reply via email to