Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Newbie > I cannot use make command

Forgot Password?
 Linux Newbie   If you're new to the wonderful world of Linux, start here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-22-2004   #1 (permalink)
Just Joined!
 
Join Date: Dec 2004
Posts: 9
I cannot use make command

In SUSE Linux 9.1, I am unable to use the make, make install , make lib, make junk or any make commands also i cannot use configure or any such commands too
it always shows command not found
pls tell me the correct way to use make command and also
i was logged in as root when trying to use make
Thanks for helping
xyris is offline  


Reply With Quote
Old 12-22-2004   #2 (permalink)
Linux Engineer
 
Join Date: Sep 2003
Location: Knoxhell, TN
Posts: 1,078
Send a message via MSN to lordnothing
SuSE does not install any dev tools by default. you will have to install them yourself from ftp or the CD's. i would open up YaST and check the development box in the software section and install it all (if you have the hdd space)
__________________
Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
lordnothing is offline   Reply With Quote
Old 12-22-2004   #3 (permalink)
Just Joined!
 
Join Date: Dec 2004
Posts: 9
Yes

I was trying to install my hsp56 modem drivers
i extracted my tar archive to the base root system
and proceeded as per instructions given below
Quote:
3. Review and edit 'Makefile' (if need):

In many cases you will need to correct path to your local kernel
source tree:

KERNEL_DIR=/path/to/linux

Default KERNEL_DIR is '/lib/modules/<kerne-version>/build'. Many Linux
Distributions use directory '/usr/src/linux-<version>' also.

Note: If you are using Linux kernel 2.4, only header files should be
available for build in $(KERNEL_DIR)/include

Another way to pass right value KERNEL_DIR is to use command line
parameter while running 'make':

$ make KERNEL_DIR=/path/to/linux ...

4. Run 'make' command to compile package:

$ make

5. Install. As 'root' user run:

# make install
But when using the make command (step4), it gives me command not found error
xyris is offline   Reply With Quote
Old 12-22-2004   #4 (permalink)
Just Joined!
 
Join Date: Dec 2004
Posts: 9
kindly help

Someone kindly reply and help me
should i install some additional packages to use the make command?
xyris is offline   Reply With Quote
Old 12-22-2004   #5 (permalink)
Linux Engineer
 
Join Date: Nov 2004
Location: Ft. Polk, LA
Posts: 794
As mentioned earlier, you should install the make package(s). Actually, you should install all the development packages to make it easy, else you'll probably be installing a bunch of individual packages to make everything work. They should all be found on the cd. Using Yast is the easiest way to do it.
valan is offline   Reply With Quote
Old 12-22-2004   #6 (permalink)
Just Joined!
 
Join Date: Dec 2004
Posts: 9
Sorry

When using YAST, the only thing i can find is the small packages (individual)
and i cant find the make or development packages
i am using the single cd SUSE 9.1 version
pls help me to locate it
thank you
xyris is offline   Reply With Quote
Old 12-22-2004   #7 (permalink)
Linux Guru
 
dylunio's Avatar
 
Join Date: Aug 2004
Location: Cymru
Posts: 4,157
Go into YaST and go to Change Source of Instalation;

A new window will apear, press the Add button, and choose FTP.

Put
Code:
ftp://ftp.suse.com/
in the server name box, and put
Code:
/pub/suse/i386/current
into the Directory on Server box.

Then click OK, and then finnish.

Then in YaST go to add/remove software and in 'Filter' select 'Selections' here there is a list of groups of software, one being Develepment Packages;

hope this helps;

seasons greetings;

dylunio
__________________
Registered Linux User #371543!
Get force-get May The Source Be With You
/dev/null
/dev/null2
dylunio is offline   Reply With Quote
Old 12-22-2004   #8 (permalink)
Just Joined!
 
Join Date: Dec 2004
Posts: 9
Help

But the basic thing is that i need those packages to install my modem
without my modem how can i access the ftp site?
please reply
xyris is offline   Reply With Quote
Old 12-22-2004   #9 (permalink)
Linux Guru
 
dylunio's Avatar
 
Join Date: Aug 2004
Location: Cymru
Posts: 4,157
Ok looking again at your origanaan post, did you try ./configure befor you tried 'make', since it would give an error if the devel packages weren't installed;

dylunio
__________________
Registered Linux User #371543!
Get force-get May The Source Be With You
/dev/null
/dev/null2
dylunio is offline   Reply With Quote
Old 12-22-2004   #10 (permalink)
Just Joined!
 
Join Date: Dec 2004
Posts: 9
help

./configure too gives me a command not found error
pls help
thanks for helping
xyris is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:28 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2