The problem you're describing was fixed on Nov-17:> http://cvs.synchro.net/cgi-bin/viewcvs.cgi/src/sbbs3/js_uifc.c> So you just need to cvs-update and recompile. :-)I still have the same issue, but it takes approx 1 minute to open theunpopulated TradeWars 2 Initialization window, where it was prettyinstantaneous before.That could be because if I follow the cvs update directions on the wiki, Ieventually get to this step:cd /sbbs/src/sbbs3; make RELEASE=1 symlinksAnd get the following error:make: *** No rule to make target 'symlinks'. Stop.If I replace symlinks with install, it says there is nothing for it to do.The next step gives the same "no rule" error. The other steps all appearedto do what they were supposed to, although it was not much.The comments in my copy of js_uifc.c are now dated 2017/11/17 10:03:07, soit does look like I have an updated copy, FWIW.--- SLMR 2.1a In his hand a moving picture of the crumbling land Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
I added a section to ctrl/json-service.ini with..> [tw2]> dir=../xtrn/tw2/> and that seems to have gotten me past this..I tried that, too. No improvements on this end. :)--- SLMR 2.1a How can I escape this irresistable grasp? Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
If I recall correctly, some breaking changes were made to the UIFC API for>javascript a few years ago. Sounds like this script is a victim of that, and>it will need to be fixed. Probably not much a user (sysop) can do to work>around it, unless the game offers some kind of non-interactive setup process.That would be nice. I much rather prefer editing an INI or CFG file overhaving a script or program build it for me. If it came with an example ofeither, I don't see them.--- SLMR 2.1a Tongue-tied & twisted, just an Earth-bound misfit, I! Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
That could be because if I follow the cvs update directions on the wiki, I> > eventually get to this step:> >> > cd /sbbs/src/sbbs3; make RELEASE=1 symlinks> >> > And get the following error:> >> > make: *** No rule to make target 'symlinks'. Stop.> Did you run "cvs update" before that? That sounds like you don't have the> latest src/sbbs3/GNUmakefile.I ran the following, from the wiki:export CVSROOT=:pserver:anonymous@cvs.synchro.net:/cvsroot/sbbscvs update -d execcvs update -d src 3rdpThen I ran the step quoted above.> And when you run jsexec, what does it say the build date is?JSexec v3.17a-Linux (rev 1.184)Compiled Nov 4 2017 13:52:09 with GCC 6.3.0GNUmakefile in /src/sbbs3 is dated November 26, 2015, which sounds wrong forsure.Thanks!--- SLMR 2.1a My grubby halo, a vapour trail in the empty air... Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
That's an important step nevertheless, so keep those lines in place in your> json-service.ini file. This tells your local JSON-DB server to host a 'tw2'> module, and the game's configuration script will want to access that module> when it does its thing.Thanks to you and Al. I will keep them in there as they were not therebefore.--- SLMR 2.1a A restless eye across a weary room... Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
Depending on what you want to accomplish, if you just want a release build,>"make" should do just fine. If you want DOSEMU support, "make USE_DOSEMU=1" is>good.. Check the wiki, there is only a mention of SYMLINK when you're>installing for the first time. Scroll down a bit and you'll see the "Upgrading">section.When I am looking at:http://wiki.synchro.net/install:nixThe Updating section shows symlinks on the make lines, on Step 4 parts 1and 2.Maybe we are looking at different pages? :D--- SLMR 2.1a A momentary lapse of reason that binds a life to a life.. Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
JSexec v3.17a-Linux (rev 1.184)>> Compiled Nov 4 2017 13:52:09 with GCC 6.3.0>Okay, that means it hasn't been built since Nov-4-2017, so it won't include the>fix for JS uifc.>What's likely happening is that the jsexec you're running is not the latest one>you built. If you run "locate jsexec" on your system, it should report to all>of the files named "jsexec" on your file system. My guess is, you have more>than one.You are right, but:/opt/sbbs/exec/jsexec/opt/sbbs/src/sbbs3/gcc.linux.exe.release/jsexec/sbbs/exec/jsexec/sbbs/src/sbbs3/gcc.linux.exe.release/jsexecThose first two are old, from 2009, and are from a backup of a previousinstallation. The last two are a symlink and an actual build, fromNovember 4, 2017. I do not appear to have one more recent. I have triedrunning both "jsexec" and "/sbbs/exec/jsexec" during my attempts.>When you run jsexec, are you typing the absolute path (e.g. /sbbs/exec/jsexec)>or just letting your PATH pick the one to run? If you type "which jsexec",>it'll tell you which one is running (if any) if you just type "jsexec" without>the path.I get no output from "which jsexec".>My guess is that either the jsexec that's in your path is an old one or you're>specifying the path to /sbbs/exec/jsexec which is an old one. Or maybe it's a>symlink to src/sbbs3/gcc.linux.exe.debug/jsexec but you built a release binary>when you ran make (or vice versa).Apparently I did not build one when I ran make. :)>I know this seems like a lot of hassle just to run a door game, but you should>get a handle on how you can can update sbbs (including jsexec) and actually>benefit from those updates. :-)Yes, I would like to get a handle on that, especially since I seem to havedifficulty with it. Since you did not mention it, I am assuming that Ishould be following the directions, as stated, on the UNIX install wiki pageunder the "Updating" heading? That is what I have been trying.Thanks for you assistance!on edit: decided to try something on my own. I split the line:cd /sbbs/src/sbbs3; make RELEASE=1 symlinksinto:cd /sbbs/src/sbbs3make RELEASE=1 symlinksStill got the "symlinks" error. So I ran "make RELEASE=1" in the/sbbs/src/sbbs3 directory without "symlinks". Well, that caused *something*to happen! It ran 10-15 minutes, compiling this and that, befure ending withthis new error:make: *** No rule to make target 'base64.h', needed by'gcc.linux.obj.release-mt/ js_file.o'. Stop.If you get this message, I didn't plumb break it. :D I also still have aNovember 4 version of jsexec, unfortunately.--- SLMR 2.1a He knows changes aren't permanent - but change is! Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
Maybe we are looking at different pages? :D>The only time I use SYMLINK=1 is when compiling for the first time, or changing>between a RELEASE build and a DEBUG build, which I also haven't done for quite>some time, so I haven't needed to redo symlinks in a long time. Once they're>created for the first time, they don't go away unless you delete them. ;)Thanks. The symlinks still appear to be there. I'd be in a heap of hurtif they were not. :D--- SLMR 2.1a Wind in my hair - shifting and drifting... Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
Then you're missing an update. What was the "cvs update" command you ran when> you updated?See below.> It sounds like you're missing rev 1.42 of src/sbbs3/targets.mkMine is dated December 31. Loading it up in mcview gives this info: $Id: targets.mk,v 1.42 2017/12/13 21:25:21 rswindle Exp $> You need to perform a "make clean" first as that file has been moved. See> "Clean Rebuild" at http://wiki.synchro.net/install:nix#updatingOK, here is a cut-and-paste from my lxterminal window: $ export CVSROOT=:pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs $ cvs update -d exec $ cvs update -d src 3rdp $ cd /sbbs/src/sbbs3 $ make RELEASE=1 USE_DOSEMU=1 cleanDeleting gcc.linux.obj.release/Deleting gcc.linux.obj.release-mt/Deleting gcc.linux.lib.release/Deleting gcc.linux.exe.release/ $ cd scfg $ make RELEASE=1 USE_DOSEMU=1 cleanDeleting gcc.linux.obj.release/Deleting gcc.linux.obj.release-mt/Deleting gcc.linux.lib.release/Deleting gcc.linux.exe.release/ $ cd /sbbs/src/sbbs3 $ make RELEASE=1 USE_DOSEMU=1 symlinksmake: *** No rule to make target 'symlinks'. Stop. $ make RELEASE=1 symlinksmake: *** No rule to make target 'symlinks'. Stop.--- SLMR 2.1a "Gasoline clears my sinuses!" - Fred G. Sanford Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
~/sbbs/src/sbbs3$ cvs status targets.mk> ===================================================================> File: targets.mk Status: Up-to-date> Working revision: 1.42> Repository revision: 1.42 /cvsroot/sbbs/src/sbbs3/targets.mk,v> Commit Identifier: YArZCgUZpz38bMiA $ cvs status targets.mkcvs status: No CVSROOT specified! Please use the `-d' optioncvs [status aborted]: or set the CVSROOT environment variable. $ export CVSROOT=:pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs $ cvs status targets.mkcvs status: cannot open CVS/Entries for reading: No such file or directorycvs [status aborted]: no repositoryDoes that provide any clues? :)> > > You need to perform a "make clean" first as that file has been moved. See> > > "Clean Rebuild" at http://wiki.synchro.net/install:nix#updating> >> > OK, here is a cut-and-paste from my lxterminal window:> >> > $ export CVSROOT=:pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs> > $ cvs update -d exec> > $ cvs update -d src 3rdp> > $ cd /sbbs/src/sbbs3> > $ make RELEASE=1 USE_DOSEMU=1 clean> > Deleting gcc.linux.obj.release/> > Deleting gcc.linux.obj.release-mt/> > Deleting gcc.linux.lib.release/> > Deleting gcc.linux.exe.release/> > $ cd scfg> > $ make RELEASE=1 USE_DOSEMU=1 clean> > Deleting gcc.linux.obj.release/> > Deleting gcc.linux.obj.release-mt/> > Deleting gcc.linux.lib.release/> > Deleting gcc.linux.exe.release/> > $ cd /sbbs/src/sbbs3> > $ make RELEASE=1 USE_DOSEMU=1 symlinks> > make: *** No rule to make target 'symlinks'. Stop.> > $ make RELEASE=1 symlinks> > make: *** No rule to make target 'symlinks'. Stop.> Okay, good. So the base64.h error went away. The symlinks build error is> mysterious. What if you remove that from the make command-line?The last time I tried it, it ran for 5-10 minutes beforegiving the base64.h error. I later realized it had erased most of myexecutables from the sbbs3 directory tree. So I am a little leary to tryit again. :)FYI, that was the first and only time I saw the base64.h error was when Iran "make RELEASE=1" without the "symlinks" included.--- SLMR 2.1a "Kills millions of germs on contract" Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
$ cvs status targets.mk> > cvs status: No CVSROOT specified! Please use the `-d' option> > cvs [status aborted]: or set the CVSROOT environment variable.> > $ export CVSROOT=:pserver:anonymous@cvs.synchro.net:/cvsroot/sbbs> > $ cvs status targets.mk> > cvs status: cannot open CVS/Entries for reading: No such file or directory> > cvs [status aborted]: no repository> >> > Does that provide any clues? :)> You didn't get the source using cvs in the first place?I did do so.> Do you not have a src/sbbs3/CVS directory?Yes.~/src/sbbs3/CVS$ lsEntries Repository Root TagShould I have been in the /src/sbbs3 directory when I ran the cvs statuscommand?--- SLMR 2.1a L&N -- The Old Reliable Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
The last time I tried it, it ran for 5-10 minutes before> > giving the base64.h error. I later realized it had erased most of my> > executables from the sbbs3 directory tree. So I am a little leary to try> > it again. :)> >> > FYI, that was the first and only time I saw the base64.h error was when I> > ran "make RELEASE=1" without the "symlinks" included.>> A "clean" fixed the base64.h error. It had nothing to do with including or> excluding the "symlinks" argument.Ok, so running without symlinks does cause all of the make steps listed inthe wiki to complete with success, as does the update.js step. However,restarting synchronet after the compile does not work so good. It ends ina segmentation fault. I had the output captured but apparently it gotdeleted when I had to restore from backup.Just for fun, I did go back through the wiki and attempt to install all ofthe dependencies. apt-get reported that all were installed at at theirnewest versions - none missing.Also, one thing I did see synchronet complain about before abending was theSBBSCTRL not being set. I find this confusing as the script that startssynchronet contains these three lines, before sbbs is called:export HOME=/sbbsexport SBBSCTRL=/sbbs/ctrlexport SBBSNODE=/sbbs/node1 ???--- SLMR 2.1a Safe sex used to mean to put the car in "Park" Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
The instructions for debugging crashes (e.g. segfaults) on *nix are here:> http://wiki.synchro.net/howto:gdb>> It'd be helpful if you had a core file from the crash.I think the problem is that I probably have to keep up with acvs/make/etc. routine pretty regular in order not to get out of sync atsome point. I am not a PC platform developer, or a bleeding edge user, soI would not be one to do so.That is part of the reason I chose debian stable over slackware... I knewI'd wind up screwing up a "compile the packages yourself" distro because Iwould not keep up with every single release of my favorite packages. Ifigured out that a release with prebuild binaries and package/dependencymanagement built in was going to be my friend. :)Just so long as the ftp server and qwk mail doesn't stop working (what folksreally use here), I should probably be happy with what I have.Thanks!--- SLMR 2.1a ??? Synchronet CAPCITY2 * capcity2.synchro.net * 1-502-875-8938
Sysop: | Karloch |
---|---|
Location: | Madrid, Spain |
Users: | 54 |
Nodes: | 8 (0 / 8) |
Uptime: | 129:32:18 |
Calls: | 700 |
Files: | 17,895 |
D/L today: |
128 files (60,769K bytes) |
Messages: | 66,010 |