home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 2287 
 Jay Harris to Nicholas Boel 
 Re: Compiling SmapiNNTPd 
 24 Jan 24 18:31:34 
 
REPLY: 1:154/10 65b19710
MSGID: 1:229/664 65b1a149
CHRS: LATIN-1 2
TZUTC: -0500
TID: hpt/lnx 1.9 2023-12-21
On Wednesday January 24 2024, Nicholas Boel said the following...

 NB> On Wed, 24 Jan 2024 15:02:54 -0500, Jay Harris -> All wrote:

 JH>> I seem to be stuck trying to compile SmapiNNTPd.

 JH>> Does anyone have any pointers as to how I can get this compiled &
 JH>> running?

 NB> Where are these located:

 NB> libsmapi.a
 NB> libsmapi.so
 NB> libsmapi.so.2.5
 NB> libsmapi.so.2.5.0

 NB> If they aren't in /usr/local/lib, then you might need to make a
 NB> symlink or point your LIBDIR in huskymak.cfg to where they actually
 NB> 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 -> libar
afix.so.1.9.20231221*
lrwxrwxrwx 1 root root    26 Jan 17 09:07 libareafix.so.1.9 -> l
bareafix.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 -> libf
doconf.so.1.9.20230224*
lrwxrwxrwx 1 root root    27 Jan 17 09:07 libfidoconf.so.1.9 -> 
ibfidoconf.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 -> libhpt
ip.so.1.9.20230105*
lrwxrwxrwx 1 root root    25 Jan 17 09:07 libhptzip.so.1.9 -> li
hptzip.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 -> libhusk
.so.1.9.20230224*
lrwxrwxrwx 1 root root    24 Jan 17 09:07 libhusky.so.1.9 -> lib
usky.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 -> libsmap
.so.2.5.20220123*
lrwxrwxrwx 1 root root    24 Jan 17 09:07 libsmapi.so.2.5 -> lib
mapi.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 
      |          ^~~~~~~~~~~~~~~~
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)
SEEN-BY: 15/0 90/1 105/81 106/201 128/260 135/225 153/7715 218/700
SEEN-BY: 226/30 227/114 229/110 112 113 206 307 317 426 428 470 664
SEEN-BY: 229/700 266/512 282/1038 291/111 320/219 322/757 342/200
SEEN-BY: 396/45 460/58 633/280 712/848
PATH: 229/664 426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca