Slackware :: Make The Kernel-headers With Src2pkg?
Jun 25, 2010
Im trying to make a sort of slackware using LFS.In the first chapter I have to make the kernel-headers this way :
make mrproper
make headers_check
make INSTALL_HDR_PATH=dest headers_install
cp -rv dest/include/* /usr/include
Can I do these steps also with using a the source and src2pkg ?
View 6 Replies
ADVERTISEMENT
Mar 10, 2010
when i upgraded to slackware-current few days ago i tried to create packages with src2pkg and i get this:
Checking for Makefile rule: 'install' Okay
Checking support for DESTDIR (or similar) - Found DESTDIR
Installing using DESTDIR - Using:
make DESTDIR=/tmp/xf86-video-intel-2.10.901-i486-1 install
Notice - Possible error running 'make install'
FATAL! Running make install has failed with error: 1
Try using INSTALL_LINE 'make -i install' Exiting...
is it because of i have slackware 32bits i installed src2pkg successfully on slackware 13 but on slackware-current if i remove it and do src2pkg --setup i get error something like cannot live without it every time. when wanting to create src2pkg-helpers.
but i want to know what im doing wrong ?
before i created packages successfully. i execute src2pkg as root
View 14 Replies
View Related
Apr 15, 2010
In INSTALL I can see:
Quote:
to build from either unpacked tarball or CVS source:
autoheader
autoconf
./configure # (--help to see options)
make # (the make from GNU, sometimes called gmake)
su # Possibly required
make -n install # (to see where all the files will go)
make -s install # (to really install, -s to silence output)
code....
I think that trouble is in autoheader. I don't now does src2pkg (2.1) support it.Is it impossible to build a package of privoxy with src2pkg?
View 9 Replies
View Related
Mar 11, 2010
I need to know what files are contained in kernel headers and where are they?
Are they the same for each kernel or no?
I need slack kernel headers for kernel 2.6.27.27
I just need the headers
View 4 Replies
View Related
Feb 26, 2010
I am trying to install vmware and i am getting an error:
Code:
Unable to build the vmmon module.
I guess they are not in /usr/src/linux/include (I also tried /usr/src/linux-2.6.29.6/include).
View 3 Replies
View Related
May 22, 2011
When I first did my install of Slackware 13.37, I installed the 2.6.38.4 kernel from /testing.
I did a "upgradepkg testing/kernel*.t?z"
Well just now I realized that there was a kernel-headers package in /testing, and I've heard that you should only use the kernel headers that glibc was compiled with.
So did I make a mistake installing the kernel-headers from /testing?
And if I revert back to the stock kernel-headers package, will I have to recompile all the programs I've compiled with the 2.6.38.4 headers?
View 13 Replies
View Related
Aug 14, 2010
I know this is probably simple, but I have been trying to upgrade to the latest release of Opera, downloaded the Bz2 file, and when running source to package it fails with this error. Opera seems to be the only app this fails with. I got the same error on the previous release as well, so I just gave up and waited until Slackpackage.org finally got that release.
I searched here and the net, and did in fact find a previous post about this, but, truthfully, I didn't understand the explanation at all.
Anyone have any idea how to handle this error?
View 12 Replies
View Related
Apr 27, 2010
I am wondering if there is a way to use src2pkg on source directories I have checked out from git? I can't see any such option in the manpage. At the moment it works if I tar it up, but I can't find a way to just use the directory directly.
View 1 Replies
View Related
Mar 12, 2010
Had 1.9.9 installed and upgraded using 2.1 but 'src2pkg --setup' throws an error. So I removed any existing packages and re-downloaded/reinstalled.
Same issue:
What's strange is that there is a src2pkg-helpers-1.0-x86_64-1.tgz package in the directory from which src2pkg was installed, but the setup procedure is trying to install using src2pkg-helpers-1.0.tar.bz2. So it's as if 'src2pkg --setup' is trying to install using the wrong src package ...
I can download the helpers install package which has the correct name, but I'd prefer to sort this out first.
View 10 Replies
View Related
May 10, 2010
Im having problem building xorg-xserver 1.8 with src2pkg
Heres src2pkg build script:
Code:
error that im getting is :
Code:
What am i doing wrong? sysconfdir=/etc directive is inside the script.
View 14 Replies
View Related
May 25, 2010
What's the best way to use src2pkg to build sources checked out from svn?
Src2pkg expects a source tarball. But when you check out or export a program's code from svn you don't get a tarball. You just get a source directory.
Do I tar and gzip the directory? Or is there a way to skip that step?
View 4 Replies
View Related
Apr 1, 2011
auto generated doinst.sh files when using the -A switch.
The file will contain link removal and generation for libraries in the package eg.
When upgrading to a new version of the app, the library name might change eg.
So the links that doinst.sh creates is now incorrect. ie. the link is now dead because it points to a file that does not exist. Does one have to regenerate .src2pkg and resulting doinst.sh when using a new version of the package or is there another way to have doinst.sh regenerated without redoing .src2pkg?
View 2 Replies
View Related
Jun 28, 2010
I have a little problem installing src2pkg on my linux from stratch system.
I downloaded the package and saved it on /
After that I did cd /usr/libexec/src2pkg/src2pkg-helpers
There I did a sh src2pkg.setup
But now I'm getting this error message :
/usr/libexec/src2pkg/13-make-description: line 438: 'read_pkg_info_desc : not a valid identifier.
Do anyone have any idea what went wrong ?
View 14 Replies
View Related
May 11, 2010
Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :
[Code]...
View 19 Replies
View Related
Jan 2, 2011
I'm just installed OpenSuse 11.3 (64) on a 30gb SSD, hoping to get virtualbox 4.0 running to virtualize an instance of Windows 7.I went through some pain with my Nvidia video card and actually getting vb to install, but through lots of searching and tinkering got here.I created a vm in the vb control panel, but when I go to start it I get:
Code:
Failed to open a session for the virtual machine Win7Main.
The virtual machine 'Win7Main' has terminated unexpectedly during startup with exit code 1.
[code]....
View 9 Replies
View Related
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
Aug 30, 2010
I'm attempting to install the driver for my atheros AR8131 PCI-E Gigabit Ethernet adapter (in my Lenovo laptop) on my newly installed RHEL5 system (it's not currently being recognized).
I tried using: 'make install' but hit an error "Makefile:61: *** Linux kernel source not found."
After this, I tried: 'sudo yum install kernel-devel kernel-headers'
To rectify this, but hit this error "No package kernel-devel available" (and the same for the headers). What should I do?
View 5 Replies
View Related
Oct 20, 2010
I get the following error message trying to install dazuko on xubuntu 10.04: "headers for target kernel version could not be found" But when I run sudo apt-get install linux-headers-$(uname -r), I get the message that I already installed the headers. My current kernel is 2.6.34-020634-generic
How can I install dazuko withouth having this problem??
View 1 Replies
View Related
Nov 26, 2010
Is there a way to get the matching Linux kernel headers automatic on a regular kernel update via the Ubuntu packed manager? Every time I get a new kernel I must do an aptitude install linux-headers-`uname -r`
View 1 Replies
View Related
Mar 24, 2010
A recent kernel update seems to have misplaced the Kernel Headers. VMWare needs these headers and cannot find them. Attempting to run VMWARE gets the message: Kernel headers for version 2.6.31.12-0.2-desktop were not found.
View 4 Replies
View Related
Feb 22, 2010
What's the command for installing kernel headers for the currently installed kernel?
View 2 Replies
View Related
Jul 30, 2010
after upgrading to make 3.82, I can not compile the newest kernel: 2.6.35-rc6-git5,it failed with:
GEN /home/aaa/tools/kernel/output/35/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
[code].....
Maybe 3.82 has some backward-incompatibility that breaks kernel compilation.
[URL]
View 5 Replies
View Related
Jul 24, 2009
I've installed Vmware Workstation and tried to run it only to have the following appear;
Kernel Headers 2.6.27.25-170.2.72.fc10.i586
Kernel headers for version 2.6.27.25-170.2.72.fc10.i586 were not found. If you installed them in a non-default path you can specify the path below etc.......
I've tried to search and find the kernel headers but can't find them.
View 14 Replies
View Related
May 4, 2011
Today, on my 11.3 machine. the kernel was updated. When I started my vmware 7 workstation, it came up with a message "kernel-headers for 26.34.7-0.7 were not found. enter an alternative location"
View 3 Replies
View Related
Jun 2, 2011
Just installed OpenSuse 11.4 on a laptop yesterday. Trying to compile VMware player, however my kernel headers are not matching with repo code...
View 9 Replies
View Related
Aug 29, 2010
Does anyone know the kernel-headers location, or how to determine that location, in Fedora 13? I'm installing vmware-tools and it's prompting for it. /usr/include/ and /usr/include/linux/ were revealed to have many header files, as shown by doing rpm -ql kernel-headers
However the installer rejected these locations. My only guess as to why is because they're not where the currently-running kernel has them. I also tried /usr/src/kernels/(kernelversion).fc13.i686/include/ with no luck...
View 3 Replies
View Related
May 17, 2009
I've upgrade the kernel from '2.6.18-128.el5' to '2.6.18-128.1.10.el5':
yum install kernel
yum install kernel-devel
yum install kernel-headers
yum install kernel-doc
But the system run into problem with WLAN, and I've search in this site and sombody posted in here: [URL] It's almost the same, the different is the card I use is TP-LINK. Then I decided to remove the newly installed kernel:
[Code]...
View 5 Replies
View Related
Feb 3, 2010
I'm trying to install vmware server 2 on my lenny and first I must install the kernel headers but I'm having troubels with it.
apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-2.6.28.9
I have even tried with apt-get install linux-headers-2.6.28.9 but same thing Searching apt-cache search linux-headers-2.6.28.9 shows nothing.
View 7 Replies
View Related
Oct 7, 2009
Where do I obtain this? I have the i586 kernel and I need the i686 kernel to run VMware. I beleive this may be the pottential reason virtualbox wasn't working too.
View 13 Replies
View Related
Feb 13, 2011
where you only get offered the kernel-headers for 2.6.35.11-83 by yum but not the kernel or the kernel-devel? I tried yum clean all and both pointing to the baseurl and mirrorlist and it does the same thing for both. Oddly my other laptop with F14 in the wireless cafe showed all three packages were available.
View 2 Replies
View Related