Build 如何在FreeBSD上安装meteor?

Build 如何在FreeBSD上安装meteor?,build,installation,meteor,freebsd,Build,Installation,Meteor,Freebsd,我想在FreeBSD9上运行meteorjs。 我已经从端口安装了NodeJ 我还尝试: git克隆https://github.com/meteor/meteor.git然后节点流星--help但它不起作用 我在meteor文件中找到了这个“如果”: if [ "$UNAME" != "Linux" -a "$UNAME" != "Darwin" ] ; then echo "Sorry, this OS is not supported." exit 1 fi 如果[“$UN

我想在FreeBSD9上运行meteorjs。 我已经从端口安装了NodeJ

我还尝试:
git克隆https://github.com/meteor/meteor.git
然后
节点流星--help
但它不起作用

我在meteor文件中找到了这个“如果”:

if [ "$UNAME" != "Linux" -a "$UNAME" != "Darwin" ] ; then echo "Sorry, this OS is not supported." exit 1 fi 如果[“$UNAME”!=“Linux”-a“$UNAME”!=“Darwin”];然后 echo“抱歉,此操作系统不受支持。” 出口1 fi 有关于如何在FreeBSD上安装或构建meteorjs的信息吗


谢谢

Meteor并不正式支持FreeBSD,但它可能会起作用。您需要生成自己的“开发包”(per)

首先,您需要在
meteor
admin/generate dev bundle.sh
中禁用特定于操作系统的安全带。您还需要从某处获取MongoDB二进制文件,因为10gen不为FreeBSD提供预构建的二进制文件


理论上,您应该能够使用脚本构建一个开发包。dev bundle应该是meteor中唯一一个特定于操作系统的部分,一旦您有了一个工作的dev bundle,其余的代码应该可以正常运行。

我已经为FreeBSD创建了一个自定义的dev bundle:

以下是安装说明:

安装所需的软件包 安装流星 创建并启动应用程序
您是否尝试过删除出口1?仅供参考,mongodb在databases/mongodb端口中可用。
sudo pkg install bash ca_root_nss curl expat gettext-runtime git-lite gmake indexinfo libevent2 libffi mongodb node npm pcre perl5 python2 python27 snappy v8
git clone git://github.com/yonas/meteor-freebsd.git
sudo mv meteor-freebsd /usr/local/share/meteor
sudo ln -s /usr/local/share/meteor/meteor /usr/local/bin/meteor
meteor create myapp
cd myapp
meteor