Debian :: Installing Kernel Sources - Make Command To Build Package Fails

Jul 22, 2010

I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".

View 3 Replies


ADVERTISEMENT

Debian :: Installing Kernel Sources - Compile And List

Apr 5, 2010

I am not new to Debian and used to use commands like "apt-get install <package>", "apt-get update", "apt-get upgrade" and "apt-cache search <string>" regularly. But I never understood those Debian programs and the Debian package system with it's numerous programs and way to install things and work on software and configurations. Now, I just wanted to do something that I thought to be really easy. Get the source of an existing package. And despite spending over 3 hours - including reading the man-pages of commands - I cannot find a way!

Two things:
dpkg --get-selections | grep openvz
linux-image-2.6-openvz-amd64 install
linux-image-2.6.26-2-openvz-amd64 install

I already don't understand why I have two such packages installed. I would like to download the source of my kernel: apt-get source linux-image-2.6.26-2-openvz-amd64. This downloaded linux-2.6_2.6.26-21lenny4.dsc, linux-2.6_2.6.26.orig.tar.gz and linux-2.6_2.6.26-21lenny4.diff.gz

Then, I wanted to patch this - having found no explanation, I did:
cd linux
patch < ../linux-2.6_2.6.26-21lenny4.diff

That seemed to patch the kernel. But I am not sure - there are new files like this now_
[...]
Only in linux-2.6-2.6.26: xenctrl-capabilities.patch
Only in linux-2.6-2.6.26: xenctrl.patch
Only in linux-2.6-2.6.26: xenctrl-privcmd.patch
[...]

So, how can download the complete Debian kernel source? And what do I need to be able to compile it? And - HOW to just list all available sources and search in them?!? I found lots of webpages where tools like "make-kpkg" are used, which I do not understand again. Under SuSE, I could just select the package from a list, say "make oldconfig install modules modules_install" and be ready. Under Debian, I just find no way ...

View 14 Replies View Related

Ubuntu :: Adding Package Sources Fails - HTTP Not Found

Jul 2, 2010

When I try to add software sources (specifically those for Scratchbox, but I get the same error with everything), I get an error message: "http://http not found". Obviously that is not a valid APT line and I have no idea what it is doing in my software sources. How do I take it out?

View 2 Replies View Related

Fedora Installation :: How To Get Kernel Sources (Package)

Mar 2, 2009

Is it possible to get a package via yum that has the kernel sources? In the "Add/Remove Software" GUI program, I have enabled the "Fedora source" s/w repository. Even then, the only kernel package I can find is the "The Linux Kernel", linux-2.6.27.15-170... which essentially provides only the kernel binaries and headers but not the source.

View 5 Replies View Related

Software :: Package Gpart Fails To Build On Powerpc?

Apr 17, 2010

Question is: How do I compile a package for little endian on big endian proceessors? Gpart is known to build on arm-el, ia64, i386, and amd64. I'm using gcc 4.3 and have versions 3.4, 4.1, 4.2. Build environment is debian lenny, powerpc.

View 4 Replies View Related

Slackware :: Nvidia Driver Package Refuse To Cooperate With Kernel Sources?

Aug 3, 2010

I'm using Slackware 13.0 on rather old PC with old Riva TNT2 video card. Default driver is "nv". Everything work fine, but without hardware 2D acceleration under X.

After studying various manuals I
1. downloaded Nvidia binary package suitable for my video card.
2. Recompile kernel without Riva framebuffer support.
3. Start Nvidia script.

Script said: "Error: unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured...""

Kernel sources are in /usr/src/linux-2.6.29.6 I have all kernel packages installed. I was trying various switches for script in order to show the right path - nothing! 8 Some people say that Nvidia script don't like 4th digit in a kernel's name and get it from "uname -r" output. Can I change it somehow?

View 14 Replies View Related

Slackware :: VirtualBox < 3.1.4 Module Build Fails On 2.6.33 Kernel

Mar 4, 2010

I had an issue with the module build for vbox 3.1.2 breaking on the latest kernel ( /etc/rc.d/rc.vboxdrv setup ). Apparently the issue is that a kernel header (autoconf.h ) has changed its location in the module tree and hence the issue.

2 options:

1. upgrade to 3.1.4

2. create a symlink as follows

cd /usr/src/linux/include/linux
ln -s ../generated/autoconf.h autoconf.h

View 12 Replies View Related

Fedora :: Akmods Fails To Build VirtualBox-OSE Driver For Kernel 2.6.40-4

