TIP: Click on subject to list as thread! ANSI
echo: jamnntpd
to: Jay Harris
from: fusion
date: 2024-01-24 13:15:00
subject: Re: Compiling SmapiNNTPd

On 24 Jan 2024, Jay Harris said the following...
 
 JH> I have hpt installed with DYNLIBS=1, PREFIX=/usr/local &
 JH> LIBDIR=${PREFIX}/lib in huskymak.cfg.
 JH> 
 JH> I had to add /usr/local/lib to /etc/ld.so.conf.d/your_lib.conf and then
 JH> run sudo ldconfig to allow husky to run.

eek, redhat-based distro perhaps?

 JH> make[1]: Entering directory '/tmp/smapinntpd/src'
 JH> gcc  -Wall -Wno-pointer-sign -DPLATFORM_LINUX -D__PROGPROT_H__ -c main.c
 JH> -o 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.

strictly from a C standpoint not knowing about husky much.. typically you would build and install smapi separately if it's used this way.. it's not looking in the folder you think it is (but perhaps instead somewhere like /usr/local/include/smapi which might be it's post-install home)

--- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
                                                          
* Origin: cold fusion - cfbbs.net - grand rapids, mi (1:120/616)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.