vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, I started with slackware 10.1, the 2.4 kernel off of CD #1, and the apache package from CD. Then, I used pkgtool to remove the 2.4 kernel and headers packages, and also to install the 2.6 kernel package and kernel headers package from the CD #2. I did this because my wireless NIC required ndiswrapper, which had a problem with the 2.4 kernel, but was fine with 2.6 kernels. This seemed to work fine - 2.6 kernel booted and all my software seemed fine, including the wireless NIC. I downloaded the latest version of subversion source. Subversion has a dependency on the APR (apache portable runtime) which won't compile. I tried fixing the compile errors, but they got pretty deep pretty fast. I tried removing the apache package, and downloading the apache 2.0 source, and it has the same problems (won't compile - APR has the same errors). The errors look fairly fundamental - inet structures not defined, kernel constants not defined, etc... any suggestions on my shortest path to resolution ? Thanks |
| |||
| "roadkill" <roadkill@mailpad.com> wrote: > Then, I used pkgtool to remove the 2.4 kernel and headers packages, and > also to install the 2.6 kernel package and kernel headers package > Subversion has a dependency on the APR (apache portable runtime) which > won't compile. I tried fixing the compile errors, but they got pretty > deep pretty fast. I tried removing the apache package, and downloading > the apache 2.0 source, and it has the same problems (won't compile - APR > has the same errors). > The errors look fairly fundamental - inet structures not defined, kernel > constants not defined, etc... any suggestions on my shortest path to > resolution ? I suppose that you got your problems from installing kernel header packages which now does not match the kernel header packages that glibc was built against. Try to revert back to the original 2.4 kernel header package and see if it helps. regards Henrik -- The address in the header is only to prevent spam. My real address is: hc7(at)uthyres.com Examples of addresses which go to spammers: info@k-soft.se info@k-software.biz info@webrider.ru root@localhost |
| |||
| On Sun, 10 Jul 2005 22:06:36 +0200, Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> wrote: > > > The errors look fairly fundamental - inet structures not defined, kernel > > constants not defined, etc... any suggestions on my shortest path to > > resolution ? > > I suppose that you got your problems from installing kernel header > packages which now does not match the kernel header packages that glibc > was built against. Try to revert back to the original 2.4 kernel header > package and see if it helps. Also cheat a little and compile the problem ndiswrapper against 2.6.nn real kernel headers, I second reverting system kernel headers to 2.4.29 distro package. --Grant. |
| |||
| Grant Coady wrote: > On Sun, 10 Jul 2005 22:06:36 +0200, Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> wrote: > > I suppose that you got your problems from installing kernel header > > packages which now does not match the kernel header packages that glibc > > was built against. Try to revert back to the original 2.4 kernel header > > package and see if it helps. > > Also cheat a little and compile the problem ndiswrapper against 2.6.nn > real kernel headers, I second reverting system kernel headers to 2.4.29 > distro package. Beautiful ! This worked - thanks guys I had dismissed the idea of going back to 2.4 (which I knew would work) because of the ndiswrapper problem - and I never would have guessed that just compiling it with the 2.6 headers, while possibly compiling OK, would have much of an actual chance of working with the 2.4 kernel... but whaddaya know - it works So, I'm back on the 2.4 kernel, and everything seems fine |
| |||
| On 2005-07-10, roadkill <roadkill@mailpad.com> wrote: > The errors look fairly fundamental - inet structures not > defined, kernel constants not defined, etc... any > suggestions on my shortest path to resolution ? It sounds like you are missing kernel header files if kernel constants are not defined. -- e-Harmony.com called the cops after I sent in my personality profile. |
| |||
| On 07/11/05 04:15, roadkill wrote: > Grant Coady wrote: > >>On Sun, 10 Jul 2005 22:06:36 +0200, Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> wrote: >> >>>I suppose that you got your problems from installing kernel header >>>packages which now does not match the kernel header packages that glibc >>>was built against. Try to revert back to the original 2.4 kernel header >>>package and see if it helps. >> >>Also cheat a little and compile the problem ndiswrapper against 2.6.nn >>real kernel headers, I second reverting system kernel headers to 2.4.29 >>distro package. > > > Beautiful ! This worked - thanks guys > > I had dismissed the idea of going back to 2.4 (which I knew would work) > because of the ndiswrapper problem - and I never would have guessed > that > just compiling it with the 2.6 headers, while possibly compiling OK, > would > have much of an actual chance of working with the 2.4 kernel... but > whaddaya > know - it works > > So, I'm back on the 2.4 kernel, and everything seems fine > You didn't read the notes on installing 2.6.x headers. Did you? Ciao Giovanni -- A computer is like an air conditioner, it stops working when you open Windows. Registered Linux user #337974 <http://counter.li.org/> |
| |||
| > I started with slackware 10.1, the 2.4 kernel off of CD #1, > and the apache package from CD. Then, I used pkgtool to > remove the 2.4 kernel and headers packages, and also to > install the 2.6 kernel package and kernel headers package > from the CD #2. I did this because my wireless NIC required You shouldn't have removed kernel headers. You must have installed the same kernel-headers version of the kernel used for building your glibc, even if you use a 2.6 (as I do). -- "Chiunque oggi si occupa di religione, se non per combatterla ed aspettarne la fine, e' un cretino." (Ardengo Soffici) |
| |||
| Giovanni wrote: > You didn't read the notes on installing 2.6.x headers. Did you? I'm guessing I didn't, since I'm not sure what notes you're referring to... That's not to say I didn't do my share of reading before I asked for (and got) help. So, FMOI - have you seen notes that cover this, and if so, where ? Somewhere associated with ndiswrapper ? The kernel ? The slackware installation disks ? Somewhere associated with subversion ? Just curious... |
| ||||
| Not missing, I think - some sorts of mis-matches somewhere. The constants/variables were either re-named, or they were #defines that were changed and referenced other things that weren't visible, or stuff like that. Anyway, going back to 2.4 (both kernel and headers) resolved the subversion compile, and I just used the ndiswrapper that I had compiled under 2.6, which solved the issue that had made me switch to 2.6 to begin with. |
| Thread Tools | |
| Display Modes | |
|
|