LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 10-03-2003, 05:05 PM   #1
jlowell
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
Glibc Rebuild


When I installed Arch, I chose to build my kernel from source. Now, attempting to rebuild all the binaries originally installed on my machine using makepkg -bci, I encounter a problem with glibc. It'll get only so far into the build and the wheels will come off when it looks for kernel headers in /usr/src/linux/include. I have no /usr/src/linux/include, probably because I built my kernel at the time of installation. What I have is /usr/src/linux-2.4.21/include.

Would there be any harm in creating a /usr/src/linux/include and symlinking it to the /usr/src/linux-2.4.21/include directory. Would this approach likely solve my problem? I thought it best to ask before trying it and fouling something up.

jlowell
 
Old 10-04-2003, 09:13 PM   #2
apeiro
ArchLinux Maintainer
 
Registered: Aug 2003
Location: BC, Canada
Distribution: Arch Linux
Posts: 16

Rep: Reputation: 0
Yea, the simplest route is to symlink /usr/src/linux to your real kernel tree and start the glibc build again. This is usually required for packages that are tightly coupled with the kernel, such as glibc, alsa, pcmcia-cs, etc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM
glibc 2.3.2 => glibc 2.3.3 causes bash & syslog issues natetheros Red Hat 1 09-27-2004 01:35 AM
How to rebuild glibc with compiler flags designed for my system davidas Debian 1 04-19-2004 11:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration