Skip to contentSkip to conversation

sconeserver: new package

PATCH Superseded spdawson at gmail.com 3 participants 5 messages Jul 27, 2012 – Jul 31, 2012

v2 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 sconeserver: new package

From: Simon Dawson <[email protected]>

---
v2: Extensive rework in response to feedback on mailing list.

 package/Config.in                  |    1 +
 package/sconeserver/Config.in      |   84 +++++++++++++++++++++++++++
 package/sconeserver/sconeserver.mk |  111 ++++++++++++++++++++++++++++++++++++
 3 files changed, 196 insertions(+)
 create mode 100644 package/sconeserver/Config.in
 create mode 100644 package/sconeserver/sconeserver.mk
package/Config.in +1 -0
index f664b8e..a88e639 100644
@@ -591,6 +591,7 @@ source "package/rsh-redone/Config.in"
 source "package/rsync/Config.in"
 source "package/rtorrent/Config.in"
 source "package/samba/Config.in"
+source "package/sconeserver/Config.in"
 source "package/ser2net/Config.in"
 source "package/socat/Config.in"
 source "package/socketcand/Config.in"
package/sconeserver/Config.in new file +84 -0

84 lines not on this page · raw message

package/sconeserver/sconeserver.mk new file +111 -0

111 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/1 sconeserver: new package

Quoted 1 line · spdawson at gmail.com

Looks good, except I get a build failure with the following defconfig:

BR2_arm=y
BR2_cortex_a8=y
BR2_CCACHE=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103=y
BR2_PACKAGE_SCONESERVER=y
BR2_PACKAGE_SCONESERVER_MYSQL=y
BR2_PACKAGE_SCONESERVER_BLUETOOTH=y
BR2_PACKAGE_SCONESERVER_RSS=y
BR2_PACKAGE_SCONESERVER_LETTUCE=y
BR2_PACKAGE_SCONESERVER_MATHS=y
BR2_PACKAGE_SCONESERVER_UI=y

Quoted 1 line
Quoted 1 line
Quoted 1 line

sconeserver 178 Configuring

(cd /home/arnout/src/buildroot/output-sconeserver/build/sconeserver-178/ && rm -rf config.cache && PATH="/home/arnout/src/buildroot/output-sconeserver/host/bin:/home/arnout/src/buildroot/output-sconeserver/host/usr/bin:/home/arnout/src/buildroot/output-sconeserver/host/usr/sbin/:/home/arnout/bin:/home/arnout/bin:/home/arnout/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin:/sbin:/usr/sbin:/sbin" AR="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-ar"
AS="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-as"
LD="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-ld"
NM="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-nm"
CC="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/ccache
/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-gcc"
GCC="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/ccache
/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-gcc"
CPP="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-cpp"
CXX="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/ccache
/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-g++"
FC="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-gfortran"
RANLIB="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-ranlib"
STRIP="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-strip"
OBJCOPY="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-objcopy"
OBJDUMP="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-objdump"
AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as"
CC_FOR_BUILD="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/ccache /usr/bin/gcc"
GCC_FOR_BUILD="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/ccache /usr/bin/gcc"
CXX_FOR_BUILD="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/ccache /usr/bin/g++"
FC_FOR_BUILD="/usr/bin/ld" LD_FOR_BUILD="/usr/bin/ld" CFLAGS_FOR_BUILD="-O2
-I/home/arnout/src/buildroot/output-sconeserver/host/include
-I/home/arnout/src/buildroot/output-sconeserver/host/usr/include"
CXXFLAGS_FOR_BUILD="-I/home/arnout/src/buildroot/output-sconeserver/host/include
-I/home/arnout/src/buildroot/output-sconeserver/host/usr/include"
LDFLAGS_FOR_BUILD="-L/home/arnout/src/buildroot/output-sconeserver/host/lib
-L/home/arnout/src/buildroot/output-sconeserver/host/usr/lib
-Wl,-rpath,/home/arnout/src/buildroot/output-sconeserver/host/usr/lib" FCFLAGS_FOR_BUILD=""
DEFAULT_ASSEMBLER="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-as"
DEFAULT_LINKER="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/arm-none-linux-gnueabi-ld" CFLAGS=" -pipe -Os
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CXXFLAGS=" -pipe -Os -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="" FCFLAGS=""
PKG_CONFIG="/home/arnout/src/buildroot/output-sconeserver/host/usr/bin/pkg-config"
PERLLIB="/home/arnout/src/buildroot/output-sconeserver/host/usr/lib/perl"
STAGING_DIR="/home/arnout/src/buildroot/output-sconeserver/host/usr/arm-unknown-linux-gnueabi/sysroot"
ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes
gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes
ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no ./configure
--target=arm-unknown-linux-gnueabi --host=arm-unknown-linux-gnueabi --build=x86_64-unknown-linux-gnu --prefix=/usr
--exec-prefix=/usr --sysconfdir=/etc --program-prefix="" --disable-gtk-doc --enable-ipv6 --enable-static
--enable-shared --with-ip --with-local
CPPFLAGS="-I/home/arnout/src/buildroot/output-sconeserver/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/libxml2" --with-ip6
--without-ssl --without-examples --without-sconesite --without-sconesite-image --with-mysql --with-bluetooth --with-rss
--without-location --with-lettuce --with-maths --without-testbuilder --with-ui )
[snip]
checking for mysql_init in -lmysqlclient... no
configure: error: library 'mysqlclient' is required for the mysql module

I guess you need to pass some configure option to point to $(STAGING_DIR)/usr/lib/mysql.

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#2 lore raw

PATCH v2 1/1 sconeserver: new package

In reply to spdawson at gmail.com

On 07/27/12 11:51, spdawson at gmail.com wrote:
[snip]

package/sconeserver/Config.in line 79

Quoted 5 lines
package/sconeserver/Config.in new file +5 -0
+config BR2_PACKAGE_SCONESERVER_UI
+	bool "ui"
+	select BR2_PACKAGE_XLIB_LIBX11
+	help
+	  UI module for Sconeserver

And another thing: this should have a
select BR2_PACKAGE_XORG7

Regards,
Arnout

[snip]

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#3 lore raw

PATCH v2 1/1 sconeserver: new package

Le Tue, 31 Jul 2012 17:19:42 +0200,
Arnout Vandecappelle <[email protected]> a ?crit :

Quoted 2 lines

And another thing: this should have a
select BR2_PACKAGE_XORG7

Or rather a "depends on":

thomas at skate:~/projets/buildroot$ git grep "select BR2_PACKAGE_XORG7" | wc -l 0
thomas at skate:~/projets/buildroot$ git grep "depends on BR2_PACKAGE_XORG7" | wc -l 37

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#4 lore raw

PATCH v2 1/1 sconeserver: new package

Hi Arnout, Thomas. Thanks for the feedback; I'll submit a revised patch.

Simon.