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 theãunpopulated TradeWars 2 Initialization window, where it was prettyãinstantaneous before.ãã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.ãã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 appearedãto 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, soãit 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 overãhaving a script or program build it for me. If it came with an example ofãeither, 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/sbbsãcvs update -d execãcvs update -d src 3rdpããThen 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.0ããGNUmakefile in /src/sbbs3 is dated November 26, 2015, which sounds wrong forãsure.ãã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 thereãbefore.ãã---ã þ 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:nixããThe Updating section shows symlinks on the make lines, on Step 4 parts 1ãand 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/jsexecããThose first two are old, from 2009, and are from a backup of a previousãinstallation. The last two are a symlink and an actual build, fromãNovember 4, 2017. I do not appear to have one more recent. I have triedãrunning 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 haveãdifficulty with it. Since you did not mention it, I am assuming that Iãshould be following the directions, as stated, on the UNIX install wiki pageãunder 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 symlinksããinto:ããcd /sbbs/src/sbbs3ãmake RELEASE=1 symlinksããStill 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 withãthis 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 aãNovember 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 hurtãif 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.mkããMine 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#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.ãã---ã þ 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.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 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 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.ãã---ã þ 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$ lsãEntries Repository Root TagããShould I have been in the /src/sbbs3 directory when I ran the cvs statusãcommand?ãã---ã þ 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 inãthe wiki to complete with success, as does the update.js step. However,ãrestarting synchronet after the compile does not work so good. It ends inãa segmentation fault. I had the output captured but apparently it gotãdeleted when I had to restore from backup.ããJust for fun, I did go back through the wiki and attempt to install all ofãthe dependencies. apt-get reported that all were installed at at theirãnewest versions - none missing.ããAlso, one thing I did see synchronet complain about before abending was theãSBBSCTRL not being set. I find this confusing as the script that startsãsynchronet contains these three lines, before sbbs is called:ããexport HOME=/sbbsãexport SBBSCTRL=/sbbs/ctrlãexport 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 aãcvs/make/etc. routine pretty regular in order not to get out of sync atãsome point. I am not a PC platform developer, or a bleeding edge user, soãI would not be one to do so.ããThat is part of the reason I chose debian stable over slackware... I knewãI'd wind up screwing up a "compile the packages yourself" distro because Iãwould not keep up with every single release of my favorite packages. Iãfigured out that a release with prebuild binaries and package/dependencyãmanagement built in was going to be my friend. :)ããJust so long as the ftp server and qwk mail doesn't stop working (what folksãreally 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: | 74 |
| Nodes: | 8 (0 / 8) |
| Uptime: | 41:43:44 |
| Calls: | 2,378 |
| Files: | 17,895 |
| D/L today: |
81 files (33,855K bytes) |
| Messages: | 67,334 |