Page 1 of 2
i2psnark compile from source
Posted: Tue Sep 03, 2024 9:18 pm
by marek
Hi all, I have some problem with i2psnark. Before bothering you with my problem I would like to compile the program from sources myself and debug into it, add print statements, and so on. But I don't know how to do it. So, I would like to bother you with building i2psnark instead. (-: My questions are: 1) Where does i2psnark source code live? 2) How do I compile it? (The standalone version.) 3) How do I run it after it compiles? I do have both Windows and Linux (Ubuntu) computer. I tried these commands:
Code: Select all
$ git clone https://github.com/i2p/i2p.i2p.git
$ cd i2p.i2p
$ ant build
$ cd apps/i2psnark/java/build
$ java -jar i2psnark.jar
Error: Could not find or load main class org.klomp.snark.CommandLine
Caused by: java.lang.NoClassDefFoundError: net/i2p/util/CommandLine
$ cd obj
$ java org.klomp.snark.standalone.RunStandalone
Error: Unable to initialize main class org.klomp.snark.standalone.RunStandalone
Caused by: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/log/Logger
I guess the i2psnark compiled fine, but I'm unable to start it. Could you help me please?
Re: i2psnark compile from source
Posted: Wed Sep 04, 2024 3:27 am
by cumlord
i haven't personally tried this myself, but snark+ is at
http://git.skank.i2p/i2pplus/I2P.Plus/s ... s/i2psnark and vanilla at
https://github.com/i2p/i2p.i2p/blob/mas ... -snark.txt
the readme might be helpful, also worth stopping by #saltr/#i2p/#i2p-chat in irc2p
Re: i2psnark compile from source
Posted: Wed Sep 04, 2024 5:39 am
by lgillis
Back then, in 2016 or so: »ant i2psnark« builds i2psnark-standalone.zip. Unzip it somewhere and then start it.
Re: i2psnark compile from source
Posted: Wed Sep 04, 2024 10:56 am
by marek
cumlord wrote: ↑Wed Sep 04, 2024 3:27 am
also worth stopping by #saltr/#i2p/#i2p-chat in irc2p
How do I open irc chat in web browser?
Re: i2psnark compile from source
Posted: Wed Sep 04, 2024 10:57 am
by marek
lgillis wrote: ↑Wed Sep 04, 2024 5:39 am
ant i2psnark
Thank you, that worked.
Re: i2psnark compile from source
Posted: Wed Sep 04, 2024 3:05 pm
by anikey
marek wrote: ↑Wed Sep 04, 2024 10:56 am
How do I open irc chat in web browser?
I've not heard of any Web IRC sites in i2p. But you can get an irc client.
Re: i2psnark compile from source
Posted: Wed Sep 04, 2024 5:36 pm
by marek
anikey wrote: ↑Wed Sep 04, 2024 3:05 pm
marek wrote: ↑Wed Sep 04, 2024 10:56 am
How do I open irc chat in web browser?
I've not heard of any Web IRC sites in i2p. But you can get an irc client.
Any links?
Re: i2psnark compile from source
Posted: Wed Sep 04, 2024 5:43 pm
by marek
OK, after few hours of twiddling whit Java I managed to fix my issue I was having with i2psnark. How do I submit new GitLab issue or new git pull request? I already applied for new GitLab user account registration yesterday, but so far no response. I fixed the issue in both
https://git.idk.i2p/i2p-hackers/i2p.i2p and
http://git.skank.i2p/i2pplus/I2P.Plus repositories. How do I configure git to communicate over I2P HTTP proxy?
Re: i2psnark compile from source
Posted: Thu Sep 05, 2024 7:25 am
by lgillis
marek wrote: ↑Wed Sep 04, 2024 5:43 pm
[…]
I'm not sure if I understand your questions correctly …
In Gitlab, Pull request is officially called Merge request. It is better to ask this question in the I2P developer forum*, which was set up as a central point of contact for questions directly relating to the project. The Gitlab operators themselves can also answer detailed questions there.
*
http://i2pforum.i2p/
Anecdote: Some time ago, you had to apply to the developers on IRC to be allowed to report potential bugs at all …
Re: i2psnark compile from source
Posted: Thu Sep 05, 2024 11:26 am
by marek
lgillis wrote: ↑Thu Sep 05, 2024 7:25 am
In GitLab, Pull request is officially called Merge request.
Pull request, push request, merge request, ... everybody calls them differently, they are basically the same thing.
lgillis wrote: ↑Thu Sep 05, 2024 7:25 am
ask this question in the I2P developer forum
Yeah, I would, if I could.
Code: Select all
The specified username is currently inactive. If you have problems activating your account, please contact a board administrator.
lgillis wrote: ↑Thu Sep 05, 2024 7:25 am
you had to apply to the developers on IRC to be allowed to report potential bugs at all
Any chance I could do it from web browser? Or if not, could you provide me with link to documentation how to install IRC chat program that communicates over I2P?