[blfs-support] gpm-1.20.7

Bruce Dubbs bruce.dubbs at gmail.com
Mon Nov 26 10:43:38 PST 2012


John Burrell wrote:

> I changed to plain text. Does that remove html from the header?

Yes.  Much better.

>>> Anyway back to the topic -

>>> make gives this:
>>>
>>> prog/display-buttons.c:39:57: fatal error: gpm.h: No such file or directory
>>> compilation terminated.
>>> prog/display-coords.c:40:57: fatal error: gpm.h: No such file or directory
>>> compilation terminated.
>>> prog/get-versions.c:25:57: fatal error: gpm.h: No such file or directory
>>> compilation terminated.
>>
>> What's the command that generates that?
>
> gcc -I. -I /usr/src/sysutils/gpm/gpm-1.20.7/src -M
-I/usr/src/sysutils/gpm/gpm-1.20.7/src -DHAVE_CONFIG_H -include
headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\""
-D_GNU_SOURCE $DEPS

As I said, my log has -Iheaders which should work.  I don't know why 
yours is different. Specifically, my command line is:

gcc -Iheaders  -I/tmp/gpm/gpm-1.20.7/src -DHAVE_CONFIG_H -include 
headers/config.h -Wall -DSYSCONFDIR="\"/etc\"" -DSBINDIR="\"/usr/sbin\"" 
-D_GNU_SOURCE  -g -O2  -c -o prog/display-buttons.o prog/display-buttons.c

You have -I/usr/src/sysutils/gpm/gpm-1.20.7/src twice.  I don't know 
what $DEPS is.  Try on a clean system:

./autogen.sh                                &&
./configure --prefix=/usr --sysconfdir=/etc &&
make

   -- Bruce


   -- Bruce




More information about the blfs-support mailing list