FreeBSD Testers please

Hi, after starting to make the universal fork compatible to the xBSD systems, currently the FreeBSD passes all tests.

I would be happy if more could try to make that work on his FreeBSD 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 install -y bash git gmake mongodb

  1. clone the universal fork to your home

cd $HOME
git clone --depth 1 GitHub - 4commerce-technologies-AG/meteor: This is a fork of Meteor.js to support not yet official enabled architectures with an universal bundler. Meteor is an ultra-simple, database-everywhere, data-on-the-wire, pure-Javascript web framework. Read additional information about this fork at:

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

./meteor --version


OPTIONAL: only if no dev_bundle could be loaded previously, build your meteor dev_bundles

cd meteor
scripts/build-node-for-dev-bundle.sh
scripts/generate-dev-bundle.sh
./meteor --version

  1. if 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:

1 Like

Hi, Tom. You did a great job . Thank you so much for that.

I’ve tested meteor on FreeBSD 10.2 and it runs fine, but I’ve install it without flex, because to install flex, I would need to update the 500+ packages. And even without it todo-app was runs fine, but without inputs:)

Hi @sohaam thanks for feedback! I changed the documentation above and wrote a part about “maybe needed packages”.

What kind of arch do you have? amd64 or x86_64? I have made the dev on amd64.

@tomfreudenberg, the first one.

Hi,

look it

root@testefreebsd:~/meteor # ./meteor 
It's the first time you've run Meteor from a git checkout.
I will download a kit containing all of Meteor's dependencies.

You are trying to run Meteor on yet not official supported platform: FreeBSD_amd64
There is currently no pre-built dev_bundle available for your system.
Check https://github.com/4commerce-technologies-AG/meteor to get
the information how you may generate your own dev_bundle using
scripts/generate-dev-bundle.sh

Unable to download: https://dl.bintray.com/4commerce-technologies-ag/meteor-universal/bsd_dev_bundles/dev_bundle_FreeBSD_amd64_0.5.16.tar.gz
Pre-built tarball is not available!

Failed to install dependency kit.

Not found tarball

https://dl.bintray.com/4commerce-technologies-ag/meteor-universal/bsd_dev_bundles/dev_bundle_FreeBSD_amd64_0.5.16.tar.gz

Can you help me?

hi @tomfreudenberg

:grin:

screenshot

1 Like

Hi Marco ( @demoncyber )

I guess you missed to run the steps as described here on top.

Please be aware, that I will produce the pre-built dev_bundles after getting some more “OK” feedback from testers.

@garrilla - You got it! :+1:

Thanks for feedback

Working fine here inside a FreeBSD 10.2 jail. :ok_hand:

1 Like

Working … FreeBSD 10.2 Amd64. Thanks!!

1 Like

Great! - I just have uploaded now the pre-built dev_bundles. So you would not need to run the build scripts naymore :smile:

Just git clone and meteor --version will do the magic for now

Well, the Bintray repositories are prepared.

https://bintray.com/4commerce-technologies-ag/meteor-universal/bsd-dev-bundles/1.2.1/view?sort=&order=#files/bsd_dev_bundles

Now also OpenBSD ist ready to launch if running on amd64 and may use our prepared dev_bundle

I updated the initial message so that it fits the new release and documentation update on https://github.com/4commerce-technologies-AG/meteor

Failed to build on FreeBSD 11 Jail.

outside the meteor jail:

$ sudo pkg -j meteor install bash ca_root_nss curl expat \
    gettext-runtime git-lite gmake indexinfo libevent2 libffi mongodb \
    node npm pcre perl5 python2 python27 snappy v8

inside the meteor jail:

$ git clone https://github.com/4commerce-technologies-AG/meteor
$ sudo mv meteor /usr/local/share/meteor
$ cd /usr/local/share/meteor
$ ./scripts/build-node-for-dev-bundle.sh

last few lines of build:

In file included from ../deps/v8/src/mark-compact.h:32:
../deps/v8/src/spaces.h:838:26: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare]
  bool exists() { return this != NULL && code_range_ != NULL; }
                         ^~~~    ~~~~
../deps/v8/src/spaces.h:840:9: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
    if (this == NULL || code_range_ == NULL) return false;
        ^~~~    ~~~~
../deps/v8/src/platform-freebsd.cc:346:53: error: use of undeclared identifier 'MAP_NORESERVE'
                           MAP_PRIVATE | MAP_ANON | MAP_NORESERVE,
                                                    ^
../deps/v8/src/platform-freebsd.cc:418:48: error: use of undeclared identifier 'MAP_NORESERVE'
                      MAP_PRIVATE | MAP_ANON | MAP_NORESERVE,
                                               ^
../deps/v8/src/platform-freebsd.cc:448:40: error: use of undeclared identifier 'MAP_NORESERVE'
              MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED,
                                       ^