LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-29-2005, 09:36 AM   #16
kapalka
Member
 
Registered: Mar 2005
Distribution: mepis
Posts: 33

Original Poster
Rep: Reputation: 15
command line


The command line problem relates only to urpmi. It fails becasue Mepis doesn't use it.

That I discovered through my own research about urpmi.
Yes, it feels like hell to me too. I have spent hours, nay days working on this. I do understand that Linux is way different from MS and appreciate that difference.
It is nevertheless odd to me that if kernel source is on the cd and necessary, that it would not be downloaded with everthing else.
I bought the book "Linux Point and Click". WHile it has been helpful, I get a chuckle over the pollyanna tone that Mepis is easier than MS. He rattles on as if all your problems are just a click away, but never gets to the meat when the click doesn't work.

I do apprecate all the help you guys are giving and I have indeed learned much about the whole system that will serve me on other projects.

Thanks,

Ron
 
Old 03-29-2005, 11:37 AM   #17
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 835

Rep: Reputation: 43
Dependency Hell: Been there, done that, got the T-Shirt.

I don't think he's in dependency hell - at least not yet. How many people do you know who have installed all the necessary packages when they first tried Linux?

Kapalka:
1. Is /usr/src/linux present on your hard disc? If yes you do not need to do anything with it. It just needs to be there for make.

2. autoconf.h is a tricky one. In your file manager, go to /lib/modules. You will probably only have one subdirectory, with the name of your kernel version - I don't think you've got to the stage where you've recompiled your kernel yet!

Enter this subdirectory. It will be named something like 2.6.10.... The name does not really matter.

You should find 3 more directories called build, kernel and source. Build and source might be in a different font as they are links to other directories. Right click on source and select properties. This should say "points to /usr/src/linux........ (...... means may be more to the name). Build should be the same.

If you do not have all this then your linux source is incorrectly installed. If on the other hand you do have all this then go to /usr/src/linux/include/linux/

Autoconf.h should be there. If not then, again the source has not been properly installed.

Try all this, come back with the results and we'll take in from there.
 
Old 03-29-2005, 12:48 PM   #18
kapalka
Member
 
Registered: Mar 2005
Distribution: mepis
Posts: 33

Original Poster
Rep: Reputation: 15
kernels

Thanks,
I will have to check it out this evening. Have to work to support my computer habit. Actually the change hasn't been too bad yet, still nder the price for A MS upgrade by alot!
I am beginning to understand the process a lot more.
Ron
 
Old 03-29-2005, 04:16 PM   #19
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 835

Rep: Reputation: 43
The initial part of the *nix learning curve is a very close relative of a cliff overhang. After that it starts to make sense, lots of sense.
 
Old 03-29-2005, 04:18 PM   #20
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Quote:
Originally posted by davcefai
How many people do you know who have installed all the necessary packages when they first tried Linux?
Well, I did. I use Gentoo and it takes care of dependancies automatically and does a very good job of it at that. That is why I left Mandrake. Gentoo is a bit tough for someone just starting out but it is very easy once you get it installed. Just have to watch updating those config files.

With my first install of Mandrake, I installed everything I checked as many of those little boxes as it would let me check, some cause conflicts I guess. It was still a nightmare to update though.

I have never seen a "point and click" Linux distro though. Is that guy full of mud or is it more smelly than that?

Later

 
Old 03-29-2005, 04:23 PM   #21
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Quote:
Originally posted by davcefai
The initial part of the *nix learning curve is a very close relative of a cliff overhang. After that it starts to make sense, lots of sense.
VERY TRUE!!!!!!

I got to type faster.

Later

 
Old 03-29-2005, 08:14 PM   #22
kapalka
Member
 
Registered: Mar 2005
Distribution: mepis
Posts: 33

Original Poster
Rep: Reputation: 15
I'm back

Okay yes, I have /usr/src/linux
In /lib/modules, I have build and kernal...do not have source

I think that this is what I am supposed to download from the cd

just do not know the command for Mepis

in mandrake it is urpmi kernel-source
bad command for Mepis

Last edited by kapalka; 03-29-2005 at 08:16 PM.
 
Old 03-29-2005, 11:48 PM   #23
kapalka
Member
 
Registered: Mar 2005
Distribution: mepis
Posts: 33

Original Poster
Rep: Reputation: 15
modules

Yes, I do have /usr/src/linux present on hard disc.
In /lib/modules I have the directories call build and kernel…Source is not there.

There is and autoconf on the hard drive, but not with the .h


I played around a bit, Mepis uses apt-get but I could not get it to access the CD to download kernel-source.
I ded use kpackage to examine the cd info, but nothing there was visible for the info I needed.
It seems that Mepis hanles a lot of theings differently from other instructions that I find.

Okay? I have no idea where to go
apt-get kernel-source is a bust too.
 
Old 03-29-2005, 11:55 PM   #24
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 835

Rep: Reputation: 43
Ckeck that autoconf.h is where I told you. Then open a terminal in /lib/modules//2.6.10 or whatever (where you have kernel and build. Then, as root, enter the following invocation:

ln -s /usr/src/linuxwhatever build

copy the "points to" in the properties of source.# so that when you've finished build and source point to the same directory.

Assuming that autoconf.h is there, this will fix it, I hope.

To understand what's going on, look up links in linux.
Good Luck!
 
Old 03-30-2005, 01:31 PM   #25
kapalka
Member
 
Registered: Mar 2005
Distribution: mepis
Posts: 33

Original Poster
Rep: Reputation: 15
??

I think I may have confused you.
I do not have the "Source" file.
Build and kernel exist, but not source. Isn't that the one I have to create, or are your instructions doing that?
My "Autoconf" doesnt not apperar to the the right one either "autoconf.h", at least it is not int he right place.
Ron
 
Old 03-30-2005, 04:21 PM   #26
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 835

Rep: Reputation: 43
AHA!

You must install the kernel source, or at least the headers. I'm not familiar with your distro, I use mandrake. However the kernel source should be on one of your CDs so fire up your software management and install at least the headers, preferably the entire source (you'll need it later anyway).

You will not be able to compile any packages until you do this. Simplistically, the compiler needs to look at source files to be able to build the package for your machine. So go on, reach for that CD.

Note: Do not try to download the most recent kernel. You need the source for the kernel you are using.
 
Old 03-31-2005, 12:19 PM   #27
kapalka
Member
 
Registered: Mar 2005
Distribution: mepis
Posts: 33

Original Poster
Rep: Reputation: 15
okay

I will try that tonight.
Thanks for your time and knowledge.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
extract modem and printer zips kapalka Linux - Newbie 1 03-27-2005 04:00 AM
Newbie unable to extract modem driver to directory in SUSE 9.2 Personal Bish Bash SUSE / openSUSE 6 03-16-2005 10:14 AM
Audio driver for ASUS board and HP 1150 Laser PRinter Driver ccatindia Linux - Hardware 1 05-11-2004 04:20 AM
Success with OpenOffice1.1 and Zips larwana LinuxQuestions.org Member Success Stories 0 03-16-2004 06:03 PM
how do i make redhat recognize my printer new printer driver Kilahchris Linux - General 2 03-04-2003 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration