TIP: Click on subject to list as thread! ANSI
echo: jamnntpd
to: Nicholas Boel
from: Jay Harris
date: 2024-01-24 18:31:00
subject: Re: Compiling SmapiNNTPd

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 -> 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 
      |          ^~~~~~~~~~~~~~~~
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)

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