LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-13-2009, 12:12 PM   #1
aries_u2
LQ Newbie
 
Registered: Nov 2009
Posts: 5

Rep: Reputation: 0
make:gvj-3.3: command not found


hi ALL,

I need to run a Bittorrent software "snark" for my MSc Project.

http://klomp.org/snark/

When I try "make" command it shows following error

gcj-3.3 -g -O2 --main=org.klomp.snark.Snark -o snark org/klomp/snark/BitField.java org/klomp/snark/ConnectionAcceptor.java org/klomp/snark/HttpAcceptor.java org/klomp/snark/MetaInfo.java org/klomp/snark/Message.java org/klomp/snark/Peer.java org/klomp/snark/PeerID.java org/klomp/snark/PeerAcceptor.java org/klomp/snark/PeerCheckerTask.java org/klomp/snark/PeerConnectionIn.java org/klomp/snark/PeerConnectionOut.java org/klomp/snark/PeerListener.java org/klomp/snark/PeerCoordinator.java org/klomp/snark/PeerState.java org/klomp/snark/Request.java org/klomp/snark/Snark.java org/klomp/snark/SnarkShutdown.java org/klomp/snark/Storage.java org/klomp/snark/Tracker.java org/klomp/snark/TrackerClient.java org/klomp/snark/TrackerInfo.java org/klomp/snark/bencode/BEValue.java org/klomp/snark/bencode/BEncoder.java org/klomp/snark/bencode/BDecoder.java org/klomp/snark/bencode/InvalidBEncodingException.java
make: gcj-3.3: Command not found
make: *** [snark] Error 127


makefile is present in the folder where I run "make" command.
can anyone help me with this please
 
Old 11-13-2009, 01:21 PM   #2
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
are you running this as root or yourself?

Also, according to google, try this

The gcc-java package installs a binary called gcj, while make is looking
for gcj-3.3. Creating a gcj-3.3 symlink to the gcj binary might resolve
the problem. A symlink can be created with the following command as
root:

# ln -s /usr/bin/gcj /usr/bin/gcj-3.3
 
Old 11-13-2009, 02:06 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Very simple, in fact :

Edit ' Makefile ' line 3 to ' gcj '.

# yum install java-1.4.2-gcj-compat-devel libgcj-devel
.. if RH EL5 or CentOS 5.x

.. and 'make' works .. and creates ' snark '
You can then try : sh snark-gnome.sh
after you edit snark-gnome.sh line 4 to a 'java'
( gij or java ) you think will work.

Probably no luck, snark has not been maintained since 2003
and will not work on a modern Linux, I think.
.....
 
  


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
make:command not found sumeet inani Linux - Newbie 1 12-02-2008 11:47 PM
Make Command Not Found Brandifer Linux - Software 2 02-14-2007 01:26 PM
make command not found sharadshankar Ubuntu 1 01-16-2006 01:18 PM
'make' command not found X_ArchAngel Slackware 2 11-17-2004 04:03 AM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration