OpenBSD Tester please


#1

Hi, after starting to make the universal fork compatible to the xBSD systems, currently the OpenBSD Gets its ready-to-go dev_bundle.

I would be happy if some could try to make that work on his OpenBSD 5.7 system.

What to do ?

The process will take approx 10m (or ~30m if no dev_bundle already downloadable)

  1. Login to your system

ssh youruser@yourserver

  1. You need to have or install that packages

sudo pkg_add bash gmake flock git mongodb

  1. You need to link the installed python as default

sudo ln -s /usr/local/bin/python2.7 /usr/local/bin/python

please check if your python release may differ from python2.7

  1. clone the universal fork to your home

cd $HOME
git clone --depth 1 https://github.com/4commerce-technologies-AG/meteor

  1. most parts already done, now test meteor version for the first time

./meteor --version

ATTENTION: if no dev_bundle is available please add an issue to github

  1. that worked try to create a small example

cd /tmp
$HOME/meteor/meteor create --example simple-todos-react
cd simple-todos-react
$HOME/meteor/meteor

  1. Now launch your browser and feel great :slight_smile:

http://yourserver:3000

Thanks for feedback and help
Tom

P.S.: Please use the issues on github so I can track the work.


If interested in the number of things we did until here, read this thread:


Meteor and OpenBSD
#2

Hi

I’d investigated this proceduce under OpenBSD 5.8/amd64. The was a bit failure because of the variance of version OS (5.7 and 5.8).
On step 5 (btw, more accurately to call ./meteor/meteor --version) we can see:

It's the first time you've run Meteor from a git checkout.
I will download a kit containing all of Meteor's dependencies.
##################################################################        92.8%

but after 100% the following error is appearing:

$HOME/meteor/dev_bundle/bin/node: can't load library 'libpthread.so.18.1'

It is clear: system lib libpthread.so.18.1 is needed (as into OpenBSD 5.7), at that time there is libpthread.so.19.0 into OpenBSD 5.8. (To create host with OpenBSD 5.7 I need time)

About step 2:

  • in addition it is needed pkg_add node (in all versions of OS)
  • since version 5.8 sudo was removed from base system, now sudo is in packages; in the system there is doas instead of sudo

#3

I used a bit “hack”

cd /usr/lib
ln -sf libpthread.so.19.0 libpthread.so.18.1
ln -sf libc.so.80.1 libc.so.78.1

After that Meteor works fine under 5.8/amd64.
Thanks a lot


#4

Hi anabar, this isn’t a hack, cause libraries are following mostly downstairs api compatibility. So that would be my preferred way to go to enable meteor on 5.8.

Thanks for posting that feedback


#5

Well, thanks, that is a new one to me. I will do the updates / a section for 5.8 on github


#6

Hi - is anyone working on an official port for OpenBSD? If not, I’d be open to giving it a run. Just let me know.

Thanks,
Bryan


#7

Hi Brian ( @bceverly ) , I had done the unofficial port and as long as you use an amd64 arch on OS 5.7, it should run without an issue.

So please, if you like, test it like described above.

Cheers
Tom


#8

The described above is very perfectly for both testing and development.

To use in a production it is necessary to suggest the procedure of deploy on *BSD analogously as here on Ubuntu, especially Step Four.

What do you think about it?


#9

Hi @anabar - that is absolutely useful to have such a guide.

Instead of upstart, meteor runs nicely via supervisord or initd.

I am just waiting for a number of PR-feedbacks I have send out. Important is from google chromium “gyp”

Right after finishing we may dive deeper in such instructions.