Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 11-07-2009, 06:55 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 5

Rep: Reputation: 0
Problem "No rule to make target"

hi all, i am completely new to linux.
when i run "make snark" command its gives me following error

make: *** No rule to make target `org/klomp/snark/', needed by `snark'. Stop.

i have check file is present in the folder and compiled suceefully.

Can any1 help me

Many Regards
Old 11-07-2009, 07:00 AM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Are you sure 'make snark' is the correct command ? ... usually its something like 'make', 'make clean', 'make test', 'make install' etc
Old 11-07-2009, 07:06 AM   #3
LQ Newbie
Registered: Nov 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for Reply, i am going mad with this.
I think so here is read me file

The GNU Compiler for java (gcj) version 3.3 or later.
(Earlier versions have a faulty SHA message digest implementation.)
On Debian GNU/Linux based distributions just install the gcj-3.3 package.
Edit the GCJ variable in the Makefile if your gcj binary is not gcj-3.3.

Typing 'make' will create the native snark binary and a snark.jar file
for use with traditional java byte code interpreters.

It is possible to compile the sources with other java compilers
like jikes or kjc to produce the snark.jar file. Edit the JAVAC and
JAVAC_FLAGS variables on top of the Makefile for this. And type
'make snark.jar' to create a jar file that can be used by traditional
java bytecode interpreters like kaffe: 'kaffe -jar snark.jar'.
You will need at least version 1.1 of kaffe for all functionality to work
correctly ('--share' does not work with older versions).

When trying out the experimental Gnome frontend you also need the java-gnome
bindings. On Debian GNU/Linux systems install the package libgnome0-java.
You can try it out by typing 'make snark-gnome' and then run ''
like you would with the normal command line client.


To use the program start it with:

snark [--debug [level]] [--no-commands] [--port <port>]
[--share (<ip>|<host>)] (<url>|<file>|<dir>)
--debug Shows some extra info and stacktraces.
level How much debug details to show
(defaults to 3, with --debug to 4, highest level is 6).
--no-commands Don't read interactive commands or show usage info.
--port The port to listen on for incomming connections
(if not given defaults to first free port between 6881-6889).
--share Start torrent tracker on <ip> address or <host> name.
<url> URL pointing to .torrent metainfo file to download/share.
<file> Either a local .torrent metainfo file to download
or (with --share) a file to share.
<dir> A directory with files to share (needs --share).

or weblink is

thanks again please help me out...
Old 11-07-2009, 07:16 AM   #4
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It seems like you either have to run "make" or "make snark.jar".
Old 11-07-2009, 07:20 AM   #5
LQ Newbie
Registered: Nov 2009
Posts: 5

Original Poster
Rep: Reputation: 0
this happen when i run make or make snark.jar

cca-ug04-0906% make
make: *** No rule to make target `org/klomp/snark/', needed by `snark'. Stop.
cca-ug04-0906% make snark.jar
mkdir dist
mkdir dist/classes
make: *** No rule to make target `org/klomp/snark/', needed by `snark-classes'. Stop.
Old 11-08-2009, 02:39 AM   #6
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

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
get this error when runnign make ***** "no rule to make target 'config'. stop" procfs Linux - General 4 05-12-2013 10:25 AM
Problem "No rule to make target" aries_u2 Linux - Newbie 2 11-07-2009 10:45 AM
Error: "make: *** No rule to make target `folder'. Stop." shri19 Linux - Kernel 2 05-27-2009 08:08 AM
Problem in Makefile-" No rule to make target " asprakash Linux - Kernel 4 08-07-2008 08:39 AM
Error "make: *** No rule to make target `install'. Stop." help Ohmn Mandriva 8 07-02-2004 07:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration