LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-14-2003, 06:07 AM   #1
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 649

Rep: Reputation: 31
kswaret 'make distclean'


I'm trying to install kswaret as a frontend for swaret. In the readme a command ' make distclean' is given.
Doesn't seem to work I get a:

bash-2.05b# make distclean
make: *** No rule to make target `distclean'. Stop.
bash-2.05b#

Am I missing something here?
 
Old 12-14-2003, 02:30 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,549

Rep: Reputation: 180Reputation: 180
" In the readme a command ' make distclean' is given. "

The developer can set the makefile up any way that he wants. Most developers use the command "make clean". Try make clean and see if that works. Otherwise you can look at the make command with a text editor and see what the developer really provided.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-20-2003, 05:39 PM   #3
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Tried make distclean, as well as make clean, none of them work...
tried ignoring that, and just going
qmake
make install

still didnt work... =/
 
Old 12-20-2003, 06:01 PM   #4
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 649

Original Poster
Rep: Reputation: 31
after that run ./kswaret in the install dir. Only way to get it going
 
Old 12-20-2003, 06:16 PM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Read the makefile. You can tell what the targets are. make clean is used to remove temporary object files that are no longer needed. If the make distclean mentioned in the readme was given after the make step, it may not be needed for the program to run, you may just have files around wasting space.

By convention the steps for installing a program from a tarball are:
Code:
1) untar the archive in your home space & cd to the produced directory.
   [B]tar xvzf <filename.tgz>
2) ./configure
3) make
4) su
    <root password>
5) make install
Then the directory produced can be deleted, keeping the original tarball around for emergencies.

Make clean is usually used when you need to keep the source around, as in the kernel source. It guarantees that all of the source files will get re-compiled during the next make.

It would be nice if software authors would stick to convention unless there was a good reason not to!

Last edited by jschiwal; 12-20-2003 at 06:19 PM.
 
Old 12-20-2003, 06:20 PM   #6
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
weird... when on the laptop, it refuses to work..
but i just SSHed into it, and ran
make distclean
and it worked...

powadha: just copy kswaret into your local bin directory and it will run wherever you type kswaret.
cp kswaret /usr/local/bin/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
what is the difference between make distclean and make clean? alice95089 Linux - Software 3 08-28-2008 01:22 AM
Kswaret joe83 Slackware 3 09-23-2004 02:53 PM
what does make distclean do? danahata Linux - General 1 08-26-2003 03:49 PM
Kernel compilation, clean vs distclean Kocil Linux - Software 2 08-12-2003 08:29 AM
Problem with "make distclean" moose1618 Linux - Software 3 03-21-2002 08:03 PM


All times are GMT -5. The time now is 02:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration