PDA

View Full Version : make - makefile problem



roger_girardin
04-17-2004, 05:35 AM
hi all

i have installed knoppix on a terminator box and it's a good distro

i want to mess up with the install

i'have a problem with the make command (dont work at all)


root@tester:/usr/src# make
make: *** No targets specified and no makefile found. Stop.
:roll:

i have crossed google on various languages to find a makefile for make to copy or download but the one i've found is buggy

and for the people asking for the same prob, i've not seen solution

at the man make command, they say the user has to code the file

does some have that file to share or know some way to generate it automaticly ?

thanks

rickenbacherus
04-17-2004, 05:24 PM
hi all

i have installed knoppix on a terminator box and it's a good distro

i want to mess up with the install

I do not undersand you here. To 'mess up' is usually not a good thing. If you want to install Knoppix to the hdd then simply do this:

sudo knoppix-installer

If that's not what you wanted to do please post again.

roger_girardin
04-18-2004, 08:40 AM
@rickenbacherus

thanks for reply

yes mess up will be bad for the kernel == i want to unustalll kde & install gnome and unustall a lot of modules then unstall a lot of other ones then recompile
so i think i'll destroy the kernell
lol

my prob is at the make command
i can't use it do the makefile the system doesn't find

how can i get that file ?

thanks

garyng
04-18-2004, 08:47 AM
make by default looks for Makefile. You don't make things out of nothing. What do you want to 'make' ?

roger_girardin
04-18-2004, 01:03 PM
@garyng

thanks for the interest too

i want to do a make menuconfig

and i want to recompile a custom kernel

rickenbacherus
04-18-2004, 01:07 PM
@rickenbacherus

thanks for reply

yes mess up will be bad for the kernel == i want to unustalll kde & install gnome
You can remove almost all of KDE like so:

apt-get remove libarts1

Use Synaptic to select the Gnome packages you want.

and unustall a lot of modules then unstall a lot of other ones then recompile

Again, use Synaptic to ease the selection of packages to be removed. Be careful though unless you knowwhat you're doing.


so i think i'll destroy the kernell
lol

my prob is at the make command
i can't use it do the makefile the system doesn't find

how can i get that file ?

thanks

If you want to rebuild the kernel I would suggest trying the Debian way which is quite simple. Here's a quick and easy howto:
http://www.desktop-linux.net/debkernel.htm

tr
04-18-2004, 07:19 PM
my prob is at the make command
i can't use it do the makefile the system doesn't find

how can i get that file ?

Makefile comes with kernel-source package and gives instructions to make program how to compile the kernel.

There's some good sites where you can get help in compiling the kernel, too:
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
http://www.desktop-linux.net/debkernel.htm
http://kerneltrap.org/node/view/799

roger_girardin
04-19-2004, 06:33 AM
thanks for the links

i was wrong with the makefile

it's in the rep /usr/src/linux when you do the right stuff (i didn't) lol

i have updated to kernel-source-2.6.3

the comp have rebooted without any bug

how can i verify the kernel current version running ?

garyng
04-19-2004, 07:03 AM
'uname -r'

roger_girardin
04-19-2004, 12:19 PM
thanks all

make command works fine now

even if :


root@sony_vaio:~# uname -r
2.4.24-xfs

it seems the kernel was not updated

anyway it's a good begin