LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Closed Thread
 
Thread Tools
Old 11-07-2009, 07:55 AM   #1
aries_u2
LQ Newbie
 
Registered: Nov 2009
Posts: 5
Thanked: 0
Problem "No rule to make target"


[Log in to get rid of this advertisement]
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/BitField.java', needed by `snark'. Stop.



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

Can any1 help me

Many Regards
linux aries_u2 is offline    
Old 11-07-2009, 08:00 AM   #2
kbp
Member
 
Registered: Aug 2009
Posts: 484
Thanked: 44
Are you sure 'make snark' is the correct command ? ... usually its something like 'make', 'make clean', 'make test', 'make install' etc
linuxfedora kbp is offline    


Old 11-07-2009, 08:06 AM   #3
aries_u2
LQ Newbie
 
Registered: Nov 2009
Posts: 5
Thanked: 0

Original Poster
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 'snark-gnome.sh'
like you would with the normal command line client.

Running
-------

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
http://klomp.org/snark/



thanks again please help me out...
linux aries_u2 is offline    


Old 11-07-2009, 08:16 AM   #4
Nylex
HCL Maintainer
 
Registered: Jul 2003
Distribution: Slackware
Posts: 5,783
Thanked: 40
It seems like you either have to run "make" or "make snark.jar".
linux Nylex is offline    


Old 11-07-2009, 08:20 AM   #5
aries_u2
LQ Newbie
 
Registered: Nov 2009
Posts: 5
Thanked: 0

Original Poster
this happen when i run make or make snark.jar



cca-ug04-0906% make
make: *** No rule to make target `org/klomp/snark/BitField.java', needed by `snark'. Stop.
cca-ug04-0906% make snark.jar
mkdir dist
mkdir dist/classes
make: *** No rule to make target `org/klomp/snark/BitField.java', needed by `snark-classes'. Stop.
linux aries_u2 is offline    


Old 11-08-2009, 03:39 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :}
Posts: 18,850
Blog Entries: 1
Thanked: 160
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.

http://www.linuxquestions.org/questi...70#post3748070
linux Tinkster is offline    



Closed Thread

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:55 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration