• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Installing on FreeBSD, error

Scheduled Pinned Locked Moved Technical Support
13 Posts 3 Posters 3.8k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • FastidiousF Offline
    FastidiousF Offline
    Fastidious
    replied to Fastidious on last edited by
    #2

    Got it. Installed gcc5 and that solved the problem.

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by psychobunny
    #3

    @Fastidious did you follow the official docs? If so, a pull request to add that extra step is greatly appreciated. Just hit the edit button on the top right 🙂

    EDIT: oops, I guess we don't even have a FreeBSD section in our docs. What OS did you use as your guide? Could add a new page copied and pasted from the original and adding your last step.

    FastidiousF 1 Reply Last reply
    0
  • FastidiousF Offline
    FastidiousF Offline
    Fastidious
    replied to psychobunny on last edited by
    #4

    @psychobunny I simply installed node withpkg (did not use ports), cloned NodeBB and did the regular routine (npm install, nodebb setup, etc.). It was crashing on setup because I had gcc48. Installed gcc49, no dice. Finally installed gcc5 and updated libmap.conf under /etc/ as follows:

    libstdc++.so.6  gcc5/libstdc++.so.6
    

    And the beast took a deep breath, and opened its eyes. Hehe.

    1 Reply Last reply
    0
  • FastidiousF Offline
    FastidiousF Offline
    Fastidious
    wrote on last edited by
    #5

    @psychobunny said:

    Could add a new page copied and pasted from the original and adding your last step.

    I can come up with a page. It should be fairly straight forward, but I already had many things installed on that VPS, so I am not sure if whatever requirements were needed I already had them.

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #6

    You seem to know a lot more about this than any of our core team. Myself especially 😉

    If you could add a freebsd section to the docs then kudos to you, likely somebody else will run into the problem you had and I'd have no idea how to respond 😛

    FastidiousF 1 Reply Last reply
    1
  • FastidiousF Offline
    FastidiousF Offline
    Fastidious
    replied to psychobunny on last edited by
    #7

    @psychobunny said:

    If you could add a freebsd section to the docs then kudos to you

    Done. Pull request pending.

    1 Reply Last reply
    1
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #8

    Thanks! 🙂 the PR is missing a link from the OS page to your new page though

    1 Reply Last reply
    0
  • R Offline
    R Offline
    rfc2822
    wrote on last edited by
    #9

    Which JS engine do you use, v8? Maybe it's related to that.

    I'm using FreeBSD too (now with mongodb), and I didn't have to install gcc5 or do any /etc changes to use NodeBB with redis.

    FastidiousF 1 Reply Last reply
    0
  • FastidiousF Offline
    FastidiousF Offline
    Fastidious
    replied to rfc2822 on last edited by Fastidious
    #10

    @rfc2822 if you have a newer gcc installed, there is no reason to install or perform the changes I had to do. My server is not "vanilla" FreeBSD, it is "tinkering-a-lot" FreeBSD.

    1 Reply Last reply
    0
  • R Offline
    R Offline
    rfc2822
    wrote on last edited by
    #11

    You wrote "It was crashing on setup because I had gcc48". I only have gcc-4.8.5 installed, too (I highly prefer Clang, so I'm not picky about having the latest gcc version).

    FastidiousF 1 Reply Last reply
    0
  • FastidiousF Offline
    FastidiousF Offline
    Fastidious
    replied to rfc2822 on last edited by Fastidious
    #12

    @rfc2822 4.8.5 is fine, 4.8 is not. Do this:

    strings /usr/local/lib/gcc48/libstdc++.so.6 |grep GLIBCXX_3.4.21
    

    If you see it, you are fine.

    1 Reply Last reply
    0
  • R Offline
    R Offline
    rfc2822
    wrote on last edited by
    #13

    Ok,. I have just thought every gcc48 version would crash for you. – So everything is OK 🙂

    Really love NodeBB & FreeBSD 🙂

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development