Aug 2, 2011

I had no problems up to the newest kernel version. But for 2.6.40-4 akmods fails to build the kmod with the following error:

Code:
Building RPM using the command '/usr/bin/akmodsbuild --target x86_64 --kernels 2.6.40-4.fc15.x86_64 /usr/src/akmods/VirtualBox-OSE-kmod.latest'
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/akmodsbuild.yob64XwN/BUILD/VirtualBox-OSE-kmod-4.0.4/_kmod_build_2.6.40-4.fc15.x86_64/vboxnetflt/vboxnetflt.mod.o
LD [M] /tmp/akmodsbuild.yob64XwN/BUILD/VirtualBox-OSE-kmod-4.0.4/_kmod_build_2.6.40-
[Code]...

View 13 Replies View Related

OpenSUSE Install :: Installing Kernel Through RPMs Without Compiling Sources?

May 10, 2010

Is there any way to install a kernel using rpms and avoid compiling its sources? I am using OpenSUSE 11.2.

View 7 Replies View Related

Software :: Compiling Patch - Installing With Full Kernel Sources?

Apr 8, 2011

I am trying to compile a patch for HDMI audio, reference this thread [URL]

Code:
Instructions:
- download alsa-driver-1.0.21 from alsa homepage
- unpack downloaded alsa:
$ tar jxvf alsa-driver-1.0.21.tar.bz2

- download and apply my patch
$ wget http: [URL]
$ cd alsa-driver-1.0.21
$ patch -p 1 < ../alsa-driver-1.0.21-nvidia-ion2-hdmi.patch

- compile alsa
$ ./configure
$ make
$ make install
when I do ./configure it outputs this

Code:
The file /lib/modules/2.6.33.7-pclos6.bfs/source/include/linux/autoconf.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.33.7-pclos6.bfs/source). How can I direct it to install with the 'full kernel sources' ?

View 8 Replies View Related

General :: Build Kernel With 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Using Ltib

Apr 29, 2010

I use ltib for mpc8272ads. How to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y'?

View 3 Replies View Related

Hardware :: Installing NVidia GeForce 2 MX 400 - ERROR: Unable To Determine The Version Of The Kernel Sources

Jan 11, 2011

I have installed Arch Linux quite a few weeks ago; but I'm still trying my best to install the nividia display driver for my graphics card (nVidia Geforce 2 MX 400). Not only in Arch but have tried installing on other distros and still failed. I have read up all the documentations and I still find it hard to do this task. When I used the terminal and executed the NVIDIA-Linux-x86-94.43.01-pkg1.run file without any window manager running, I get this problem:

Quote: ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.35-ARCH/build'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.

ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at [URL].

Now I'm using Arch Linux Kernel 2.6.35 and I have got the source. But where am I suppose to put it now? I do not want to change the kernel. I just want the nVidia installer to identify that there is a kernel source so that it can install. I have searched up a lot on websites and ended up with no proper guide. This is a very old driver. So since now I have the nVidia driver installation package and also the kernel source

View 13 Replies View Related

OpenSUSE Hardware :: Build / Make Custom Driver Into Kernel?

Mar 29, 2009

I'm new to linux and recently installed openSUSE 11.1 on my Lenovo Thinkpad SL500. So far it's great... only problem is the hotkeys and brightness control don't work. Digging around online I found this "experimental" driver that purportedly works fine, but I have no idea how to compile, install, or otherwise use it. Here... tetromino's lenovo-sl-laptop at master - GitHub I'm not sure what to do with the makefile and C file provided. For example, what do I do with this instruction...

"To enable the brightness control, load the module with the "control_backlight=1" module parameter (i.e. insmod lenovo-sl-laptop.ko control_backlight=1 )" I know someone on here will be able to explain how to do this in a "computer engineering for chemists" language! I'm comfortable enough working in the terminal with commands, but have found no real straightforward explanation of how to do so (only "programming" experience is MATLAB m file writing).

View 9 Replies View Related

General :: Build Kernel With 'make CONFIG_DEBUG_SECTION_MISMATCH=y' In Ltib For Mpc8272ad

Apr 29, 2010

how to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y' I use ltib for mpc8272ads

View 1 Replies View Related

Ubuntu Installation :: Build Essential But Make Command Not Working

Dec 14, 2010

I have build-essential, but make command not working I have build-essential package, but there is still a problem with make command. When I run it in a directory, it shows following message: mudassar@javaDev-1:~/Desktop/gwget-0.99$ make make: *** No targets specified and no makefile found. Stop. When I explicitly specify a make file, the following message appears:

