how to install tar.gz files
I use mandrake 10.1 community (or 10.0.1 dunno)
can somebody pls explain me how to install a tar.gz file, now the only successful installation I can do is with a rpm file, but you don't always find rpm's. So what I want to be able to do is go to the command line and install a tar.gz file. In many forums I found something like ok you type this eg install <tarball> <target dir> ok this all is very nice and clear but i don't know where you normally install software (let's say the program files directory in windows). Could somebody explain this very very clear because I am a true newbe to linux (i have mandrake up and running for, let's say at the time of writing this, 4 hours Wannes Smet |
|
fast
one hell of a fast reply thx
|
I am also really new at this. I followed the directions on that link but when I run the configure command, it goes for a while and then says "configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details." A bunch of files are created, but when I try to run make, it says "make: *** No targets specified and no makefile found. Stop." Even though there are three different makefiles, Makefile.am, Makefile.am.in, Makefile.in. Any suggestions about what I should do to fix this? |
Is gcc-cpp installed? gcc-cpp is the compiler and c preprocessor. do
rpm -qa|grep cpp as root and see if you get output(the output of this command on my mandrake 10 box gives me this --> gcc-cpp-3.3.2-6mdk) if not then install the gcc-cpp package and any dependencies. linux_terror |
The output I get from that is:
gcc-cpp-3.4.1-3mdk I'm running Mandrake 10.1, I just downloaded and installed like three days ago. |
can you post the config.log for us to take a look at, might shed some light.
Thanks. linux_terror |
Well, I don't know if it is soposed to be this long, it was too big to post so here's an URL to it
config.log |
it looks like its definitely not finding g++, do
rpm -qa|grep gcc-c++ do you get output, this is c++ support for gcc, if you dont get output install the gcc-c++ package and any dependencies and see if it works. linux_terror |
I don't get any output for that. I'm downloading the gcc-c++ package right now. I have a question though, why would this not already be installed, seeing as though it must be an integral part of dealing with tar.gz files. was there some sort of option I might have missed when I installed Mandrake??? Thanks for your help by the way :)
|
I think its the 'development' section that all of this is contained in, Im running MDK 10.0 and haven't tried 10.1 yet so there may be some issues with it, Im really not sure. Please post how it goes. I'll be up for a little while longer if you run into a snag. And hey, glad to help :D
linux_terror |
Well, the file I downloaded is gcc-3.4.1-4mdk.src.rpm
I got it from here: http://rpm.pbone.net/index.php3/stat....i586.rpm.html I'm not totally sure what I'm soposed to do w/ this kind of file but when I click on it, it asks me for root password, then asks me if I want to install it, I clicked yes and it says: Some package requested cannot be installed: gcc-3.4.1-4mdk.src (due to unsatisfied gcc-gnat[>= 3.1]) do you agree ? ??? Well I need to go to bed! So late it's almost early... |
do you have gcc installed?
rpm-qa|grep gcc output should look like this libgcc1-3.3.2-6mdk gcc-3.3.2-6mdk <---this is the one your looking for gcc-cpp-3.3.2-6mdk gcc-c++-3.3.2-6mdk instead of downloading the packages I would check your cd's for them, you can go to start menu>system>configuration>packaging>install software and look to see if they are on the cd's, this will also take care of dependencies. Also just fyi, to install rpm's on the command line you would do this rpm -Uhv packagename.rpm yeah, 5:00am here, time for bed, LOL. I'll check tomorrow and see if you got it workin. Cya, linux_terror |
All times are GMT -5. The time now is 09:17 AM. |