Hi list, As way of background I am running SuSE 8.2 Pro. Instead of using the gkrellm RPM, I am trying to install it from source. The version I have is gkrellm-2.1.13. On 'make' I get a lot of errors, so many that I have posted them here: http://pl.net/~rnrhill/help.htm I am not sure how to go about solving this and I hope someone can point me in the right direction. This is the first compile time problem I have faced in my relatively short time with Linux so I would greatly appreciate some help, pointers or any other directions on how to interpret the output. -- Regards, Roland Hill Registered Linux User #330226 http://pl.net/~rnrhill/rhweb.htm @ http://counter.li.org
On Sunday 21 December 2003 09:48, Roland Hill wrote:
Hi list,
As way of background I am running SuSE 8.2 Pro.
Instead of using the gkrellm RPM, I am trying to install it from source.
The version I have is gkrellm-2.1.13.
On 'make' I get a lot of errors, so many that I have posted them here:
http://pl.net/~rnrhill/help.htm
I am not sure how to go about solving this and I hope someone can point me in the right direction.
This is the first compile time problem I have faced in my relatively short time with Linux so I would greatly appreciate some help, pointers or any other directions on how to interpret the output.
Ok, I have only ever done a kernel or 2 under Linux, but I have done some compiling with and without make in my time. Before I forget, thanks for not pasting your output into your post, - it does make one more favourably disposed, even though I am not going to fix this for you, I will only suggest an approach. First thing, get yourself the gnu 'make' and 'gcc' manuals from gnu.org - they won't solve or fix this problem for you, but in the long run, if you are going to compile stuff, it will help you understand the messages and the context of the messages in the build process. For the amount of grief your messages are showing, experience indicates you probably have a few gross errors, which manifest as large numbers of similar repeated errors. So ERRORs stop you getting output, WARNINGs alert you to be suspicious when you do get output. Start by eliminating errors from the top, leave fixing the warnings until you have fixed the errors [but do take note of clues from warnings]. The first error message arising from a gross error is often the best clue - many that follow are just consequences of the first error First you have: make[1]: Entering directory `/usr/local/gkrellm-2.1.13/src' cc -Wall -O2 -I.. `pkg-config --cflags gtk+-2.0 gthread-2.0` -DENABLE_NLS -DLOCALEDIR=\"/usr/local/share/locale\" -c -o main.o main.c /bin/sh: line 1: pkg-config: command not found Make sure that from your command line, you can cd to /usr/local/ gkrellm-2.1.13/src. Make sure that you can run pkg-config from there [never mind the parameters, can you engage any response from the command?] - this suggests a pathing type of problem. Solve that problem. Do not think of solving anything else until that is resolved. If you can do it from the command line, find out why make does not do it. Make sure that the error above goes away. Fixing that problem might change the error messages so radically, that it is not worth me following through with any more, but suppose the next one remains: In file included from main.c:22: gkrellm.h:30:21: gtk/gtk.h: No such file or directory Find the gcc rules for locating include files. Find all instances of [something]/gtk/gtk.h on your system and ensure that the one you want to use and preferably only that one complies with the rule - or that the the one you want is at least first to comply. [and is it installed on your system etc.] But note that the fact that gtk/gtk.h has not been located is certainly responsible for most, if not all of the errors in gkrellm.h, and maybe further afield In summary, I would say that your problems are mainly to do with pathing. HTH Vince Littler
On Sunday 21 December 2003 09:48 am, Roland Hill wrote:
Hi list,
As way of background I am running SuSE 8.2 Pro.
Instead of using the gkrellm RPM, I am trying to install it from source.
The version I have is gkrellm-2.1.13.
On 'make' I get a lot of errors, so many that I have posted them here:
http://pl.net/~rnrhill/help.htm
I am not sure how to go about solving this and I hope someone can point me in the right direction.
It looks like you need to install pkg-config and the gtk-devel packages for starters. HTH Dylan -- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg
Roland Hill <rolandh@ak.planet.gen.nz> writes:
On 'make' I get a lot of errors, so many that I have posted them here:
Install pkgconfig*.rpm and gtk2-devel*.rpm packages. If you need more packages then use pin or YAST to find them. e.g. $ pin pkg-config ... ./CD1/suse/i586/pkgconfig-0.15.0-104.i586.rpm: -rwxr-xr-x root root 106564 Sep 23 18:47 /usr/bin/pkg-config ... -- A.M.
On Sunday 21 December 2003 07:00 am, Alexandr Malusek wrote:
Roland Hill <rolandh@ak.planet.gen.nz> writes:
On 'make' I get a lot of errors, so many that I have posted them here:
Install pkgconfig*.rpm and gtk2-devel*.rpm packages. If you need more packages then use pin or YAST to find them. e.g. Yes. I agree there. Since you said you are relatively new to compiling packages I will give you a hint. Whenever you compile from source expect to need *devel* packages. Devel packages includes headers and such not needed for running a program, but for compiling it. Generally, when you get that many errors, look at the top. Always start with the first error. In alot of cases one error is the root cause of many others. In this case the gtk inclusion problem resolves the other hundreds or so after it. There are two important lines that suggest the solution. First, it cant find pkg-config. Then it cant find gtk/gtk.h. If you dont have either installed- install them (this was suggested already) and if you DO have them installed, and it complains, try to figure out why the program cant find them. Are they in a non-standard place? Did you run configure with the correct options? Can you specify extra include directories with configure? Just some pointers on compiling from source. And BTW I use gkrellm from the RPM package on SuSE 8.2 and it works flawlessly- just in case ;)
-- ------------------------- Eric Bambach Eric at cisu dot net -------------------------
Hi all,
Just some pointers on compiling from source. And BTW I use gkrellm from the RPM package on SuSE 8.2 and it works flawlessly- just in case ;)
Firstly, thanks to all the helpful advice received from the various posters to date. I will work through this when I am at home tonight. I have previously compiled this on a RH8 box, but I guess there are package/path issues this time round as you have all kindly pointed out. Eric, I will try to solve this issue, as it is a learning experiance on compiling as well as ultimately having the programme installed and running. If I go back to the RPM (I have had this loaded previously), I am interested in if you use any additional plugin's, and if so are they compiled from source, or are there RPM versions? This list is as useful as ever.....thanks!! -- Regards, Roland
Hi Alexandr, * Alexandr Malusek <Alexandr.Malusek@imv.liu.se> [22-12-03 05:48]:
Roland Hill <rolandh@ak.planet.gen.nz> writes:
On 'make' I get a lot of errors, so many that I have posted them here:
Install pkgconfig*.rpm and gtk2-devel*.rpm packages. If you need more packages then use pin or YAST to find them. e.g.
$ pin pkg-config ... ./CD1/suse/i586/pkgconfig-0.15.0-104.i586.rpm: -rwxr-xr-x root root 106564 Sep 23 18:47 /usr/bin/pkg-config ...
With the guidence from this list I have sucessfully installed gkrellm from source. For the list archives I installed the following (there was a series of errors after running 'make' after installing each package): - pkgconfig - gtk2-devel - glib2-devel - pango-devel - atk-devel This allowed the 'make' command to be sucessfull, then 'make install' installed the programme. Again, thanks for the pointers everyone, I have learnt something tonight. -- Regards, Roland Hill Registered Linux User #330226 http://pl.net/~rnrhill/rhweb.htm @ http://counter.li.org
participants (5)
-
Alexandr Malusek
-
Dylan
-
Eric
-
Roland Hill
-
Vince Littler