On Fri, Oct 09, 2015 at 11:29:41PM BST, Adam Wolk wrote: > Looking at the produced executable I don't see it linking against > tokyocabinet. Your suggested change did make it build properly and I > think the tokyocabinet lib is completely ok to submit and commit. I > think there are more changes required to build and properly link > www/goaccess against it. > > # make clean > ===> Cleaning for goaccess-0.9.4 > # make install > ===> goaccess-0.9.4 depends on: tokyocabinet-* -> tokyocabinet-1.4.48 > ===> goaccess-0.9.4 depends on: glib2-* -> glib2-2.46.0 > ===> goaccess-0.9.4 depends on: GeoIP-* -> GeoIP-1.6.5p0 > ===> goaccess-0.9.4 depends on: metaauto-* -> metaauto-1.0p1 > ===> goaccess-0.9.4 depends on: autoconf-2.69 -> autoconf-2.69p1 > ===> Verifying specs: GeoIP c glib-2.0 m ncursesw pthread tokyocabinet > ===> found GeoIP.9.0 c.83.0 glib-2.0.4200.2 m.9.0 ncursesw.14.0 pthread.19.0 > tokyocabinet.0.0 > ===> Installing goaccess-0.9.4 from /usr/ports/packages/amd64/all/ > goaccess-0.9.4: ok > # ldd `which goaccess` > /usr/local/bin/goaccess: > Start End Type Open Ref GrpRef Name > 00000ce4cd300000 00000ce4cd738000 exe 1 0 0 > /usr/local/bin/goaccess > 00000ce707a32000 00000ce707f3f000 rlib 0 1 0 > /usr/local/lib/libglib-2.0.so.4200.2 > 00000ce76cf92000 00000ce76d3ec000 rlib 0 1 0 > /usr/lib/libncursesw.so.14.0 > 00000ce71681f000 00000ce716c57000 rlib 0 1 0 > /usr/local/lib/libGeoIP.so.9.0 > 00000ce745e9b000 00000ce7462ad000 rlib 0 3 0 > /usr/lib/libpthread.so.19.0 > 00000ce7afe65000 00000ce7b032e000 rlib 0 1 0 > /usr/lib/libc.so.83.0 > 00000ce7c17bc000 00000ce7c1bc6000 rlib 0 1 0 > /usr/local/lib/libintl.so.6.0 > 00000ce76223f000 00000ce76273d000 rlib 0 2 0 > /usr/local/lib/libiconv.so.6.0 > 00000ce799259000 00000ce79969c000 rlib 0 1 0 > /usr/local/lib/libpcre.so.3.0 > 00000ce797300000 00000ce797300000 rtld 0 1 0 > /usr/libexec/ld.so > #
That's because, as you can see above: $ make install installs a previously built packages if one's present under '/usr/ports/packages/...'. Running: $ make clean=packages before: $ make install will do what you want. Regards, Raf P.S. In case the prompt ('#') above indicates that you are building packages as root, set SUDO=/usr/bin/doas in your /etc/mk.conf and add your account to 'wsrc' group, and use the regular account - it might need a bit more configuration in terms of file/directory permissions and umask.