View previous topic :: View next topic |
Author |
Message |
philou755 n00b
Joined: 10 Mar 2008 Posts: 6
|
Posted: Mon Mar 10, 2008 11:12 am Post subject: try to install vlc |
|
|
I try to install VLC and i have a problem with svgalib
Code: |
>>> Verifying ebuild Manifests...
>>> Emerging (1 of 12) media-libs/svgalib-1.9.25 to /
* svgalib-1.9.25.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking svgalib-1.9.25.tar.gz ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not find a Makefile in the kernel source directory.
* Please ensure that /usr/src/linux points to a complete set of Linux sources
*
* ERROR: media-libs/svgalib-1.9.25 failed.
* Call stack:
* ebuild.sh, line 1717: Called dyn_setup
* ebuild.sh, line 768: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* svgalib-1.9.25.ebuild, line 23: Called linux-mod_pkg_setup
* linux-mod.eclass, line 465: Called linux-info_pkg_setup
* linux-info.eclass, line 595: Called die
* The specific snippet of code:
* get_version || die "Unable to calculate Linux Kernel version"
* The die message:
* Unable to calculate Linux Kernel version
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-libs/svgalib-1.9.25/temp/build.log'.
|
Can you help me?
thx |
|
Back to top |
|
|
Airhardt n00b
Joined: 10 Mar 2007 Posts: 46 Location: Erlangen, Germany
|
Posted: Mon Mar 10, 2008 11:26 am Post subject: |
|
|
Could you post the output of
and
? |
|
Back to top |
|
|
philou755 n00b
Joined: 10 Mar 2008 Posts: 6
|
Posted: Mon Mar 10, 2008 12:06 pm Post subject: |
|
|
Code: |
# ls -l /usr/src
total 8
lrwxrwxrwx 1 root root 22 fév 8 11:15 linux -> linux-2.6.23-gentoo-r6
drwxr-xr-x 19 root root 4096 fév 12 18:28 linux-2.6.23-gentoo-r6
drwxr-xr-x 19 root root 4096 fév 12 17:41 linux-2.6.23-gentoo-r8
# uname -a
Linux philippe-gentoo 2.6.23-gentoo-r6 #6 SMP Tue Feb 12 15:43:31 Local time zone must be set--see zic i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
|
|
|
Back to top |
|
|
philou755 n00b
Joined: 10 Mar 2008 Posts: 6
|
Posted: Mon Mar 10, 2008 12:20 pm Post subject: |
|
|
i installed Gentoo since few time, so i'm a newbie here.
i checked for the timezone^^
thx for help! |
|
Back to top |
|
|
Airhardt n00b
Joined: 10 Mar 2007 Posts: 46 Location: Erlangen, Germany
|
Posted: Mon Mar 10, 2008 12:20 pm Post subject: |
|
|
Hmm, I thought there might be a discrepancy between the version of the kernel you are running and the kernel the symlink /usr/src/linux points to. However, this does not seem to be the case.
The message "Could not find a Makefile in the kernel source directory." probably means that the contents of linux-2.6.23-gentoo-r6 directory is somehow damaged or incomplete. This is possibly because you updated the kernel sources to 2.6.23-r8 and unmerged the former 2.6.23-r6 sources.
This is what I suggest:
1. Make the symlink point to linux-2.6.23-gentoo-r8.
Code: | rm /usr/src/linux
ln -s /usr/src/linux-2.6.23-gentoo-r8 /usr/src/linux |
2. Configure, build and install the new kernel (as you have done before; see http://www.gentoo.org/doc/fr/handbook/handbook-x86.xml?part=1&chap=7#doc_chap3 or http://www.gentoo.org/doc/fr/handbook/handbook-x86.xml?part=1&chap=7#doc_chap4).
3. Reboot and try emerging vlc again. |
|
Back to top |
|
|
|