[Code].....

View 1 Replies View Related

Applications :: Installing Package Fails Dependencies

Feb 8, 2011

I'm trying to install a package which is failing these dependencies:

[code]...

I downloaded Gnome2-GConf-1.044.tar.gz and I installed it, but I still the package fails the dependencies, even Gnome2::Gconf. What I can do?

View 3 Replies View Related

Software :: Libc6 Debian Build Fails?

Feb 18, 2010

I am using my athlon64 machine running Debian squeeze i386 to build some packages optimized for a K6-2 machine. I decided to start with libc6 since most packages depend on it.

I installed the build dependencies via

Code:
apt-get build-dep eglibc

Then, as an unprivileged user, I downloaded the debianized source via

Code:
apt-get source eglibc

I changed to the source directory and ran

Code:
dpkg-buildpackage -rfakeroot -us -us
About 6 hours later, the build failed: [URL]

There were four config.log files:

Code:
./build-tree/i386-xen/config.log
./build-tree/i386-i686/config.log
./build-tree/i386-libc/config.log
./build-tree/i386-amd64/config.log

All of which end with exit status 0. They are also about 1600 lines each so I haven't read them entirely. If someone can tell me which one/ones is/are relevant, I will post it/them to a pastebin.

View 2 Replies View Related

Debian :: Can't Open Software Sources / Make It Possible?

Jan 11, 2011

I opened Synaptic to add a new repository. When I did Settings-->Repositories nothing happened. Then I tried to open it from System-->Administration-->Software Sources. Again nothing. code...

View 11 Replies View Related

General :: Can't Build RRDTool On RHEL4 - 'make' Command Give Error Message

Mar 19, 2010

I'm new to LinuxQuestions and this is my first post. I'm trying to build rrdtool to install Cacti and encountered the following problem: 'make' step returns an error messages:

