On Wednesday January 24 2024, Nicholas Boel said the following...
On Wed, 24 Jan 2024 15:02:54 -0500, Jay Harris -> All wrote:
I seem to be stuck trying to compile SmapiNNTPd.
Does anyone have any pointers as to how I can get this compiled &
running?
Where are these located:
libsmapi.a
libsmapi.so
libsmapi.so.2.5
libsmapi.so.2.5.0
If they aren't in /usr/local/lib, then you might need to make a
symlink or point your LIBDIR in huskymak.cfg to where they actually
are.
libsmapi.so & libsmapi.so.2.5 were already in /usr/local/lib as links. libsmapi.so.2.5.0 wasn't so I made a symbolic link for that one as well.
libsmapi.a wasn't there either, I found it in ~/husky/smapi/Build & copied that over:
/usr/local/lib$ ll
total 684K
lrwxrwxrwx 1 root root 26 Jan 17 09:07 libareafix.so -> libareafix.so.1.9.20231221*
lrwxrwxrwx 1 root root 26 Jan 17 09:07 libareafix.so.1.9 -> libareafix.so.1.9.20231221*
-r-xr-xr-x 1 root root 100K Jan 17 09:07 libareafix.so.1.9.20231221* lrwxrwxrwx 1 root root 27 Jan 17 09:07 libfidoconf.so -> libfidoconf.so.1.9.20230224*
lrwxrwxrwx 1 root root 27 Jan 17 09:07 libfidoconf.so.1.9 -> libfidoconf.so.1.9.20230224*
-r-xr-xr-x 1 root root 177K Jan 17 09:07 libfidoconf.so.1.9.20230224* lrwxrwxrwx 1 root root 25 Jan 17 09:07 libhptzip.so -> libhptzip.so.1.9.20230105*
lrwxrwxrwx 1 root root 25 Jan 17 09:07 libhptzip.so.1.9 -> libhptzip.so.1.9.20230105*
-r-xr-xr-x 1 root root 55K Jan 17 09:07 libhptzip.so.1.9.20230105*
lrwxrwxrwx 1 root root 24 Jan 17 09:07 libhusky.so -> libhusky.so.1.9.20230224*
lrwxrwxrwx 1 root root 24 Jan 17 09:07 libhusky.so.1.9 -> libhusky.so.1.9.20230224*
-r-xr-xr-x 1 root root 77K Jan 17 09:07 libhusky.so.1.9.20230224*
-rw-r--r-- 1 root root 160K Jan 24 18:26 libsmapi.a
lrwxrwxrwx 1 root root 24 Jan 17 09:07 libsmapi.so -> libsmapi.so.2.5.20220123*
lrwxrwxrwx 1 root root 24 Jan 17 09:07 libsmapi.so.2.5 -> libsmapi.so.2.5.20220123*
lrwxrwxrwx 1 root root 26 Jan 24 18:28 libsmapi.so.2.5.0 -> ./libsmapi.so.2.5.20220123*
-r-xr-xr-x 1 root root 100K Jan 17 09:07 libsmapi.so.2.5.20220123*
drwxrwsr-x 3 root staff 4.0K Dec 29 19:51 ocaml/
drwxr-xr-x 3 root root 4.0K Apr 20 2022 python3.10/
$ set | grep LD_LIBRARY
LD_LIBRARY_PATH=/usr/local/lib
But still the same message about missing the smapi/msgapi.h file:
/tmp/smapinntpd/src$ make linux
make -f Makefile.linux
make[1]: Entering directory '/tmp/smapinntpd/src'
gcc -Wall -Wno-pointer-sign -DPLATFORM_LINUX -D__PROGPROT_H__ -c main.c -o main.o
In file included from main.c:1:
nntpserv.h:22:10: fatal error: smapi/msgapi.h: No such file or directory
22 | #include <smapi/msgapi.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.linux:37: main.o] Error 1
make[1]: Leaving directory '/tmp/smapinntpd/src'
make: *** [Makefile:15: linux] Error 2
I notice that I have smapi 2.5 which doesn't include the smapi/progprot.h file also referenced in nntpserv.h, but it is there in the smapi-2.2.4-src.tar.gz archive I downloaded.
Jay
... If you see an Apple Store get robbed does that make you an iWitness?
--- GoldED+/LNX 1.1.5-b20231112
* Origin: Northern Realms (1:229/664)