Hi Guys,
I'm trying to create packages for Seafile (server components only) using the 14.07 sources and it seems I'm stuck at the very beginning of the process.
I've read these wiki articles already:
http://wiki.openwrt.org/es/doc/howto/build
http://wiki.openwrt.org/doc/devel/packages
http://wiki.openwrt.org/doc/devel/feeds
Here's what I did:
1. pulled the sources from Git for version 14.07
2. created a custom feed named "seafile", added a line to "feeds.conf.default" to include it
3. ran the scripts to update and install all feeds which found my custom feed and installed it to the build system (the package I want to build has shown up in the make menuconfig interface)
4. ran "make defconfig" and then "make"
5. selected my custom package in the menuconfig interface as a module ("M" marker) and ran make again
All the packages build fine except my package and the most annoying thing is that I don't see any error messages, make just silently steps over my package's Makefile even if I run it "V=99" or "V=s".
Here's the the output I can see when running "make V=s" command:
[...]
mkdir -p /home/nb/openwrt_build/openwrt/staging_dir/host/stamp
touch /home/nb/openwrt_build/openwrt/staging_dir/host/stamp/.glib2_installed
make[2]: Leaving directory `/home/nb/openwrt_build/openwrt/feeds/packages/libs/glib2'
make[2]: Entering directory `/home/nb/openwrt_build/openwrt/package/libs/gettext'
WARNING: skipping libintl -- package not selected
make[2]: Leaving directory `/home/nb/openwrt_build/openwrt/package/libs/gettext'
make[2]: Entering directory `/home/nb/openwrt_build/openwrt/package/libs/libiconv'
WARNING: skipping libiconv -- package not selected
make[2]: Leaving directory `/home/nb/openwrt_build/openwrt/package/libs/libiconv'
make[2]: Entering directory `/home/nb/openwrt_build/openwrt/feeds/packages/libs/glib2'
make[2]: Leaving directory `/home/nb/openwrt_build/openwrt/feeds/packages/libs/glib2'
make[2]: Entering directory `/home/nb/openwrt_build/seafile/libs/libsearpc'
make[2]: Leaving directory `/home/nb/openwrt_build/seafile/libs/libsearpc'
make[1]: Leaving directory `/home/nb/openwrt_build/openwrt'
The Makefile I've assembled looks like this:
include $(TOPDIR)/rules.mk
PKG_NAME:=libsearpc
PKG_VERSION:=3.0
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/libsearpc-$(PKG_VERSION)-latest
PKG_SOURCE:=v$(PKG_VERSION)-latest.tar.gz
PKG_SOURCE_URL:=https://github.com/haiwen/libsearpc/archive
PKG_MD5SUM:=32a6eaafe16d8c0c0e320b4a08a4d8f6
PKG_CAT:=zcat
PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
define Package/libsearpc
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Seafile RPC library
MAINTAINER:=Gergely Kiss <mail.gery@...>
URL:=http://seafile.com/
DEPENDS:=+glib2 +jansson +python
endef
define Package/libsearpc/description
Searpc is a simple C language RPC framework based on GObject system. Searpc
handles the serialization/deserialization part of RPC, the transport
part is left to users.
endef
CONFIGURE_ARGS += --enable-compile-demo=no
$(eval $(call BuildPackage,libsearpc))
Please assist, I'm totally clueless with this...
Thanks,
George
(Last edited by geryhun on 17 Nov 2014, 19:49)