NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Missing /usr/include/ files
New Posts  All Forums:Forum Nav:

Missing /usr/include/ files

post #1 of 7
Thread Starter 
I have a very old computer (Pentium 1 200Mhz, 64MB RAM) that I wanted to slap linux on to go along with my laptop and have it run as a server or something. I knew beforehand that I could not boot from the CD drive, since the bios is so old, so I was looking at the distros I had already burned out, but most of them were based on the 2.6 kernel, and no distros anymore supply boot floppy images for distros based on this kernel. So I decided to do a net install of debian, which actually worked out pretty well. It downloaded and configured itself for the base package really well, and all of my hardware was recognized. However, it didnt install anything BUT the base package.

I knew I was probably not going to be able to run X with a computer so old, and that was fine with me since i'm not afraid of the CLI. I apt-getted a few programs I wanted, like sshd, ftpd, apache, and other network related things. Once I got ssh installed, I could terminal in from my laptop through windows or linux, and got rid of the monitor and keyboard for the old tower.

Now we get to my real question. I play MUDs (text-based mmogs that date back to the 80s), moreso in the past than now, and I wanted to host one off of my machine. Thats actually why I got into linux in the first place a few years back. The majority of MUDs out there run on unix or unix clones, so I grabbed a few sources and slapped them on my machine. When I tried to compile them, I get lots of errors that pointed to missing header files in my /usr/include dir. I cd'ed over there, and notice that it was empty. I had a friend of mine put his header files from his linux install over there, but it didnt do any good.

For the life of me, I cant figure out what goes in there, or what package I can install to put it there. I'd rather have the header files that go with my specific install, rather than the ones I borrowed, so if anyone could shed some light, i'd be appreciative.

P.S. Sorry for the long background information post
post #2 of 7
damn small linux runs on older machines than then 1 you have
i have it running on a 160Mhz laptop with X too.

browse the damn small linux mirros and you will find a boot image too

i have 1 somewhere...
post #3 of 7
Thread Starter 
I have no problems with the install itself, it runs great, I just want to be able to compile things. I did some research on what the /usr/include directory actually is, and it appears to be a general header dir for C in general, so there's probably a specific debian package I can get, maybe a something-devel. Any ideas?
post #4 of 7
Very good guess actually.

Yes /usr/include contains the header files for libraries you compile and install.

So really you will need to find out what libraries you need for those sources to compile and then apt them. That is the pain that apt makes nice and easy when you install things through it, and is part of why apt was made in the first place, to get rid of the dependency hell for compilation and rpms.

So yea you need to figure out what development libraries you need to install that that peice of source code tries to include in its compilation.

Try posting some of the errors you get from compilation if you cant figure it out, and we can try to show you what to look for, and help you figure out what libraries you need.

Seablade
post #5 of 7
Thread Starter 
I'm at work currently, but the errors are many and go past what my ssh client's buffer can handle. Is there a way I can export those error messages to a text file when it messes up?
post #6 of 7
Yea, cant remember the correct syntax, I always gotta play with it when I do it, but it uses something like command >> textFileYouWantOutputToGoIn

Either that or command | textfile

Cant remember right off hand, very useful feature in linux at times.

Seablade
post #7 of 7
Thread Starter 
Im currently trying to wipe out my install and try another one, so I'll get back to you on the progress. Anyone know any distros that have really good legacy support? Im trying DSL, but I just cant seem to get it to do the HD install correctly. Ive followed all the instructions, but it wont write. Oh well. I'll be looking around.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Missing /usr/include/ files