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.
"./configure" creates a "makefile" with the options appropriate for your system. In doing so, it check to see what you have installed on your system; specifically, the things the compilation is going to need.
"make" runs the compile portion of the makefile. That is, it takes the source code, and creates a functional application out of it.
"make install" runs the "install" portion of the makefile, copying and linking the appropriate parts of the application and it's libraries so that a user can run the application.
Edit: biojayc posted while I was typing. Biojayc: what is the *exact* error output by "make install"? That info is needed to help solve the problem.
info about exporting environment variables here
or another post on LQ here (might be good to follow the link in that page to the java SDK page).
set your variable by typing this at terminal window:
Code:
export GLIB_CONFIG=/somePath/here
and type the path you want it to reference to.
im posting this because you asked.. if you installed glib then it should have installed a glib_conf script file... you can use the path of that file in the export command. if you didnt install it however, then this wont help, probably.
I checked the 'usr/bin/' directory and there is an executable called man in there, so that's why it says theres not a directory. I'm still very confused though what is going on. I don't understand linux at all. Why can't I just install glib to some location, and then set the environment variable for it so that xmms can find it? and if I can, how do I do so?
Originally posted by simeandrews Wow, I was just making a somewhat educated (aka looking at what happens) guess!
Just to make sure, when you are doing ./configure --prefix=/usr, are you root? Just making sure, because only root can make changes to usr.
No, you are not root. Specifying the prefix configures the makefile to *install* to that location. Of course, then you need to do the "make install" as root.
Edit: biojayc: Doh! Of course. That's why the Prefix *should* be "/usr".
Now why that didn't work for you, I don't know ...
You're welcome, biojayc. This is a big community, so replies are *usually* pretty fast.
To expand a little more on the tar.gz, and compile/make stuff, this is the common routine for using these files. (Note: for newbies, I *always* recommend using your own distro's package management system over compiling source, when possible. It's SO much easier.)
1) Download the tarball, e.g., "application1.tar.gz".
2) Open a terminal window.
3) $ cd /path/to/downloaded/tarball
4) $ tar -xvzf application1.tar.gz
(This step extracts the source code from the tarball, and typically puts it in a directory with the same name as the tarball, minus the ".tar.gz".)
5) $ cd application1
6) $ ./configure --prefix=/usr
7) $ make
8) $ su
9) <enter root password>
10) # make install
11) # exit
And check out this thread for a good discussion about tarball, and rpm files.
Edit: nadroj: apparantly the install puts some man pages out for the user to see.
okay, I glib seemed to install fine with no erros, but there's no glib-config file on my computer anywhere. When I try to run ./configure on xmms, it errors as it did before and says to set GLIB_CONFIG environment variable to the glib-config script. But sense there isn't one, what do I do? The program says it needs v1.2.2 or higher, but the glib I'm trying to install is 2.6.3, so is it possible that it's such a higher version that it is implemented differently, and thus xmms just doesn't work with it anymore? This is getting pretty frustrating.
Also, I don't have an internet connection in linux, so I have to reboot into windows to post again, so that's why it may take a bit between posts. I've tried to get ndiswrapper to install but it errors during the ./configure phase. don't remember the exact errors because I have to print them out which I didn't do.
I'm running Mandrake 10.0 Official. Whenever I go to the package manager and try to add in packages, sometimes it tells me to insert instalation cd 4, but there is only 3 cds? what is this mysterious 4th cd it's asking me for?
I was installing some stuff under developement, xmms, and some games when this happened last.
i read somewhere that glib-conf is supplied in the glib-devel package... heres a link to the rpm glib-devel dunno if this will help.. maybe try installing this and try installign xmms again?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.