On Tuesday 12 June 2001 17:25, you wrote:
Hi Bruce,
I just gave you the work around. The better way is to install the rpm package for those include files which is :- lx_suse-2.2.16.SuSE-18. Or you can have a link created from /usr/include/linux to /usr/src/linux/include/linux as someone had already suggested you. These two are the standard ways of doing it AFAIK.
Cheers, prasad
Bruce Scharlau To: suse-linux-e@suse.com
Subject: Re: [SLE] SOLVED: Compiling problem: No such file or directory 12.06.01 12:10 Please respond to bruce Mark, John and Prasad,
your solutions seems to have done the trick. Thanks for the help. Now I just need to configure apache and resin to run together. Oh yeah ;-)
So two quick questions more:
Is this just a quirk of distros that there is no 'specified' way to set them up (hence different distros) and that make and config scripts thus have to contend with different assumptions?
Will this be a common problem I'll keep encountering and thus have to keep making links to different files as I go along?
Cheers,
Bruce
On Tuesday 12 June 2001 09:16, you wrote:
Bruce Scharlau wrote:
Hi all,
I've decided to bite the bullet and try compiling some apps, but have run into missing files and can't work out which package(s) I need to add to get the beastie to compile properly. The app seems to be looking for things like:
linux/limits.h linux/errno.h asm/sigcontext.h asm/socket.h
Both linux/limits.h and linux/errno.h seem to be found down in /usr/src/linux-2.2.14/include/linux/ so do I need to change something in the configure script, makefile or something?
Any suggestions on getting this to compile (It's resin 1.2.7 by the way) would be greatly appreciated.
Make sure there is a link from /usr/src/linux to /usr/src/linux-2.2.14 and that you have done at least a make xconfig and make dep. Also there should be a link from /usr/include/linux to /usr/src/linux/include/linux and from /usr/include/asm to /usr/src/linux/include/asm-i386.
Prasad, I had a look at the lx_suse-2.2.14 rpm on my 6.4 distro and found it puts everything in /usr/src/... and therefore would need to have me put in the links as I've already done. Still, it's nice to know that it should work better when I eventually upgrade to 7.2 (I'm hoping!) at least for this pc. Thanks again. -- Cheers, Bruce