[opensuse] Building mldonkey locally
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Package mkdonkey is not present in 42.2 packman. I have been told this is because "it fails to build with the newer ocaml". Thus I'm building it locally, a process that downloads and builds ocaml in the current directory, previous to building mldonkey itself. I suppose it downloads a definite version of ocaml, so there is no problem with the build. But there is a a missing feature: Core features: - zlib (required) enabled - threads enabled - bzip2 enabled - iconv enabled - libmagic enabled - upnp & natpmp disabled <== - graphical stats enabled - png support enabled - jpg support disabled I found that "libmagic" needs file-devel, and "graphical stats" needs "gd-devel". But I don't know what library is required to enable "upnp & natpmp". Any ideas? - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlg9qYwACgkQtTMYHG2NR9VtbQCgiBMJYlaneGZ43Uyjw0H43Gk2 IeMAn0D5Z3CezrRRGnUbnFKysfLwZGAb =9yQ6 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
29.11.2016 19:15, Carlos E. R. пишет:
Hi,
Package mkdonkey is not present in 42.2 packman. I have been told this is because "it fails to build with the newer ocaml". Thus I'm building it locally, a process that downloads and builds ocaml in the current directory, previous to building mldonkey itself. I suppose it downloads a definite version of ocaml, so there is no problem with the build.
But there is a a missing feature:
Core features: - zlib (required) enabled - threads enabled - bzip2 enabled - iconv enabled - libmagic enabled - upnp & natpmp disabled <== - graphical stats enabled - png support enabled - jpg support disabled
I found that "libmagic" needs file-devel, and "graphical stats" needs "gd-devel". But I don't know what library is required to enable "upnp & natpmp".
Any ideas?
For UPNP it should build against miniupnp (libminiupnpc-devel), but libnatpmp (from the same project) does not appear to be included in openSUSE. You can install it from OBS or compile from source. You can also step in as maintainer :)
On 2016-11-29 18:02, Andrei Borzenkov wrote:
29.11.2016 19:15, Carlos E. R. пишет:
I found that "libmagic" needs file-devel, and "graphical stats" needs "gd-devel". But I don't know what library is required to enable "upnp & natpmp".
Any ideas?
For UPNP it should build against miniupnp (libminiupnpc-devel), but libnatpmp (from the same project) does not appear to be included in openSUSE. You can install it from OBS or compile from source. You can also step in as maintainer :)
Thanks. I just tried with libminiupnpc-devel, but it doesn't do it. Mmm... I just saw this in the configure help: --enable-upnp-natpmp enable the use of libminiupnpc and libnatpmp --enable-force-upnp-natpmp force local compilation of libminiupnpc and libnatpmp Should have seen it first. So I try "./configure --enable-upnp-natpmp", doesn't work. I'll try the next one. [...] Worked! Core features: - zlib (required) enabled - threads enabled - bzip2 enabled - iconv enabled - libmagic enabled - upnp & natpmp enabled - graphical stats enabled - png support enabled - jpg support disabled So, local problem solved. Thanks for the hint! :-)) About the OBS and stepping up as maintainer... I find it very difficult to understand OBS. I have reading material to do, but I find it quite difficult. For instance, I got idedma.rules (almost) working (was dropped from factory last August), so I considered maintaining it officially, but the OBS thing scares me off. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
29.11.2016 20:27, Carlos E. R. пишет:
I just tried with libminiupnpc-devel, but it doesn't do it. Mmm... I just saw this in the configure help:
--enable-upnp-natpmp enable the use of libminiupnpc and libnatpmp --enable-force-upnp-natpmp force local compilation of libminiupnpc and libnatpmp
Should have seen it first. So I try "./configure --enable-upnp-natpmp", doesn't work.
Likely because libnatpmp is missing. config.log would tell you why.
On 2016-11-30 04:19, Andrei Borzenkov wrote:
29.11.2016 20:27, Carlos E. R. пишет:
I just tried with libminiupnpc-devel, but it doesn't do it. Mmm... I just saw this in the configure help:
--enable-upnp-natpmp enable the use of libminiupnpc and libnatpmp --enable-force-upnp-natpmp force local compilation of libminiupnpc and libnatpmp
Should have seen it first. So I try "./configure --enable-upnp-natpmp", doesn't work.
Likely because libnatpmp is missing. config.log would tell you why.
I tried "./configure | less" and then searched for the word "natpmp", and the only entry was: - upnp & natpmp disabled Ah! You mean the "config.log" file. I completely forgot about that one. Well, it does not exist... What works is: ./configure --enable-force-upnp-natpmp which builds the library first, inside the "configure". -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 29.11.2016 17:15, Carlos E. R. wrote:
But there is a a missing feature:
Core features: - upnp & natpmp disabled <==
I found that "libmagic" needs file-devel, and "graphical stats" needs "gd-devel". But I don't know what library is required to enable "upnp & natpmp".
Try libupnp-devel. Also have a look in the build system's log files. They often list the code which they compile somewhere. Use the symbols from the code to feed google which should give you the project name which supplies the feature. From a security point of view, you should be careful with the feature. Some routers are configured to expose UPNP services to the Internet automatically. Make sure the option is off for your router. Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://blog.pdark.de/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-11-29 20:44, Aaron Digulla wrote:
On 29.11.2016 17:15, Carlos E. R. wrote:
But there is a a missing feature:
Core features: - upnp & natpmp disabled <==
I found that "libmagic" needs file-devel, and "graphical stats" needs "gd-devel". But I don't know what library is required to enable "upnp & natpmp".
Try libupnp-devel.
Let's see... no, configure does not take it.
Also have a look in the build system's log files. They often list the code which they compile somewhere. Use the symbols from the code to feed google which should give you the project name which supplies the feature.
It seems to be libminiupnpc and libnatpmp. See my other reply, I had to tell configure to build that lib locally.
From a security point of view, you should be careful with the feature. Some routers are configured to expose UPNP services to the Internet automatically. Make sure the option is off for your router.
Well... the purpose of mldonkey is precisely to connect to internet, it is a p2p daemon. But I do not know if it wants to expose the "usage" ports, or the control web page. I suppose the former. I can check later to access from outside and see. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (3)
-
Aaron Digulla
-
Andrei Borzenkov
-
Carlos E. R.