LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   KDE emerge problem (https://www.linuxquestions.org/questions/linux-newbie-8/kde-emerge-problem-412329/)

chemicalvamp 02-05-2006 10:13 PM

help me install kde 3.5.1 from tar balls on cd
 
i need help emergeing kde onto my system... i have no internet connection and whenever i try to emerge it wants to get online to get the files i have on cd......

please help me, tell me all the commands i need to type in

my kde files are here:
/mnt/cdrom/kde

any help will be greatly appreciated!

JimBass 02-05-2006 10:53 PM

We need more information to be able to give you specific instructions. Emerge is a management system for Gentoo. I am assuming that that what you have, because I don't know of other distros that use it. You should issue the command "man emerge" and find out if it is possible to direct it to a specific location for the sources. It may be, but I don't have a Gentoo box to test it out on.

If the kde files are tar.gz, then there are thousands of posts here on how to unzip and install from tar files.

Trying to install the kde things without an internet connection will be tricky, depending on what you have already. If you have a functioning older version of kde it should work with just the newest kde files, but if this is a brand new system, you may be lacking a serious number of dependencies that you'll need to get kde up and running.

Peace,
JimBass

chemicalvamp 02-05-2006 11:20 PM

yes i have gentoo 2005.1-r1 installed and the kde files are 3.5.1.tar.bz2... it seems like none of the help files and howtos are working, i find something that look promising, and when i go try it out.. nothing.. i need somebody to force feed me some command lines.... like do i need to move them to my hdd and extract them before i can emerge? am i missing something in my commands? like -nointernet?<---didnt work lol

JimBass 02-05-2006 11:26 PM

If you extract the file to your hard drive, you can try to compile and install it. If the file is /mnt/cdrom/kde/3.5.1.tar.bz2, then I would do this:

Code:

cd /usr/local
su (will ask root password)
tar jxvf /mnt/cdrom/kde/3.5.1.tar.bz2 .
cd 3.5.1
./configure
make
make install

Basically you unzip it, then try to compile. Look on the multitude of pages here and all over the web about compiling programs from source.

You'll probbably have errors at some point, so post those.

Peace,
JimBass

chemicalvamp 02-05-2006 11:33 PM

ok so heres my confession.. iam like super new... i got my first suse live cd a 2 years ago and lacked the means to install my own full distro and now i have it im running into problems i dont know how to copy/move/paste files, and if i did i wouldnt know where to put them... all i know is i need to be put into kde so i can start learning

i think ihave tried #tar xvjf <full file name.tar.bz2> but i think it wanted to extract it to the cdrw it is on? it said directory doesnt exist alot i believe before it aborted.

i just read that typeing #tar -xjf <filename.tar.bz2> -C dir/ would extract to wherever i want right? well where should i put it?

JimBass 02-05-2006 11:41 PM

Follow the commands I gave you.

chemicalvamp 02-06-2006 01:00 AM

ok typed in your commands and got..

cd /usr/local
*already logged in as root*
#tar jxvf /mnt/cdrom/kde/3.5.1.tar.bz2
error doesnt exist something something
#mount /mnt/cdrom/
mounting read only..
#tar jxvf /mnt/cdrom/kde/kdebase-3.5.1.tar.bz2
alot of files being extracted maybe?
-then it suddenly stopped and said:
bzip2: I/O error, bailing out, possible reason follows
bzip2: input/output error
input file = (stdin), output file = (stdout)
tar: unexpected EOF in archive
tar: unexpected EOF in archive
tar: error is not recoverable: exit now

so iam assuming that EOF means end of file.. so i checked the md5sums, reburned the cd checked the sums again, and iam going to try it again

chemicalvamp 02-06-2006 02:16 AM

ok so i extracted the tar.bz2 of the packages i want from the cd and they are now in /usr/local like this
#mount /mnt/cdrom/
mounted read only
#cd /usr/local
#tar jxvf /mnt/cdrom/3.5.1.tar.bz2
no such file etc..
#tar jxvf /mnt/cdrom/kdebase-3.5.1.tar.bz2
files extracted...
#cd /usr/local/kdebase-3.5.1
change was successfull
#./configure
checking files...
checking kde-configure..... missing
#make
make: *** no targets specified and no make file found. stop.

chemicalvamp 02-06-2006 02:52 PM

KDE emerge problem
 
after a few attempts i have installed gentoo, next step is installing kde, since the computer being installed to doesnt have interent i downloaded the kde packages from a kde mirror and burned them to a cdrw. i still have the cd but i also extracted them to /root/mydist but i cant get them emerged. if it helps the gentoo version is 2005.1-r1
and the kde version is 3.5.0

acid_kewpie 02-06-2006 04:24 PM

what would actually help if you actually told us what's happened. "can't get it emerged" isn't exactly useful.

chemicalvamp 02-07-2006 01:18 AM

ohh right lol im sorry i was quite tired when i wrote that..
#emerge kde
calculating dependencies (spin)...

then it says something 1 of 109
error fetching cyrus something-2.4.1.tar.gz
*the list goes on.. all files are older file versions*
retrys 5 times and aborts

so i changed /etc/make.cof and appended the line:
DISTDIR=/mnt/cdrom/.....for the .tar.bz2 files
then tryed
DISTDIR=/root/mydist/....for the extracted files
emregeing results where the same with both configureations

jimbass gave me this advice:
cd /usr/local
su (will ask root password)
tar jxvf /mnt/cdrom/3.5.1.tar.bz2 .
cd 3.5.1
./configure
make
make install

when i typed tar jxvf /mnt/cdrom/3.5.1.tar.bz2 it said no such file or directory
so i typed tar jxvf /mnt/cdrom/kdebase-3.5.1.tar.bz2, did that with all packages
#cd /usr/local/kdebase-3.5.1
./config
*checks files*
error an important file: kde-config not found
abort
#make
no target selected and no makefile

esje 02-07-2006 01:47 AM

My two cents:

- Did you update the portage tree after editing your make.conf and before retrying to emerge kde?
- As a newbie, wouldn't you be better off installing the 'stable' versions of both Gentoo and KDE?

chemicalvamp 02-07-2006 03:54 AM

yeah i know i thought about that while i was looking for kde. the first cdrw i burned had kde 3.5.1 extracting had the error EOF wich i assumed was end of file, i reburned the cd and it extracted just fine, i ran #cd kdebase-3.5.1 #./config and it said it was missing that file kde-configure. so i burned kde 3.5.0.. and i think that was in a stable folder

whats the command i need to run to update my portage tree, and the correct command for installing kde? would it be #emerge kdebase kdeutils kdelibs etc.. etc.. or am i wrong?

i know im a newbie, and i prolly shouldnt have started with gentoo as my first distro but i got it up and running.. just a bit more and i will have a working comp :D


All times are GMT -5. The time now is 04:56 PM.