LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   problem in installing .tar.gz package in mandriva 2008 (https://www.linuxquestions.org/questions/linux-desktop-74/problem-in-installing-tar-gz-package-in-mandriva-2008-a-621524/)

det0nat0r 02-15-2008 11:31 PM

problem in installing .tar.gz package in mandriva 2008
 
please any one can help me to install tar.gz file in mandriva 2008. i am new in linux

aus9 02-16-2008 06:20 AM

to decompress a tar.gz open a shell and run command
Code:

tar zxvf file.tar.gz
cd (to newly expanded folder)
ls

if you have KDE you can unpack with Konqueror...and go into its contents...but the unpack is in ram only....so right hand click and copy the unpack to
/home/yourname/Mydocs or whatever you have called it

each unpack can not be run the same way...read the INSTALL or README


if you still unsure show a link to the file and we can give better info

liquerlover 07-25-2008 03:41 AM

cant "make"
 
it seems that i having some problem when want to "make" the the file. even though i log as root, i still cant make. it seems that "make" command doesnt seem to recognize by Konsole? can i know what is the problem?

aus9 07-25-2008 05:03 AM

have you installed a gcc and the dependencies?

jschiwal 07-25-2008 05:29 AM

Install the gcc, g++, binutils, autoconf and make packages. They will probably be needed. It the ./configure program says that you are missing a package, install the package and the package-devel version as well. Compiling from source, the header files for the package may be needed. The devel package also supplies the static library version as well.

Demonstration:
Code:

rpm -ql libjpeg
/usr/lib64/libjpeg.so.62
/usr/lib64/libjpeg.so.62.0.0
jschiwal@hpmedia:~> rpm -ql libjpeg-devel
/usr/include/jconfig.h
/usr/include/jerror.h
/usr/include/jmorecfg.h
/usr/include/jpeglib.h
/usr/lib64/libjpeg.a
/usr/lib64/libjpeg.so

Before installing a source package, use rpmdrake and see if there is a mandriva package available already. That can save you a lot of work and can avoid problems if the package you are compiling wants different versions of your libraries.


All times are GMT -5. The time now is 11:45 PM.