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
Al Kroeger writes:
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
The package you are looking for is xorg-x11-devel
On Wed, 13 Apr 2005, Al Kroeger wrote:
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
That means it cannot find a library called libX11.so (you have to mentally substitute "-l" with "lib" and [usually] add ".so"). Because that package is from suse linux, and different linux distributions have different package names and indeed different packaging structures, you need to find out which Fedora Core 4 test 2 package contains "libX11.so".
The best way to find out is probably to use http://rpm.pbone.net/
Unfortunately it doesn't index the test releases, but the last stable release (in this case, fedora core 3) will _usually_ have the same package name for what you are looking for.
So you would check "Fedora 3" and uncheck everything else, and type in "libX11.so". That gives you a whole bunch of results, but you can clearly see that the package name you need is xorg-x11-devel.
So: yum install xorg-x11-devel should fix your problem.
(Don't download a package from the search results on rpm.pbone.net directly, unless you have to. It is less safe than yum with gpg checks, and you won't get the benefit of yum's automatic dependency resolution.)
collect2: ld returned 1 exit status
If you get that message, it means you already have a compiler, so you don't need to install the compiler, you already have it.
On Wed, 2005-04-13 at 09:10 -0400, Robin Green wrote:
That means it cannot find a library called libX11.so (you have to mentally substitute "-l" with "lib" and [usually] add ".so"). Because that package is from suse linux, and different linux distributions have different package names and indeed different packaging structures, you need to find out which Fedora Core 4 test 2 package contains "libX11.so".
The best way to find out is probably to use http://rpm.pbone.net/
or of course do: yum provides libX11.so
Sander Hoentjen wrote:
On Wed, 2005-04-13 at 09:10 -0400, Robin Green wrote:
That means it cannot find a library called libX11.so (you have to mentally substitute "-l" with "lib" and [usually] add ".so"). Because that package is from suse linux, and different linux distributions have different package names and indeed different packaging structures, you need to find out which Fedora Core 4 test 2 package contains "libX11.so".
The best way to find out is probably to use http://rpm.pbone.net/
or of course do: yum provides libX11.so
Thanks, guys. I first did '#yum provides libX11.so' , and yum built its list of dependencies. Then I did '#yum install xorg-x11-devel', and yum installed it cleanly. Then I went to my 'setnumlock' file and did '#make' , and then '#make install' , and now it works. Thanks again. owa
ons, 13.04.2005 kl. 14.59 skrev Al Kroeger:
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
Why isn't it an option in gnome setup to set numlock to on on boot? That would be really usefull !
On Wed, 2005-04-13 at 20:49 +0200, Kyrre Ness Sjobak wrote:
Why isn't it an option in gnome setup to set numlock to on on boot? That would be really usefull !
lock-keys-applet in Fedora Extras will persist the state of the lock keys in-between reboots. Not exactly the same thing I understand, but it works.