Hello, tried building it, fails for me, attached log. My distro is amd64 hardened Gentoo Linux. Compared current cvs and 0.95.0 sources, bugs and suggestions: 1) These commands do not respect CC CFLAGS LDFLAGS: gcc -shared -Wl,-soname,libipv6calc_db_wrapper.so.@PACKAGE_VERSION@ -o libipv6calc_db_wrapper.so.@PACKAGE_VERSION@ $(OBJS) gcc -shared -Wl,-soname,libipv6calc.so.@PACKAGE_VERSION@ -o libipv6calc.so.@PACKAGE_VERSION@ $(OBJS) 2) Most autotools based packages use --enable-shared option, also there is typo in configure: --enaLBe-shared-library Enable shared library build (default: disabled) В сообщении от 1 февраля 2014 18:57:30 автор Peter Bieringer написал:
Hi,
shared library support added, please try latest CVS trunk using:
add support for building with shared libraries: configure: --enalbe-shared-library autogen.sh: -S
Note: spec file for RPM is still not tested, coming next
Regards, Peter
Am 31.01.2014 07:39, schrieb Peter Bieringer:
Hi Nikoli,
Am 31.01.2014 06:59, schrieb Nikoli:
Hello, thanks for ipv6calc, have suggestion about build system: use shared libipv6calc.so and databases instead of duplicating them in every bin.
$ equery s ipv6calc
* net-misc/ipv6calc-0.95.0
Total files : 20 Total size : 11.38 MiB
Size is huge, because every bin has internal copy of databases/ lib/ md5/ $ du -sh /usr/bin/ipv6* 2,9M /usr/bin/ipv6calc 2,8M /usr/bin/ipv6loganon 2,8M /usr/bin/ipv6logconv 2,8M /usr/bin/ipv6logstats
Please avoid duplication and move shared databases and shared code to '/usr/lib64/libipv6calc.so'.
Your right, I have this already in mind since longer, also having extra database binary files (easy to update them extra afterwards)...and have plans since longer to create a shared library by default and also replace the md5 code inside by external one (if available)...let see when I can find time to improve the project.
BTW: if you are able to contribute, you're very welcome!
Regards,
Peter
_______________________________________________ ipv6calc mailing list ipv6calc@lists.deepspace6.net https://lists.deepspace6.net/listinfo/ipv6calc ipv6calc homepage: http://www.deepspace6.net/projects/ipv6calc.html ipv6calc cvs: http://cvs.deepspace6.net/view/ipv6calc/