SCIENTIFIC-LINUX-USERS Archives

February 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
David Sommerseth <[log in to unmask]>
Reply To:
Date:
Fri, 21 Feb 2014 10:31:53 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (505 lines)
On 20/02/14 13:38, jdow wrote:
> On 2014/02/20 03:21, David Sommerseth wrote:
>> On 19/02/14 15:08, jdow wrote:
>>> On 2014/02/19 01:59, Akemi Yagi wrote:
>>>> On Tue, Feb 18, 2014 at 9:29 PM, jdow <[log in to unmask]> wrote:
>>>>> What happened to it? It's really hard to get VirtualBox clients to
>>>>> work
>>>>> without
>>>>> OpenGL when you want to use the extra features. They won't compile
>>>>> because
>>>>> OpenGL seems to be missing. And I don't find it in the usual suspect
>>>>> repos.
>>>>
>>>> This is a known issue. You can find a workaround here:
>>>>
>>>> https://forums.virtualbox.org/viewtopic.php?f=3&t=58855
>>>>
>>>> This and some more useful info are in this CentOS wiki:
>>>>
>>>> http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest
>>>>
>>>> Akemi
>>>>
>>>
>>> Thanks Akemi. I did discover where the ghc_OpenGL files were. Here's the
>>> story.
>>> There is a missing kernel file and perhaps a problem in the kernel
>>> source.
>>>
>>> Trying to install the virtual box extensions I ran across a misleading
>>> error message about OpenGL not compiling. The machine I tried it on
>>> first
>>> had OpenGL missing. I finally figured out it had never been configued
>>> for
>>> epel. Half the problem was solved. But I got the same error. I traced
>>> back
>>> to the build error:
>>>        
>>> echo;                                                           \
>>>          echo "  ERROR: Kernel configuration is
>>> invalid.";               \
>>>          echo "         include/linux/autoconf.h or
>>> include/config/auto.conf are missing.";      \
>>>          echo "         Run 'make oldconfig && make prepare' on kernel
>>> src to fix it.";  \
>>>
>>> So to save time I went looking for the kernel source and attempted
>>> make oldconfig and make prepare. The latter failed. I am either missing
>>> something interesting or the kernel source is missing something
>>> interesting.
>>>
>>> [jdow@sl6 2.6.32-431.5.1.el6.x86_64]$ sudo make oldconfig
>>> scripts/kconfig/conf -o arch/x86/Kconfig
>>> #
>>> # configuration written to .config
>>> #
>>> [jdow@sl6 2.6.32-431.5.1.el6.x86_64]$ sudo make prepare
>>> scripts/kconfig/conf -s arch/x86/Kconfig
>>>    CHK     include/linux/version.h
>>>    CHK     include/linux/utsrelease.h
>>>    SYMLINK include/asm -> include/asm-x86
>>> make[1]: *** No rule to make target `missing-syscalls'.  Stop.
>>> make: *** [prepare0] Error 2
>>> [jdow@sl6 2.6.32-431.5.1.el6.x86_64]$
>>>
>>>
>>> So there may be two bugs here.
>>>
>>> First the kernel-devel includes do not have the autoconf file.
>>>
>>> Second trying to make prepare fails. (So does trying a subsequent "make
>>> clean".
>>
>> Do you have the kernel-devel package installed at all?  I'd try that
>> before doing manual kernel builds.  I believe that
>>
>> And btw ... don't compile things as root (unless explicitly told to by
>> documentation).  That can completely mess up things, even though the
>> kernel is probably one of the more safer packages to build.  Doing 'make
>> install', however, requires root privileges.  But wait for root access
>> until this point.
> 
> Kernel-devel is installed as are all the other required items. Somehow I
> got
> one of the two virtual machines to work. The other is still
> semi-unhappy. The
> 3D stuff won't compile, still.
> 
> The information Akemi posted is what guided me towards the solution.
> 
> Re actually compiling the kernel I'm a tad reluctant to do that. But going
> through make prep is no problem. The process has changed a little since the
> last time I compiled a kernel to make sure a driver I wanted was installed.
> I even contributed the fixes to the kernel that made the driver work right,
> since I was the one of the designers for the data the driver had to parse
> in order to work right.

Well, then I'm surprised ...

# yum whatprovides "*/include/linux/autoconf.h"
...snip...

kernel-debug-devel-2.6.32-279.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-279.el6.x86_64 : Development package for building
kernel modules to match the kernel
Repo        : sl
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-279.2.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-fastbugs
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.2.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-279.2.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-fastbugs
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.2.1.el6.x86_64/include/linux/autoconf.h



kernel-devel-2.6.32-279.5.2.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-fastbugs
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.5.2.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-279.5.2.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-fastbugs
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.5.2.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-358.2.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.2.1.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-358.0.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.0.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-279.9.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.9.1.el6.x86_64/include/linux/autoconf.h



kernel-devel-2.6.32-358.14.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.14.1.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-279.9.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.9.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-279.22.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.22.1.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-279.22.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.22.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-358.6.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.6.1.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-358.2.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.2.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-debug-devel-2.6.32-279.5.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.5.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-debug-devel-2.6.32-279.19.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.19.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-debug-devel-2.6.32-358.14.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.14.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-358.11.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.11.1.el6.x86_64/include/linux/autoconf.h



kernel-devel-2.6.32-279.11.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.11.1.el6.x86_64/include/linux/autoconf.h



kernel-devel-2.6.32-358.el6.x86_64 : Development package for building
kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-431.1.2.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-431.1.2.el6.x86_64.debug/include/linux/autoconf.h



kernel-debug-devel-2.6.32-358.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-358.6.2.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.6.2.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-279.11.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.11.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-debug-devel-2.6.32-358.11.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.11.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-debug-devel-2.6.32-358.6.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.6.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-debug-devel-2.6.32-358.23.2.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.23.2.el6.x86_64.debug/include/linux/autoconf.h



kernel-debug-devel-2.6.32-279.14.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.14.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-279.19.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.19.1.el6.x86_64/include/linux/autoconf.h



kernel-devel-2.6.32-279.14.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.14.1.el6.x86_64/include/linux/autoconf.h



kernel-devel-2.6.32-279.1.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.1.1.el6.x86_64/include/linux/autoconf.h



kernel-devel-2.6.32-431.el6.x86_64 : Development package for building
kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-431.el6.x86_64/include/linux/autoconf.h



kernel-devel-2.6.32-431.1.2.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-431.1.2.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-431.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-431.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-358.23.2.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.23.2.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-358.6.2.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.6.2.el6.x86_64.debug/include/linux/autoconf.h



kernel-debug-devel-2.6.32-431.5.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-431.5.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-debug-devel-2.6.32-279.1.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.1.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-358.0.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.0.1.el6.x86_64/include/linux/autoconf.h



kernel-devel-2.6.32-431.5.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-431.5.1.el6.x86_64/include/linux/autoconf.h



kernel-debug-devel-2.6.32-358.18.1.el6.x86_64 : Development package for
building kernel modules to match the debug kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.18.1.el6.x86_64.debug/include/linux/autoconf.h



kernel-devel-2.6.32-279.5.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-279.5.1.el6.x86_64/include/linux/autoconf.h



kernel-devel-2.6.32-358.18.1.el6.x86_64 : Development package for
building kernel modules to match the kernel
Repo        : sl-security
Matched from:
Filename    :
/usr/src/kernels/2.6.32-358.18.1.el6.x86_64/include/linux/autoconf.h


Maybe a wrong include path?


--
kind regards,

David Sommerseth

ATOM RSS1 RSS2