LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-09-2004, 10:53 AM   #1
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
something strange with target name, need advice on this, please


I've seen that, when the configure script runs, when naming my host or target, it says unknown-x86_64-pc-linux-gnu

is this correct? or may I change the target triplet name, but... in case it's a 'yes', where can I change this? where is this value located?

Julio
 
Old 11-09-2004, 11:58 AM   #2
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
If I understand your question correctly, you want to change the hostname to an acceptable one...?

On my system, at least, there are two places to change it: let's imagine you want your machine to be called "madrid" for the purpose of this example.

(1) In the /etc/hosts file: let it read
Code:
127.0.0.1   localhost.localdomain.madrid    localhost
(2) In the /etc/rc.d/rc.sysinit file, find the line beginning "HOSTNAME=" and change the name (it probably reads "localhost") after the equals sign to "madrid" (without quotes).

This is what works for me, using MandrakeLinux 9.2. It enabled sendmail to work correctly, among other things.
 
Old 11-09-2004, 12:11 PM   #3
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Original Poster
Rep: Reputation: 15
no, what I mean is the following:

when you run the ./configure script for compiling any package like gaim, firefox, quakeforge, you name it... you first run the configure script for it to obtain the configuration previous to making the program...

well... in some parts of the ./configure script it looks for the target machine for compilation, let's say you have a pentium3/4, then your configure script would throw something like this:

i686-pc-linux-gnu

my 'problem' is... it says it's x86_64-unknown (or the opposite, don't remember well hehe ) and that's what looks strange for me...

Julio
 
Old 11-09-2004, 12:27 PM   #4
jonr
Senior Member
 
Registered: Jan 2003
Location: Kansas City, Missouri, USA
Distribution: Ubuntu
Posts: 1,040

Rep: Reputation: 47
Ah, I see. Sorry, I misunderstood. Afraid I can't help you with compiling problems, but I'm sure you'll get an answer soon. Well, pretty sure! Good luck.
 
Old 11-09-2004, 07:18 PM   #5
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
You have 2 options...

1) hack config.guess on every package to make it determine your system the way you want it to
2) specify --host=x86_64-pc-linux-gnu to configure (and possibly --build=x86_64-pc-linux-gnu if configure gets upset and thinks you are cross-compiling)

HTH
[R]
 
  


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
Target? AxXium Slackware 15 07-16-2005 08:49 AM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 05:16 PM
Sound Issues with XMMS/ mpg123 strange (strange noises) thegreatbob Linux - Software 0 06-25-2004 03:18 PM
qmailadmin x86-64 target cmekondo Linux - Software 0 04-29-2004 01:17 PM
gcc with dos target Lazarus Programming 2 03-01-2003 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:38 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