Page 1 of 1
Patching 2.3.3.3 for build success
Posted: 25 May 2022 19:23
by deployer
Hello I2P world!
Building notes for iMule 2.3.3.3 in 2022:
Download and unpack sources:
http://www.imule.i2p/files/download.php ... .3-src.tbz
Download and merge patched files:
http://zzz.i2p/files/imule_2333_files_to_merge.tar.zstd
Then:
Code: Select all
./configure --disable-upnp
make -j5
Run:
Re: Patching 2.3.3.3 for build success
Posted: 27 May 2022 08:43
by echelon
Please make a patch for the git on i2pgit.org
echelon
Re: Patching 2.3.3.3 for build success
Posted: 30 May 2022 18:28
by deployer
echelon wrote: ↑27 May 2022 08:43
Please make a patch for the git on i2pgit.org
echelon
Code: Select all
--- a/configure
+++ b/configure
@@ -14736,16 +14736,16 @@ main ()
}
_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-
- result=yes
- BFD_CPPFLAGS="-DHAVE_BFD"
- BFD_LIBS="-lbfd -liberty ${bfd_ldadd}"
- LIBS="$mule_backup_LIBS"
- LDFLAGS="$mule_backup_LDFLAGS"
- break
-
-fi
+# if ac_fn_c_try_link "$LINENO"; then :
+#
+# result=yes
+# BFD_CPPFLAGS="-DHAVE_BFD"
+# BFD_LIBS="-lbfd -liberty ${bfd_ldadd}"
+# LIBS="$mule_backup_LIBS"
+# LDFLAGS="$mule_backup_LDFLAGS"
+# break
+#
+# fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS="$mule_backup_LIBS"
--- a/src/ClientCreditsList.cpp
+++ b/src/ClientCreditsList.cpp
@@ -311,7 +311,7 @@ void CClientCreditsList::InitalizeCrypting()
// calculate and store public key
CryptoPP::RSASSA_PKCS1v15_SHA_Verifier pubkey(*static_cast<CryptoPP::RSASSA_PKCS1v15_SHA_Signer *>(m_pSignkey));
CryptoPP::ArraySink asink(m_abyMyPublicKey, 80);
- pubkey.DEREncode(asink);
+ pubkey.GetKey().DEREncode(asink);
m_nMyPublicKeyLen = asink.TotalPutLength();
asink.MessageEnd();
Re: Patching 2.3.3.3 for build success
Posted: 28 Jun 2022 12:27
by arowana
Windows version when?
Re: Patching 2.3.3.3 for build success
Posted: 03 Aug 2022 10:26
by deployer
arowana wrote: ↑28 Jun 2022 12:27
Windows version when?
I cannot test compilation for Windows.
Try to build with:
- UPnP disabled;
- wxwidgets 3.0 (gtk2, shared) (wxGTK);
- Crypto++ 8.6.0 (cryptopp);
- Bison 3.8.2;
- zlib 1.2.12;
- GCC 11.3.0.