TIP: Click on subject to list as thread! ANSI
echo: artware
to: mark lewis
from: andrew clarke
date: 2019-06-01 22:47:00
subject: RNtrack (was: netmgr in l

30 May 19 20:49, you wrote to Paul Quinn:

 ml>>> mine fails when bison tries to compile the documentation...

 PQ>> Ooh, I hate it when that happens.

 ml> my bad... it wasn't the documentation... it was trying to create the
 ml> cfg.cpp and .hpp files (i think)... i finally hacked at it enough to get
 ml> it to compile properly... basically converting many " = {" and " ={" to
 ml> "{" and adding four (IIRC) missing ";"...

Another option was to comment out that part of the Makefile.

Since cfg.cpp already exists in the SVN tree, so there's probably no need to 
recreate it with bison.

Curiously the FreeBSD makefile doesn't actually run bison. That's probably an 
error on the author's part, though I don't have bison installed anyway. (It's 
not part of the FreeBSD base.)

Build instructions for RNTrack on Linux:

$ svn co https://svn.code.sf.net/p/ftrack-as/code/trunk ftrack-as-code
$ mv ftrack-as-code rntrack
$ cd rntrack/MakeFiles/linux
$ nano Makefile

[...]

$ svn diff
Index: Makefile
===================================================================
-+- Makefile    (revision 174)
+++ Makefile    (working copy)
@@ -84,8 +84,8 @@
 %.o: $(SRCDIR)%.cpp
        $(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<

-$(SRCDIR)cfg.cpp: $(SRCDIR)cfg.y
-       bison -l -d $< -o $(SRCDIR)cfg.cpp
+#$(SRCDIR)cfg.cpp: $(SRCDIR)cfg.y
+#      bison -l -d $< -o $(SRCDIR)cfg.cpp

 smapi:
        make -C $(SRCDIR)smapi -f makefile.lnx

$ make

--- GoldED+/BSD 1.1.5-b20180707
                                                                                                                       
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)

SOURCE: echomail via QWK@dmine.net

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