• JSLIB

    From Deon@VERT/CHINWAG to Digital Man on Wednesday, October 17, 2018 13:12:07
    Hi,

    I see that SBBS provides the SpiderMonkey 1.8.5 source code, and compiles it as part of make install.

    I see that Debian provides mozjs185 - so I wanted to leverage it instead of compiling it again (saves a heap of time on the Pi). (And I'm doing many compiles to get my docker container right.)

    However, running make with JSLIB and JSINCLUDE set ends in an error unless you add -l$(JSLIB) to the GNUmakefile in src/sbbs3 (around line 210). Could you add that to CVS?
    ...deon

    ---
    þ Synchronet þ Linucus SBBS | BBS in Docker on Pi!
  • From Mortifis@VERT/ALLEYCAT to Deon on Wednesday, October 17, 2018 10:54:27
    Hi,

    I see that SBBS provides the SpiderMonkey 1.8.5 source code, and compiles it as part of make install.

    I see that Debian provides mozjs185 - so I wanted to leverage it instead of compiling it again (saves a heap of time on the Pi). (And I'm doing many compiles to get my docker container right.)

    However, running make with JSLIB and JSINCLUDE set ends in an error unless you add -l$(JSLIB) to the GNUmakefile in src/sbbs3 (around line 210). Could you add that to CVS?
    ...deon

    ---
    þ Synchronet þ Linucus SBBS | BBS in Docker on Pi!

    What platform and version of Debian (or which variant) are you building on?

    ---
    þ Synchronet þ Twisted Truckers BBS web asmf-etrucker.com:81 telnet asmf-etrucker.com
  • From Digital Man@VERT to Deon on Wednesday, October 17, 2018 13:03:55
    Re: JSLIB
    By: Deon to Digital Man on Wed Oct 17 2018 01:12 pm

    Hi,

    I see that SBBS provides the SpiderMonkey 1.8.5 source code, and compiles it as part of make install.

    I see that Debian provides mozjs185 - so I wanted to leverage it instead of compiling it again (saves a heap of time on the Pi). (And I'm doing many compiles to get my docker container right.)

    However, running make with JSLIB and JSINCLUDE set ends in an error unless you add -l$(JSLIB) to the GNUmakefile in src/sbbs3 (around line 210). Could you add that to CVS?

    That should be fixed in CVS now.

    digital man

    Synchronet "Real Fact" #74:
    Vertrauen went online (as a WWIV BBS running on a 10MHz PC-XT clone) in 1988. Norco, CA WX: 82.2øF, 17.0% humidity, 2 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deon@VERT/CHINWAG to Mortifis on Wednesday, October 17, 2018 22:14:50
    Re: Re: JSLIB
    By: Mortifis to Deon on Wed Oct 17 2018 10:54 am

    What platform and version of Debian (or which variant) are you building on?

    Debian stretch, on both Intel and Pi.
    ...deon

    ---
    þ Synchronet þ Linucus SBBS | BBS in Docker on Pi!
  • From Mortifis@VERT/ALLEYCAT to Deon on Thursday, October 18, 2018 10:00:07
    Re: Re: JSLIB
    By: Mortifis to Deon on Wed Oct 17 2018 10:54 am

    What platform and version of Debian (or which variant) are you building on?

    Debian stretch, on both Intel and Pi.
    ...deon

    Rob made some changes to JSLIB recently, I have been unable to build on any PC under Debian, Ubuntu or Raspbian until he made those changes. Not sure why it always failed with some js* error but it is compiling now :) odd, too, because all of the PCs that failed under a Deb flavour were successful under Slackware :\

    ---
    þ Synchronet þ Twisted Truckers BBS web asmf-etrucker.com:81 telnet asmf-etrucker.com
  • From Deon@VERT/CHINWAG to Mortifis on Friday, October 19, 2018 00:10:49
    Re: Re: JSLIB
    By: Mortifis to Deon on Thu Oct 18 2018 10:00 am

    Re: Re: JSLIB
    By: Mortifis to Deon on Wed Oct 17 2018 10:54 am
    any PC under Debian, Ubuntu or Raspbian until he made those changes. Not sure why it always failed with some js* error but it is compiling now :) odd, too, because all of the PCs that failed under a Deb flavour were successful under Slackware :\

    Yes, strange. I've always built successfully on Intel and Pi using debian (stretch). But I recommended those changes to Rob because the build was soo long, (especially on the Pi), and one library is provided by APT (so it seemed unnessary to recompile it.

    ...ëîå*

    ---
    þ Synchronet þ Linucus SBBS | BBS in Docker on Pi!
  • From Digital Man@VERT to Deon on Thursday, October 18, 2018 21:19:35
    Re: Re: JSLIB
    By: Deon to Mortifis on Fri Oct 19 2018 12:10 am

    Re: Re: JSLIB
    By: Mortifis to Deon on Thu Oct 18 2018 10:00 am

    Re: Re: JSLIB
    By: Mortifis to Deon on Wed Oct 17 2018 10:54 am
    any PC under Debian, Ubuntu or Raspbian until he made those changes. Not sure why it always failed with some js* error but it is compiling now :) odd, too, because all of the PCs that failed under a Deb flavour were successful under Slackware :\

    Yes, strange. I've always built successfully on Intel and Pi using debian (stretch). But I recommended those changes to Rob because the build was soo long, (especially on the Pi), and one library is provided by APT (so it seemed unnessary to recompile it.

    I think when I first wrote those instructions there was no libmozjs-dev package for the platform, so we had to include it (the source and patches) and build it on the device. Glad there's a package now.

    digital man

    This Is Spinal Tap quote #19:
    Oh then, maybe it's not green. Anyway this is what I sleep in sometimes.
    Norco, CA WX: 71.3øF, 27.0% humidity, 1 mph SSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net