LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2008, 09:46 PM   #1
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Rep: Reputation: 30
./configure question/problem


I was compiling Glibc

I did

# cd /usr/src/glibc-2.7
# ./configure --prefix=/usr/local/

It said I must provide a separate build directory. So I did 'cd..' then
# /usr/src/glibc-2.7/configure --prefix=/usr/local/

And it worked, then it gave me an error saying I shouldn't build to /usr/local/ or it can make my system unstable and I can bypass with --disable-sanity-checks

So I made a folder /usr/src/glibc-2.7-build/ and did

# usr/src/glibc-2.7/configure --prefix=/usr/src/glibc-2.7-build/

And it compiled fine.

Then I did 'make' from the glibc-2.7 directory, and I tried '/usr/src/glibc-2.7/make --prefix=/usr/src/glibc-2.7-build/' and any possible variation including running it from the glibc-2.7-build directory which is empty and it always gave the error:

Code:
Makeconfig:84: sysdeps/../config.make: No such file or directory
The GNU C library has not been configured.
Run `configure' to configure it before building.
Try `configure --help' for more details.
make: Failed to remake makefile `sysdeps/../config.make'.

My questions are:
1) Why won't it compile without me leaving the directory as in my first example?
2) How do I run 'make' after configuring to a prefix

Thanks for help
 
Old 01-11-2008, 10:12 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You could try:

cd /usr/src/glibc-2.7-build/
make

-------------------------
Steve Stites
 
Old 01-11-2008, 10:17 PM   #3
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Original Poster
Rep: Reputation: 30
I did, the directory is empty, all it says is:

Code:
make: *** No targets specified and no makefile found.  Stop.
Okay fixed; all I had to do with 'cd /usr/src/glibc-2.7-build/' and then run '/usr/src/glibc-2.7/configure --prefix=/usr/src/glibc-2.7-build/' and then 'make'.

Last edited by Virtuality; 01-11-2008 at 10:18 PM.
 
  


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
./configure question Sjonnie48 Ubuntu 4 06-04-2007 09:08 PM
question about configure Linux usef62 Linux - Distributions 1 01-14-2007 01:58 PM
./configure question NDR008 Linux - Software 4 12-05-2006 10:26 AM
configure question... Avihai Linux - General 8 11-12-2005 01:59 PM
./configure question Road Linux - General 7 04-05-2002 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:19 AM.

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