[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

compiler problem



I have this little convenience program I like to use called setnumlock. It can be found/downloaded at http://sdb.suse.de/sdb/en/html/cg_x11numlock.html. I've used it on every FC release since FC2. It will set numlock at login.
When I try to install it with FC4t2, I get this error;
# make
gcc -L/usr/X11R6/lib Numlock.o -o setnumlock -lX11 -lXtst
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [program] Error 1


According to the README file with setnumlock, you need the C compiler (series d, package gcc) and the include files of the X libraries (package xdevel, series x).
I did #yum install gcc and this is the return.
# yum install gcc
Setting up Install Process
Setting up repositories
development 100% |=========================| 1.1 kB 00:00
extras-development 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 960 kB 00:06
developmen: ################################################## 3493/3493
Added 220 new packages, deleted 220 old in 17.36 seconds
Parsing package install arguments
Nothing to do


I'm assuming that gcc is already installed. Is this correct? If I do #yum install xdevel, this is the return;

# yum install xdevel
Setting up Install Process
Setting up repositories
development               100% |=========================| 1.1 kB    00:00
extras-development        100% |=========================|  951 B    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 960 kB    00:27
developmen: ################################################## 3493/3493
Added 220 new packages, deleted 220 old in 17.23 seconds
Parsing package install arguments
No Match for argument: xdevel
Nothing to do

Okay.... given that I'm somewhat ignorant with yum, please accomodate my ignorance, and give me some advice on what I need to do.
Thanks,
owa



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]