Hello everyone! apologies if I'm posting in the wrong section. I'm trying to install Synchronet on my machine so I could serve my local retrogaming community (X68000/PC98/Macintosh) here in SF... many thanks for keeping the scene alive, I'd love to join with my own setup!
I'm running FreeBSD 13.2 and hit the following issue while compiling from GIT repo clone:
gmake -C /usr/home/sysop/sbbs/exec MAKEFLAGS= os=freebsd RELEASE=1 BAJAPATH=/usr/home/sysop/sbbs/repo/src/sbbs3/clang.freebsd.exe.release/baja gmake[1]: Entering directory '/usr/home/sysop/sbbs/repo/exec'
gmake[1]: *** No rule to make target 'cntnodes.bin', needed by 'all'. Stop. gmake[1]: Leaving directory '/usr/home/sysop/sbbs/repo/exec'
gmake: *** [GNUmakefile:158: baja] Error 2
I can't wrap my head around it, I was wondering if someone may help me? thanks a lot!
thanks for the reply, I forgot to mention, this was from a clean checkout.
I can conform I:
-deleted the whole sbbs folder
-made a new sbbs
-cloned the git repo via 'git clone https://gitlab.synchro.net/main/sbbs.git ~/sbbs/repo'
-ran 'gmake install SYMLINK=1'
and I'm hitting the above issue :(
While I was waiting I tried compiling form the tarball, it should take another hour on my P3 so I'll be able to report back by then, would that help excluding stale files? thanks!
Hi Rob, thanks for your reply,
I don't know what to say, it's a fresh OS install, I added the dependencies packages listed in the wiki, then cloned the repo from the above link. My only guess is that the FreeBSD env may trigger the anomaly.
gmake[1]: *** No rule to make target 'cntnodes.bin', needed by 'all'. Stop.
I tried compiling from the tarball, but I hit another problem:
Linking clang.freebsd..exe.release/umonitor
gmake[1]: Leaving directory '/usr/home/sysop/sbbs3/src/sbbs3/umonitor'
ln -sfr clang.freebsd..exe.release/* /sbbs/exec
ln: illegal option -- r
usage: ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file [target_file]
ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file ... target_dir
link source_file target_file
gmake: *** [targets.mk:113: symlinks] Error 1
This seems related to FreeBSD's ln version/implementation, missing the option.
Looks like FreeBSD may be too much of niche in terms of installations/testing? I'd be happy to contribute working on a 32bit VM (mostly to speed up the compiling) but looks like I may have to switch the OS to Debian to at least get things running and get acquainted with Synchronet itself.
Thanks again and please let me know if you'd be available/willing to continue investigating the FreeBSD testing together, if here or in other channels, happy to do what I can.
Quick update, I'm now working on the Debian setup, and as soon as I have a Linux BBS running, I'll go back working on the 32bit VM fro FreeBSD, checking tarball without symlinks, and update this thread.
Regarding the cntnodes.bin issue, what I meant by anomaly is that if on a clean freshly installed system, with a fresh repo clone, the stale files should not be referred to , my only guess is that the compiling process still looks for those because it's a FreeBSD env. and somewhere it ends up looking for that old stuff (as I take this is not happening on Linux or Windows)... I'm not a developer, so apologies if I'm likely missing something (maybe the FreeBSD packages/dependencies are throwing a wrench?) but if you mean I was working on an old build tree, I wanted to assure it's not the case, everything from OS to repo, was installed/cloned for the first time few days ago for the first time, as I wanted to make a dedicated machine.
Re: FreeBSD BAJA compiling error
By: Pasta68K to Digital Man on Fri Jul 14 2023 12:24 pm
thanks for the reply, I forgot to mention, this was from a clean checkout.
I can conform I:
-deleted the whole sbbs folder
-made a new sbbs
-cloned the git repo via 'git clone https://gitlab.synchro.net/main/sbbs.git ~/sbbs/repo'
-ran 'gmake install SYMLINK=1'
and I'm hitting the above issue :(
That certainly doesn't make any sense. cntnodes hasn't been in the sbbs git repo (or exec/GNUmakefile) for 11 years: https://gitlab.synchro.net/main/sbb s/-/commit/49195be72cf4d31d53d76229fa577a6e7 So... *something* you're using in that build tree is very old.
just a thought, as I followed the instructions to clone the repo I found here: http://wiki.synchro.net/dev:git
ran 'git clone https://gitlab.synchro.net/main/sbbs.git ~/sbbs/repo'
then ''gmake install SYMLINK=1'
... is it possible that the repo linked in that wiki page is old? I see now on Debian everything get cloned just by running 'make install SYMLINK=1' without need for manually mirror the repo locally first, so maybe the GNUmakefile is pointing to a different repo?
quick update, same error on Debian via GIT, I'll try the tarball.
make -C /sbbs/exec MAKEFLAGS= os=linux RELEASE=1 BAJAPATH=/sbbs/repo/src/sbbs3/gcc.linux.exe.release/baja
make[1]: Entering directory '/sbbs/repo/exec'
make[1]: *** No rule to make target 'cntnodes.bin', needed by 'all'. Stop. make[1]: Leaving directory '/sbbs/repo/exec'
make: *** [GNUmakefile:158: baja] Error 2
(this time I didn't mirror first the repo locally, just run 'make install SYMLINK=1' right after installing the OS dependencies packages, so it pulled everything by itself)
last update! tarball worked as expected, I have now a running system on Debian (still wrestling with an "error running yesnobar" when navigating the BBS menus, I wonder if that's because of 3.20 changes, but I'll try to figure it out).
Thanks again, I'm not sure at this point what I did wrong with GIT, I'm not familiar with it, but maybe I missed some update command and got stale content. I'll run the tarball on FreeBSD but I'm expecting of course it to work the same way.
Do you have the file repo/exec/cntnodes.src?
Is the BAJAPATH above valid? You pasted a path with double-dots ('..') here earlier that looked suspect.
It sounds like you're not able to build the exec/*.bin files (built with Baja).
-using the tarball under Debian, I was able to complete the build successfully, but looks like the .bin files from baja were not generated automatically (which made me think the issue was related possibly to the BAJA path mentioned, even if the build completed). I was able though to generate them manually using the baja executable the build generated, ending with a working system (no errors in the console logs with user connected and transferring files or customizing options)
Thanks a lot Rob for the help,
Do you have the file repo/exec/cntnodes.src?
Is the BAJAPATH above valid? You pasted a path with double-dots ('..') here earlier that looked suspect.
I do not have right now that repo folder on disk to check cntnodes.src, but I recall checking and while the compiler was looking for the " .exec.release", on my filesystem I had " ..exec.release" which got me puzzled as well.
It sounds like you're not able to build the exec/*.bin files (built with Baja).
I'm now confused as the tarball ended compiling without errors and so far I was able to run the BBS config and console, even creating the sysop user.
I don't mean to create confusion if this is unrelated, but just to clarify, I'm not having compiling errors (I think), I'm able to run exec/sbbs and when connected (telnet) to the BBS from a terminal emulator often a red error line on screen saying "!ERROR executing yesnobar" appears, while I can see the console log showing:
"!ERROR 2 (No such file or directory) in exec.cpp line 791 (exec_bin) executing "yesnobar" access=0 info=module doesn't exist"
Is this possibly still related to BAJA?
At this point, if the GIT is correct and hits a BAJA issue (but the tarball successfully compiles?) I'm starting wondering if my Pentium III processor may be missing some feature needed?
I put together this retro machine to run
DOS BBS software, but I eventually realized Synchronet is much more powerful... still it's good having access to FDDs and SCSI card, as I can read/write media from many of my old computers, so I opted to simply run a newer OS on the P3.
to summary as basically there were two issues discussed, again sorry for a bit of overlap:
-under both FreeBSD 13.2 or Debian 12.0. using GIT + GNUMakefile from the wiki links, I was not able to finish compiling, because a BAJA path error.
-using the tarball under FreeBSD, I did hit the ln -r option issue (which should now be fixed thanks to Rob)
-using the tarball under Debian, I was able to complete the build successfully, but looks like the .bin files from baja were not generated automatically (which made me think the issue was related possibly to the BAJA path mentioned, even if the build completed).
I was able though to
generate them manually using the baja executable the build generated, ending with a working system (no errors in the console logs with user connected and transferring files or customizing options)
See if you can still reproduce this error by running 'make' while the current working directory is your Synchronet "exec" directory.
See if you can still reproduce this error by running 'make' while the current working directory is your Synchronet "exec" directory.
Thanks, as soon as I'll get the FreeBSD VM running I'll try again!
From Newsgroup: alt.bbs.synchronet
Same error here:
make -C /home/sbbs/sbbs/exec MAKEFLAGS= os=linux RELEASE=1 BAJAPATH=/home/sbbs/sbbs/repo/src/sbbs3/gcc.linux.exe.release/baja
make[1]: Entering directory '/home/sbbs/sbbs/repo/exec'
make[1]: *** No rule to make target 'cntnodes.bin', needed by 'all'. Stop. make[1]: Leaving directory '/home/sbbs/sbbs/repo/exec'
make: *** [GNUmakefile:158: baja] Error 2
Fresh Git repo and debian install.
Icon name: computer-laptop
Chassis: laptop ¨
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.1.0-18-686-pae
Architecture: x86
Hardware Vendor: ASUSTeK Computer INC.
Hardware Model: 1005HA
Firmware Version: 1601
32 bit
Trying to breath life into my old eee pc
Are you missing the file exec/cntnodes.src?The file is there /home/sbbs/sbbs/repo/exec/cntnode.src
From Newsgroup: alt.bbs.synchronet
On Wednesday, February 21, 2024 at 8:20:26¨PM UTC-8, Digital Man wrote:
Are you missing the file exec/cntnodes.src?The file is there /home/sbbs/sbbs/repo/exec/cntnode.src
To: datGSguygmake: *** No rule to make target 'cntnodes.bin', needed by 'all'. Stop.
Re: Re: FreeBSD BAJA compiling error
By: datGSguy to alt.bbs.synchronet on Wed Feb 21 2024 11:06 pm
From Newsgroup: alt.bbs.synchronet
On Wednesday, February 21, 2024 at 8:20:26¨PM UTC-8, Digital Man wrote:And if you run GNU make while in that directory, you get that error?
Are you missing the file exec/cntnodes.src?The file is there /home/sbbs/sbbs/repo/exec/cntnode.src
--
From Newsgroup: alt.bbs.synchronet
On Thursday, February 22, 2024 at 12:23:44¨AM UTC-8, Digital Man wrote:
To: datGSguy
Re: Re: FreeBSD BAJA compiling error
By: datGSguy to alt.bbs.synchronet on Wed Feb 21 2024 11:06 pm
From Newsgroup: alt.bbs.synchronet
gmake: *** No rule to make target 'cntnodes.bin', needed by 'all'. Stop. same error.On Wednesday, February 21, 2024 at 8:20:26¨PM UTC-8, Digital Man wrote:And if you run GNU make while in that directory, you get that error?
Are you missing the file exec/cntnodes.src?The file is there /home/sbbs/sbbs/repo/exec/cntnode.src
--
Sysop: | Manitoo |
---|---|
Location: | Montreal, QC, Canada |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 104:33:15 |
Calls: | 37 |
Files: | 3 |
Messages: | 30,290 |