Code:
./.libs/librrd.so: undefined reference to `xmlTextReaderGetParserLineNumber'
collect2: ld returned 1 exit status
What I have doneDownload and build the latest version of pkg-config, glib, pixman, cairo, pango, atk, gtk+ from official sites.
Download rrdtool source
Set PKG_CONFIG_PATH correctly

[Code]...

There is actually another problem with the computer which is "The Nautilus application has quit unexpectedly" everytime I open File Browser application or right-click>Properties a file/directory. This happen only after installing cairo and pango and I don't know how to revert to old version. Since there are a lot of log files so I'm very confused. Can someone give me a direction on how to resolve this?

View 3 Replies View Related

OpenSUSE Install :: Installation Fails While Installing Package

Jul 1, 2010

I'm installing openSUSE 11.2 on a notebook from DVD + locally mirrored update and kde4 buildservice repositories. This usually worked fine, but this time, the installation always fails at about 89% while installing some package, whose name I can't find out. Its script fails with error 127, the error message blocks access to the log.

Is there a way to continue the installation process afterwards, instead of always trying to reinstall and hoping to find out the name of the failing package?

View 3 Replies View Related

Debian Configuration :: Build A Package - Debian / Rules Error?

Apr 2, 2011

I recently tossed Ubuntu for Debian Unstable for my personal machines and I'm having trouble building Emerald into a package. I've already configured and installed the package (using the usual ./configure, make, make install) but I wanted to make a deb for future use (for myself and for others). However every time I try to run dpkg-build I get the following error message.

dh_install -pemerald  --sourcedir=debian/tmp
dh_install: emerald missing files (usr/bin/*), aborting
make: *** [binary-install/emerald] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

[Code]...

View 2 Replies View Related

Fedora :: SystemTap Fails Due To Missing Package (kernel-debuginfo)?

Jul 12, 2010

I'm having troubles running systemtap scripts. It fails to run with message:

Code:

Checking "/lib/modules/2.6.33.3-85.fc13.i686/build/.config" failed: No such file or directory Ensure kernel development headers & makefiles are installed.

Then I typed:

Code:

$rpm -q kernel kernel-devel kernel-debuginfo
kernel-2.6.33.3-85.fc13.i686
kernel-devel-2.6.33.5-124.fc13.i686
kernel-devel-2.6.33.6-147.fc13.i686
package kernel-debuginfo is not installed

So no kernel-debuginfo, a package which I cannot find in repo. So where to get it and why it's not included in default installation if SystemTap is. It's like having Apache without tcp/ip stack.

View 2 Replies View Related

Ubuntu :: Make-kpkg Strange Vanilla Kernel Build Errors: Found 60 Section Mismatch(es) ?

Apr 30, 2011

I've getting strange build errors when using make-kpkg with the latest (2.6.39-rc5) vanilla kernel.I'm using the procedure outlined here:
https:[url]....e.g.:

Code:
make oldconfig CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

I'm getting the following build errors:

Code:
Building modules, stage 2.
MODPOST 3053 modules
WARNING: modpost: Found 60 section mismatch(es).To see full details build your kernel with:'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC arch/x86/crypto/aesni-intel.mod.o[code]....

There is even much more error output but it looks like it is basically the same issue.

View 2 Replies View Related

Software :: Self Build Rpm Fails With Missing Dependencies On Build Host?

Sep 24, 2009

as I'm advancing in building some nice rpm I finally wanted to install on of my gems also the build was successful the actual install fails with missing dependencies.

Code:

$ rpm --root /home/sascha/rpmbuild/ -i ./RPMS/x86_64/memcached-1.4.1-2.x86_64.rpm
error: Failed dependencies:
libc.so.6()(64bit) is needed by memcached-1.4.1-2.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by memcached-1.4.1-2.x86_64

[code]....

View 1 Replies View Related

Ubuntu Security :: Script Running As A Special Build User Which Performs An Automated Build That Fails With (Too Many Open Files)?

Feb 11, 2011

I have an init script running as a special build user which performs an automated build that fails with (Too many open files).I updated /etc/security/limits to allow the special user more open files, but that didn't work - the init script still isn't allowed more open files.Here's a demonstration of the problem;

Code:
$ su - sbsbuild -c "ulimit -n"
Password:

[code]....

View 1 Replies View Related

Debian Installation :: No Installable Kernel Was Found In Defined Apt Sources

Apr 28, 2015

I am currently trying to install Debian 8 "Jessie" AMD64 on a Dell Latitude E7240. I have two 256 GB SSD disks, on the first one I have installed Xubuntu 14.04 successfully. I want to install Debian 8 (XFCE) on the other one.I have tried using Debian-8.0.0-Live-amd64-xfce, Debian-8.0.0-amd64-DVD and Debian-8.0.0-amd64-netinst, all from a USB key (prepared with Unetbootin), but after successfully partitionning SSD disk, the installer raises the following issue:"no install-able kernel was found in the defined apt sources".

View 3 Replies View Related

Debian Configuration :: Checking For Directory With ALSA Kernel Sources

Jan 22, 2011

I followed this doc for the "debian method" for building the kernel: [URL]. I installed the source in /var/tmp/src/linux-2.6-2.6.32 , configured it, and tried make-kpkg modules-image. The error I get is:

checking for current directory... /usr/src/modules/alsa-driver
checking cross compile...
checking for directory with ALSA kernel sources... ../alsa-kmirror
checking for directory with kernel top-level makefile... /var/tmp/src/linux-2.6-2.6.32
checking for directory with kernel headers... failed
make[2]: *** [configure-stamp] Error 1
make[2]: Leaving directory `/usr/src/modules/alsa-driver'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
Module /usr/src/modules/alsa-driver failed.

I tried some hacks such as setting KBUILD_SRC or ln -s linux-headers-2.6.32-5-amd64/ /usr/src/linux - but these fail too.

View 2 Replies View Related

Debian :: Remove A New Kernel Build?

Sep 9, 2010

the correct way to remove custom kernels? I was trying to install a driver and only got it half way right and I want to wipe the slate clean and try again.Here's the original:Debian GNU/Linux, kernel 2.6.26-2-amd64root(hd0,4)kernel/boot/vmlinuz-2.6.26-2-amd64 root=UUID=64dcc531-f5b0-47e8-99c4-abeecfab9353 ro quietinitrd/boot/initrd.img-2.6.26-2-amd64

View 2 Replies View Related

Debian :: Build A Deb-package In Order To Detect And React To The --purge Switch?

Jun 27, 2010

how does one have to build a deb-package in order to detect and react to the --purge switch?

View 1 Replies View Related

Debian :: Automatic Removal Of Kernel Headers Package When Kernel Packages Are Removed

Dec 28, 2008

As a follow-on to something Telemachos said in another post:

Quote:

Originally Posted by Telemachos

You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:

Code:

If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:

Code:

I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.

For example, the linux kernels I have installed are:

Code:

Also, the linux-headers packages I have installed are:

Code:

So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:

Code:

I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved