hang-up's on clean FreeBSD 5.4 on compilation

2005-07-07 Thread Piotr Baranowski
Hello

I have posted before, about my problems with Kernel compilation.
Now it's bigger problem ;-)

I still can't compile the kernel.

Now i reinstalled FreeBSD 5.4, totally clean download.
It's just for education/fun, so i can do that.. for now.

I choosed Standard install, Devel distribution, and installed linux
base.
One additional package: CVSup.
Nothing more, nothing less.

After installation, i used CVSup to get newest source [ src-all ].
Then i ran:
1) cd /usr/src
2) make buildworld

it hanged up my PC..
i tried this several times, and it hangs up in different places,
always on 'cc' command.

Maybe it's something with my memory?

Now i'm DLing release CDs, maybe it's something with net install,
wrong packages, or something.

Do i have to configure 'make' in some way before compiling anything?

Everything seems to be ok, but it just don't work ;-)

 1) check that you have sources. reinstall sources from CD or recvsup.
 2) check that you have correct version of C compiler. Try compile simple
 C program.
 3) do rm -fr /usr/obj/usr/src/sys/OWIEC
 4) then try second, and correct method

i have sources, i tried to compile mc from ports, it's throwing 'no
such file' errors, i removed OWIEC and tried second method - i had
same errors

 That's wrong.  You are trying to build just a kernel, before a userland
 has been compiled.  Use make buildworld and make buildkernel, unless
 you know exactly what you are doing and why.

Now i know :-)
I tried to 'make buildworld', but it haged my PC, then i now - after
install - i'll try some mem tests.
In most cases i don't know exactly what i'm doing - i'm just learning.

 Hmmm.  You haven't by any chance overwritten the system version of
 make(1) with GNU make, right?

Nope. I did only the Devel without X-server install. Now and then.

 What do you see when you try to run the command:
 
 # make --version

it returns:
# make --version
make: illegal option -- -
usage: make blablabla

I always had bad influence on Unix-like systems ;-)
I tried many different Linux dists: from old RedHat, SuSe to Debian,
Gentoo and Slack.. i always have problems ;-)
But now i'm gonna be tough :-)

TIA
Piotr




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: Kernel compiling error on FreeBSD 5.4

2005-07-06 Thread Piotr Baranowski
KK Show us the exact error and exactly what you did, we can't help if
KK you're vague about it.

what i did was:
1) cd /usr/src/sys/i386/conf
2) cp GENERIC OWIEC
3) editing OWIEC
4) config OWIEC
5) cd ../compile/OWIEC
6) make depend
7) had errors
8) make -a D depend
9) seen errors ;-)

then i used second method
1) cd /usr/src
2) make buildkernel KERNCONF=OWIEC
3) had errors
4) make -a D buildkernel KERNCONF=OWIEC
5) same errors here ;-)

exact errors would take very much space ;-)
at first blocks of theese err's:

cc: #: No such file of directory
cc: parents:: No such file or directory
cc: kernel: No such file or directory
cc: vers.c: No such file or directory
cc: harvest.o: No such file or directory
cc: :: No such file or directory
cc: ${NORMAL_C}: No such file or directory
cc: randomdev.ln: No such file or directory
cc: ${NORMAL_LINT}: No such file or directory

and so on..
and after that, block of many:

cc1: error: unrecognized command line option -f

This could be problem with:
1) placing files in filesystem - wich should be ok, i did not change
anything in directory tree
2) version of 'gcc' or 'make' maybe?

UPDATE:
i just tried to compile Midnight Commander, or any other ports
program, i get errors like:
fetch: #something: No such file or directory
 = Attempting to fetch from something2

something is name of packages
something2 is like:
#, parents, master-sites-default, ${AWK}, and so on

KK Kris

Peter

PS. Sorry Kris for priv mail, i'm from poland, it's 3:19 AM here and
i'm getting sleepy ;-) i just did: replay to ;-)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]