home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 2288 
 Nicholas Boel to Jay Harris 
 Compiling SmapiNNTPd 
 24 Jan 24 21:40:42 
 
MSGID: 1:154/10 65b1d838
REPLY: 1:229/664 65b1a149
PID: SmapiNNTPd/Linux 2.0 b20240117
CHRS: UTF-8 4
TZUTC: -0600
TID: hpt/lnx 1.9 2023-02-24
On Thu, 25 Jan 2024 00:31:34 -0500, Jay Harris -> Nicholas Boel wrote:

 JH> But still the same message about missing the smapi/msgapi.h file:

 JH> /tmp/smapinntpd/src$ make linux
 JH> make -f Makefile.linux
 JH> make[1]: Entering directory '/tmp/smapinntpd/src'
 JH> gcc  -Wall -Wno-pointer-sign -DPLATFORM_LINUX -D__PROGPROT_H__ -c main.c
-o
 JH> main.o
 JH> In file included from main.c:1:
 JH> nntpserv.h:22:10: fatal error: smapi/msgapi.h: No such file or directory
 JH>     22 | #include 
 JH>        |          ^~~~~~~~~~~~~~~~
 JH> compilation terminated.
 JH> make[1]: *** [Makefile.linux:37: main.o] Error 1
 JH> make[1]: Leaving directory '/tmp/smapinntpd/src'
 JH> make: *** [Makefile:15: linux] Error 2

So I think what I did was I edited nntpserv.h and changed those two lines.

#include "/home/user/src/husky/smapi/smapi/msgapi.h"
#include "/home/user/src/husky/smapi/smapi/progprot.h"

... and it compiled. It may not be the best solution, but I had the same
problems you did and when I got fed up I just started trying to point directly
to files it was looking for. ;)

 JH> I notice that I have smapi 2.5 which doesn't include the smapi/progprot.h
 JH> file also referenced in nntpserv.h, but it is there in the
 JH> smapi-2.2.4-src.tar.gz archive I downloaded.
Funny thing I just noticed. I don't have progprot.h on my entire system, but
changing that line to point directly to the smapi directory still worked. So
maybe as long as it finds msgapi.h you're good to go. ;)

Regards,
Nick

... "Take my advice, I don't use it anyway."
--- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
 * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)
SEEN-BY: 15/0 90/1 103/705 105/81 106/201 120/616 123/10 124/5016
SEEN-BY: 128/260 135/225 153/757 7715 154/10 30 40 50 700 203/0 218/700
SEEN-BY: 220/90 221/0 6 226/18 30 227/114 229/110 112 113 206 307
SEEN-BY: 229/317 426 428 470 664 700 240/1120 5832 266/512 280/464
SEEN-BY: 280/5003 5555 282/1038 291/111 292/8125 301/1 310/31 320/219
SEEN-BY: 322/757 341/66 234 342/200 396/45 423/120 460/58 128 256
SEEN-BY: 460/1124 467/888 633/280 712/848 770/1 2320/105 3634/12 5020/400
SEEN-BY: 5054/30
PATH: 154/10 280/464 460/58 229/426


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

(c) 1994,  bbs@darkrealms.ca