Subj : Re: Synchronet config change
To   : Rob Swindell
From : Vitaliy Aksyonov
Date : Wed Mar 06 2024 12:54 pm

Hello Rob.

06 Mar 24 11:24, you wrote to me:

>> BTW, make sure that Synchronet changes are actually there. I've
>> pushed them to master just today. You may need to pull from repo
>> again.

RS> I was using the "Synchronet" branch. I'll switch to master.

I see. Sounds good! Just wanted to make sure that you use correct code.

>>  RS> But running it (via SSH) doesn't output anything, just exits
>>  RS> immediately. 'gedlnx --help' same, nothing.
>>
>> Unfortunately there is a bug which hides usage message if no config
>> found. I've tried to fix it, but had to revert it back, because
>> correct fix is not that simple.
>>
>>  RS> So then I searched for documentation. golded.org appears down.
>>
>>  RS> I saw you have CMakeLists.txt, so I tried using that to build.
>> This
>>  RS> time, a lot fewer errors and it output some promising
>> binaries, but
>>  RS> again, running them produces no output:
>>
>>  RS> rswindell@git ~/golded-plus/out/golded3 (Synchronet) $ sudo
>> make
>>  RS> install [  4%] Built target uulib [  9%] Built target hunspell
>> [ 34%]
>>  RS> Built target gall [ 53%] Built target gcfg [ 60%] Built target
>> gcui [
>>  RS> 61%] Built target smblib [ 77%] Built target gmb3 [100%] Built
>> target
>>  RS> golded Install the project... -- Install configuration: "" --
>>  RS> Installing: /usr/local/bin/golded rswindell@git
>>  RS> ~/golded-plus/out/golded3 (Synchronet) $ golded rswindell@git
>>  RS> ~/golded-plus/out/golded3 (Synchronet) $
>>
>>  RS> Maybe I need to create or edit a config file or something? An
>> error
>>  RS> message or *some* kind of output from running 'golded' could
>> be
>>  RS> helpful.
>>
>> You have to have config file. You may start from simple config file
>> from
>> here:
>>
>> https://github.com/golded-plus/golded-plus/blob/master/cfgs/config/
>> simple.cf g
>>
>> And then uncomment this line:
>>
>> ;AREAFILE SBBS         R:\SBBS\                  ; Synchronet BBS
>> dir
>>
>> Set correct path to Synchronet directory. That shall do the trick.

RS> Okay, where does goled need to find this simple.cfg file? I assume I
RS> have to move or copy it somewhere that goled expects to find it.

It either look for it in current working directory or you may run it with parameter -C. Like this:

./gedlnx -C/path/to/config

Note that there is no space between -C and config file.

Vitaliy

... 640K ought to be enough for anybody
--- GoldED+/LNX 1.1.5-b20240305-beta
* Origin: Aurora, Colorado (1:104/117)