Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Starting the install
- .
- .
- .
- linux-uclibc-size CROSS="i486-openwrt-linux-uclibc-" ARCH="i386" DESTDIR="/home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install" install;
- make[3]: Entering directory `/home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7'
- make -C out BUILDTYPE=Release V=s
- make[4]: Entering directory `/home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/out'
- make[4]: Nothing to be done for `all'.
- make[4]: Leaving directory `/home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/out'
- ln -fs out/Release/node node
- /home/openwrt/openwrt/staging_dir/host/bin/python tools/install.py install '/home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install' '/home/openwrt/openwrt/staging_dir/host'
- installing /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install/home/openwrt/openwrt/staging_dir/host/bin/node
- installing /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install/home/openwrt/openwrt/staging_dir/host/share/systemtap/tapset/node.stp
- installing /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install/home/openwrt/openwrt/staging_dir/host/share/man/man1/node.1
- installing /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install/home/openwrt/openwrt/staging_dir/host/lib/node_modules/npm/AUTHORS
- .
- .
- .
- #Error
- installing /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install/home/openwrt/openwrt/staging_dir/host/include/node/libplatform/libplatform.h
- installing /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install/home/openwrt/openwrt/staging_dir/host/include/node/zconf.h
- installing /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install/home/openwrt/openwrt/staging_dir/host/include/node/zlib.h
- make[3]: Leaving directory `/home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7'
- touch /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/.built
- mkdir -p /home/openwrt/openwrt/bin/x86/packages /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-x86/nodejs/CONTROL /home/openwrt/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/pkginfo
- install -d -m0755 /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-x86/nodejs/usr/bin
- cp -fpR /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install/usr/bin/node /home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-x86/nodejs/usr/bin/node
- cp: cannot stat '/home/openwrt/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/node-v0.12.7/ipkg-install/usr/bin/node': No such file or directory
- make[2]: *** [/home/openwrt/openwrt/bin/x86/packages/base/nodejs_0.12.7-0_x86.ipk] Error 1
- make[2]: Leaving directory `/home/openwrt/openwrt/package/network/nodejs/node'
- make[1]: *** [package/network/nodejs/node/install] Error 2
- make[1]: Leaving directory `/home/openwrt/openwrt'
- make: *** [package/network/nodejs/node/install] Error 2
- #
- # Copyright (C) 2007-2011 OpenWrt.org
- #
- # This is free software, licensed under the GNU General Public License v2.
- # See /LICENSE for more information.
- #
- include $(TOPDIR)/rules.mk
- PKG_NAME:=nodejs
- PKG_VERSION:=0.12.7
- PKG_RELEASE:=0
- PKG_SOURCE:=node-v$(PKG_VERSION).tar.gz
- PKG_SOURCE_URL:=https://nodejs.org/dist/v$(PKG_VERSION)/
- PKG_MD5SUM:=5523ec4347d7fe6b0f6dda1d1c7799d5
- PKG_BUILD_DEPENDS:=nodejs/host
- HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/node-v$(PKG_VERSION)
- PKG_BUILD_DIR:=$(BUILD_DIR)/node-v$(PKG_VERSION)
- PKG_INSTALL:=1
- PKG_BUILD_PARALLEL:=1
- include $(INCLUDE_DIR)/host-build.mk
- include $(INCLUDE_DIR)/package.mk
- define Package/nodejs
- SUBMENU:=Node.js
- SECTION:=net
- CATEGORY:=Network
- TITLE:=Node.js Evented I/O for V8 JavaScript
- URL:=http://nodejs.org
- MAINTAINER:=Xin Ouyang <xinpascal@gmail.com>
- DEPENDS:=@armeb||@arm||@i386 +libstdcpp +libpthread +librt +libopenssl +uclibcxx
- endef
- define Package/nodejs/description
- Node.js is a platform built on Chrome's JavaScript runtime for easily
- building fast, scalable network applications. Node.js uses an event-driven,
- non-blocking I/O model that makes it lightweight and efficient, perfect
- for data-intensive real-time applications that run across distributed
- devices.
- endef
- define Package/nodejs-npm
- SUBMENU:=Node.js
- SECTION:=net
- CATEGORY:=Network
- TITLE:=Node Package Manager
- URL:=https://npmjs.org
- MAINTAINER:=Xin Ouyang <xinpascal@gmail.com>
- DEPENDS:=@armeb||@arm||@i386 +libstdcpp +libpthread +librt +libopenssl +uclibcxx
- endef
- define Package/nodejs-npm/description
- npm is the package manager for the Node JavaScript platform. It puts
- modules in place so that node can find them, and manages dependency
- conflicts intelligently.
- endef
- CONFIGURE_ARGS:=
- HOST_CONFIGURE_ARGS:=
- HOST_CONFIGURE_CMD:=$(HOST_CONFIGURE_VARS) ./configure --prefix=$(STAGING_DIR_HOST) --without-snapshot ;
- CONFIGURE_ARGS:= --prefix=$(STAGING_DIR_HOST) --without-snapshot
- #HOST_CONFIGURE_ARGS:=
- HOST_MAKE_FLAGS +=
- BUILDTYPE=Release i18nsupport=off
- #define Build/Prepare
- #echo -e "\e[1;34m \nBuild/Prepare $(PKG_NAME)\n $<\e[0m"
- #endef
- #define Build/nodejs/Compile
- #echo -e "\e[1;34m \n Build/Compile $(PKG_NAME) \n $<\e[0m"
- #endef
- define Package/nodejs/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/node $(1)/usr/bin/node
- endef
- define Package/nodejs-npm/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/npm $(1)/usr/bin/npm
- $(INSTALL_DIR) $(1)/usr/lib/node_modules
- $(CP) -r $(PKG_INSTALL_DIR)/usr/lib/node_modules/npm/ \
- $(1)/usr/lib/node_modules
- endef
- define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/share/nodejs-src
- $(CP) $(PKG_BUILD_DIR)/* $(1)/usr/share/nodejs-src
- endef
- $(eval $(call HostBuild))
- $(eval $(call BuildPackage,nodejs))
- $(eval $(call BuildPackage,nodejs-npm))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement