Skip to content
This repository was archived by the owner on Jan 31, 2019. It is now read-only.

Conversation

@kimrhh
Copy link
Contributor

@kimrhh kimrhh commented Aug 9, 2016

No description provided.

mnhu added 17 commits August 9, 2016 09:35
This recipe adds support for building npm for native and sdk. The sdk
recipe adds a wrapper script (npm-cross) to make npm cross compile
modules for the target.
Apparently, googlesource.com generates its tarballs from git
on the fly, so the checksum changes every time. Use git src rev
instead.
In some cases setuputils fails to install with the following error:

"""
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
    oe-lite/tmp/work/native/x86_64-build_unknown-linux-gnu/setuptools-18.0.1/install/lib/python/
and your PYTHONPATH environment variable currently contains:
    ''
"""

Fix this by adding the missing folder to PYTHONPATH
In some cases, python refuses to install to directories not included
in $PYTHONPATH, so add the install to this.
Commit 19788ef ('libv8: update source checksum') changed the libv8
recipe to use git src uri, which changed the source folder.

Update the S variable accordingly.
Add a recipe for the c-ares library used for async dns lookups. This is
needed to build nodejs, and thus we add a nodejs patch to make it
compatible.
Add libuv recipe used to build/run nodejs.
The patch to make nodejs happy about record_start member of tx-structs
is required for all targets, so remove the mingw specifier.

Explicitly set CFLAGS to avoid failing configure due to U_FORTIFY_SOURCE
not being specified in CPPFLAGS only.
libtoolize fails for native/machine due to $pkgltdldir being empty. Fix
this by exporting _lt_pkgdatadir to point at
${BUILD_SYSROOT}/share/libtool

libuv uses libdl if present, which is needed for non-mingw builds of
nodejs, so add a DEPENDS that depends on not being mingw.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants