Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, I managed to get GCC installed (With some other stuff) but I still cannot get ./configure to work correctly. This is what I get when I use it:
checking for a BSD-compatible install... /usr/bin/install -c
checking weather build environment is sane... yes
checking for gawk... gawk
checking weather make sets $(MAKE)... yes
checking weather to enable maintaner-specific portions of Makefiles...
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler
I'm confused over this :/ if anyone can help me out, I'd be greatul for it! (Thanks for who-ever showed me the thread giving details of getting GCC from CD3)
I am using Lycoris Desktop/LS and have CD's 1, 2 & 3. It has been fully updated using the update function.
Ok, I installed the lib packages - but now I'm having a different problem.
Upon doing './configure' I get a long list of things (probably a good thing) until it finishes. the end of the list looks like this:
checking system type... Linux
checking pkg-config... no
checking for GLIB - version >= 2.0.3... no
*** A new enough version of pkg-config was not found.
*** See http://www.freedesktop.org/software/pkgconfig/
configure: error: "cannot find glib"
Ok, it seems pretty clear even to me, a complete newbie to Linux. But here is where the trouble comes in...
I downloaded pkgconfig-0.15.0 and now I'm having trouble installing it. ./configure seems to work ok for installing pkgconfig, and 'make check' gives me good results. (so does 'make') But if I try 'make install', I get un-explained errors. Here is what I get:
Are you aware that make install usually requires root privileges? Try doing 'su' just before you do make install. Note that root priveleges are not required to do ./configure or make.
i think lycoris doesn't need all the compiling progs by default so it doesn't install them. you'll need glib, gcc, g++ and others to compile without errors.
Muzzy is right. you need to be root before you
Code:
make install
so either use su or try sudo. beware though, sudo is powerful and dangerous if set up wrong
Thanks for that little tip about using 'su' before trying to use 'make install'. it seemed to do the trick!!
I believe I am *almost* at the last of my problems now, and I pretty much KNOW what I have to do - I just don't know how to go about doing it. I've now intalled GLib 2.0.7, but I don't think it's registering with 'pkg-config'. This is now what I end up with when I use './configure' :
checking for GLIB - version >= 2.0.3...
*** 'pkg-config --modversion glib-2.0' returned 2.0.7, but GLIB (2.2.3)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error: "Cannot find glib"
Right - so I have to remove GLIB 2.2.3 right? I think that's what I need to do, but I don't know how to do it. Migrating from Windows to Linux, I found myself rather stuck on this topic, and I don't want to do anything in-case I accidently cause harm to the system. If someone could post me a little info on how to go about doing this, I would greatly appreciate it!
does lycoris use rpm?? or any other package manager? if you have something like "Add or Remove Applications" or similar, then use it to remove glibc-2.0.7
if you use rpm, use
Code:
rpm -e glibc-2.0.7
if you installed from source (./configure, make, make install) then go to the directory you did it from, and type
Ok, I've now come to the conclusion that GLIB 2.2.3 was never actually installed, and it is in fact pkg-config that is wrong. It tells me to set the environment variable PKG_CONFIG_PATH to point to the correct configuration files.
This is the section I am talking about
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
I'm guessing I could point it towards the correct configuration files, I just don't know how to.
Is it just editing a text file or is it something more complex? If you could assist me on this problem, please do!
(I'm having a hard time at the moment, but the way I see it is - Learn from your mistakes, and then you'll be able to help others. I too, want to help others as you have all helped me)
Here is one way to fix the error. it is looking for a libxxx.pc file. this tells where all of the other files are located. usually, this is installed in either /usr/local.lib/pgkconfig -or- /usr/lib/pkgconfig. you can solve this by logging in as root and adding this line to yout /etc/profile file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.