TIP: Click on subject to list as thread! ANSI
echo: jamnntpd
to: All
from: Jay Harris
date: 2024-01-24 09:02:00
subject: Compiling SmapiNNTPd

Hi All,

I seem to be stuck trying to compile SmapiNNTPd.

I have hpt installed with DYNLIBS=1, PREFIX=/usr/local & LIBDIR=${PREFIX}/lib in huskymak.cfg.

I had to add /usr/local/lib to /etc/ld.so.conf.d/your_lib.conf and then run sudo ldconfig to allow husky to run.

$ hpt
hpt/lnx 1.9 2023-12-21

When I try and compile SmapiNNTPd (git clone https://github.com/ftnapps/smapinntpd.git) I see:

$ 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've also downloaded smapi-2.2.4-src.tar.gz from https://sourceforge.net/projects/husky/ and extracted it to smapinntpd/src:

$ ll smapi/msgapi.h
-rw-r--r-- 1 ubuntu ubuntu 15K Feb 11  2003 smapi/msgapi.h
$ ll smapi/progprot.h
-rw-r--r-- 1 ubuntu ubuntu 2.9K Oct 25  2002 smapi/progprot.h


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

Jay

... Sure, I drink brake fluid. But I can stop anytime!
--- GoldED+/W64-MSVC 1.1.5-b20180707
      
* Origin: Northern Realms (1:229/664)

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™.