something strange with target name, need advice on this, please
Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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...
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.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.