PDA

View Full Version : autoconf.h problem



Worm
02-01-2004, 06:33 PM
Hi,

I am trying to compile 3D acceleration support for my Savage card. I downloaded all the code from the DRI CVS and when I start to comple, I eventually got an error message that /usr/include/linux/autoconf.h was missing. I did a find and that file was located in my kernel source directory knoppix-2-4-22-xfs/include/linux. I copied it there and now my programs compile fine. Is there a reason it is not copied to /usr/include/linux when I do a hard drive install? It looks like just about every other file in the source tree was also in /usr/include/linux but autoconf.h.

Cuddles
02-01-2004, 07:18 PM
Worm,

Not sure on this, maybe someone else has a more difinitive answer, this is my guess (es)

1) The install script was in error, or the person who designed the install, pointed it to that location... (in which case, the person thought that was ok, or didn't realize it was going to that location)

or...

2) The person may have thought that that file was a "common" file, and it should be placed in that location, either as well as where you were compiling (in which case they forgot the other location to ALSO place the file), or, they may have "assumed" that would be where you would be compiling it at (in which case, the assumption they made was invalid).

In either case, I think you were in correctness to copy the file where you needed it, and maybe not moving the file. ( who knows why it was put their, and I wouldn't make the assumption, myself, to remove it from where they thought it was to be, copy is good :D [IMHO] )

Someone have any other ideas on this?
Cuddles