Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support NetBSD - generating dev_bundle #30

Open
TomFreudenberg opened this issue Nov 7, 2015 · 3 comments
Open

Support NetBSD - generating dev_bundle #30

TomFreudenberg opened this issue Nov 7, 2015 · 3 comments

Comments

@TomFreudenberg
Copy link
Member

Following tasks has to be done in addition to FreeBSD so that meteor can build the dev_bundle

  1. Patch node-gyp to support NetBSD OS (see PR chromium, PR node-gyp)
  2. Do the above for npm 1.4.28 and npm 3.1.2
  3. npm pathwatcher does not compile
  4. npm phantomjs does not compile
  5. If you just use meteor build, that already works

Use enough memory on the server

@TomFreudenberg
Copy link
Member Author

Primarly you have to build a compatible nodejs archiver v0.10.40.

You may do this as described:

  1. Get latest pkgsrc to /usr

    http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz

  2. Get nodejs pkgsrc from CVS tagged 2015Q1

    cd /tmp && cvs -q -z2 -d [email protected]:/cvsroot -r pkgsrc-2015Q1 -P pkgsrc/lang/nodejs

  3. move the nodejs src to new folder pkgsrc/lang/nodejs-v0.10.40
  4. update the version from 10.36 to 10.40
  5. compile with option: make install NO_CHECKSUM=yes PORTABLE=1

Hints:

  1. Read more about NetBSD packages at: http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/doc/pkgsrc.html
  2. Making new packages on NetBSD: https://www.netbsd.org/docs/pkgsrc/creating.html
  3. Create checksum: make makesum

Build new checksum:

cd /usr/pkgsrc/lang/nodejs-v0.10.40
rm -f distinfo
make makesum

@TomFreudenberg
Copy link
Member Author

Prepare system after new installation (NetBSD 6.1) - currently just some reminders to ourself

sudo pkg_add update
sudo pkgin install bash mozilla-rootcerts git
sudo mozilla-rootcerts install

sudo pkgin install gcc49

sudo ln -s /usr/pkg/bin/python27 /usr/pkg/bin/python

@TomFreudenberg
Copy link
Member Author

Checkout issue on fibers to update after node-gyp laverdet/node-fibers#253

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant