All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Installing package libclthreads
@ 2016-10-03 12:21 Herschel Karunaratne
  2016-10-03 16:31 ` Khem Raj
  2016-10-04 20:57 ` Arnout Vandecappelle
  0 siblings, 2 replies; 8+ messages in thread
From: Herschel Karunaratne @ 2016-10-03 12:21 UTC (permalink / raw)
  To: buildroot

Hi,

 

I am trying to install "jconvolver" and have to install  "libclthreads"
needed by jconvolver. "My "libclthreads.mk" is as follows,

 

#####################################################################

#

# libclthreads

#

####################################################################

 

LIBCLTHREADS_VERSION = 2.4.0

LIBCLTHREADS_SOURCE = clthreads-$(LIBCLTHREADS_VERSION).tar.bz2

LIBCLTHREADS_SITE = http://kokkinizta.linuxaudio.org/linuxaudio/downloads

LIBCLTHREADS_LICENSE = LGPLv2.1+

LIBCLTHREADS_LICENSE_FILES = COPYING

LIBCLTHREADS_INSTALL_STAGING = YES

LIBCLTHREADS_INSTALL_TARGET = YES

 

$(eval $(autotools-package))

 

 

 

When I build it seems to be OK but nothing in the installed folders. This is
message I get when I build,

 

 

>>> libclthreads 2.4.0 Configuring

(cd
/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthre
ads-2.4.0/ && rm -rf config.cache &&
PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/bin:
/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/sbin:/root
/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bin:/root/w
ork/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/sbin:/usr/loc
al/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/arm-2014.05/bin:/r
oot/bin:/opt/arm-2014.05/bin"
AR="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bi
n/arm-linux-gnueabihf-ar"
AS="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bi
n/arm-linux-gnueabihf-as"
LD="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bi
n/arm-linux-gnueabihf-ld"
NM="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bi
n/arm-linux-gnueabihf-nm"
CC="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bi
n/arm-linux-gnueabihf-gcc"
GCC="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/b
in/arm-linux-gnueabihf-gcc"
CPP="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/b
in/arm-linux-gnueabihf-cpp"
CXX="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/b
in/arm-linux-gnueabihf-g++"
FC="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bi
n/arm-linux-gnueabihf-gfortran"
RANLIB="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/us
r/bin/arm-linux-gnueabihf-ranlib"
READELF="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/u
sr/bin/arm-linux-gnueabihf-readelf"
STRIP="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr
/bin/arm-linux-gnueabihf-strip"
OBJCOPY="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/u
sr/bin/arm-linux-gnueabihf-objcopy"
OBJDUMP="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/u
sr/bin/arm-linux-gnueabihf-objdump" AR_FOR_BUILD="/usr/bin/ar"
AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc"
GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++"
LD_FOR_BUILD="/usr/bin/ld"
CPPFLAGS_FOR_BUILD="-I/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/
output/host/usr/include" CFLAGS_FOR_BUILD="-O2
-I/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/incl
ude" CXXFLAGS_FOR_BUILD="-O2
-I/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/incl
ude"
LDFLAGS_FOR_BUILD="-L/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/o
utput/host/lib
-L/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/lib
-Wl,-rpath,/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host
/usr/lib" FCFLAGS_FOR_BUILD=""
DEFAULT_ASSEMBLER="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/out
put/host/usr/bin/arm-linux-gnueabihf-as"
DEFAULT_LINKER="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output
/host/usr/bin/arm-linux-gnueabihf-ld" CPPFLAGS="-D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os "
CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Os " LDFLAGS="" FCFLAGS=""
PKG_CONFIG="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/hos
t/usr/bin/pkg-config"
STAGING_DIR="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/ho
st/usr/arm-buildroot-linux-gnueabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl
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
CONFIG_SITE=/dev/null ./configure --target=arm-buildroot-linux-gnueabihf
--host=arm-buildroot-linux-gnueabihf --build=x86_64-unknown-linux-gnu
--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var
--program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc
--disable-docs --disable-documentation --with-xmlto=no --with-fop=no
--disable-dependency-tracking --enable-ipv6  --disable-static
--enable-shared   )

>>> libclthreads 2.4.0 Building

PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/bin:
/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/sbin:/root
/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bin:/root/w
ork/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/sbin:/usr/loc
al/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/arm-2014.05/bin:/r
oot/bin:/opt/arm-2014.05/bin"  /usr/bin/make -j5  -C
/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthre
ads-2.4.0/

make[1]: Entering directory
`/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthr
eads-2.4.0'

g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
p_thread.o p_thread.cc

g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
a_thread.o a_thread.cc

g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
itc_mesg.o itc_mesg.cc

g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
itc_ip1q.o itc_ip1q.cc

g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
itc_ctrl.o itc_ctrl.cc

g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
textmsg.o textmsg.cc

g++ -shared  -Wl,-soname,libclthreads.so.2 -o libclthreads.so.2.4.0
p_thread.o a_thread.o itc_mesg.o itc_ip1q.o itc_ctrl.o textmsg.o -lpthread

make[1]: Leaving directory
`/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthr
eads-2.4.0'

>>> libclthreads 2.4.0 Installing to target

PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/bin:
/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/sbin:/root
/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bin:/root/w
ork/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/sbin:/usr/loc
al/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/arm-2014.05/bin:/r
oot/bin:/opt/arm-2014.05/bin"  /usr/bin/make -j5
DESTDIR=/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/target
install -C
/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthre
ads-2.4.0/

make[1]: Entering directory
`/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthr
eads-2.4.0'

/usr/bin/install -d /usr/local/lib64

/usr/bin/install -m 644 clthreads.h /usr/local/include

/usr/bin/install -m 755 libclthreads.so.2.4.0 /usr/local/lib64

/sbin/ldconfig -n /usr/local/lib64

ln -sf libclthreads.so.2.4.0 /usr/local/lib64/libclthreads.so

make[1]: Leaving directory
`/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthr
eads-2.4.0'

 

 

 

What could have gone wrong?

 

Thanks in advance.

 

 

Regards

Herschel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161003/1bbd3eec/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Installing package libclthreads
  2016-10-03 12:21 [Buildroot] Installing package libclthreads Herschel Karunaratne
@ 2016-10-03 16:31 ` Khem Raj
  2016-10-04 20:57 ` Arnout Vandecappelle
  1 sibling, 0 replies; 8+ messages in thread
From: Khem Raj @ 2016-10-03 16:31 UTC (permalink / raw)
  To: buildroot

Does it need to know that you are installing into a staging area and not
into /usr directly

On Oct 3, 2016 5:21 AM, "Herschel Karunaratne" <hk@synexint.com> wrote:

> Hi,
>
>
>
> I am trying to install ?jconvolver? and have to install  ?libclthreads?
> needed by jconvolver. ?My ?libclthreads.mk? is as follows,
>
>
>
> #####################################################################
>
> #
>
> # libclthreads
>
> #
>
> ####################################################################
>
>
>
> LIBCLTHREADS_VERSION = 2.4.0
>
> LIBCLTHREADS_SOURCE = clthreads-$(LIBCLTHREADS_VERSION).tar.bz2
>
> LIBCLTHREADS_SITE = http://kokkinizta.linuxaudio.org/linuxaudio/downloads
>
> LIBCLTHREADS_LICENSE = LGPLv2.1+
>
> LIBCLTHREADS_LICENSE_FILES = COPYING
>
> LIBCLTHREADS_INSTALL_STAGING = YES
>
> LIBCLTHREADS_INSTALL_TARGET = YES
>
>
>
> $(eval $(autotools-package))
>
>
>
>
>
>
>
> When I build it seems to be OK but nothing in the installed folders. This
> is message I get when I build,
>
>
>
>
>
> >>> libclthreads 2.4.0 Configuring
>
> (cd /root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/
> output/build/libclthreads-2.4.0/ && rm -rf config.cache &&
> PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/bin:/root/work/sinlinx/a33-organ/lichee/
> buildroot-2016.05/output/host/sbin:/root/work/sinlinx/a33-
> organ/lichee/buildroot-2016.05/output/host/usr/bin:/root/
> work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/
> usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:
> /bin:/sbin:/opt/arm-2014.05/bin:/root/bin:/opt/arm-2014.05/bin"
> AR="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/usr/bin/arm-linux-gnueabihf-ar" AS="/root/work/sinlinx/a33-
> organ/lichee/buildroot-2016.05/output/host/usr/bin/arm-linux-gnueabihf-as"
> LD="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/usr/bin/arm-linux-gnueabihf-ld" NM="/root/work/sinlinx/a33-
> organ/lichee/buildroot-2016.05/output/host/usr/bin/arm-linux-gnueabihf-nm"
> CC="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/usr/bin/arm-linux-gnueabihf-gcc"
> GCC="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/usr/bin/arm-linux-gnueabihf-gcc"
> CPP="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/usr/bin/arm-linux-gnueabihf-cpp"
> CXX="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/usr/bin/arm-linux-gnueabihf-g++"
> FC="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/usr/bin/arm-linux-gnueabihf-gfortran"
> RANLIB="/root/work/sinlinx/a33-organ/lichee/buildroot-
> 2016.05/output/host/usr/bin/arm-linux-gnueabihf-ranlib"
> READELF="/root/work/sinlinx/a33-organ/lichee/buildroot-
> 2016.05/output/host/usr/bin/arm-linux-gnueabihf-readelf"
> STRIP="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/usr/bin/arm-linux-gnueabihf-strip"
> OBJCOPY="/root/work/sinlinx/a33-organ/lichee/buildroot-
> 2016.05/output/host/usr/bin/arm-linux-gnueabihf-objcopy"
> OBJDUMP="/root/work/sinlinx/a33-organ/lichee/buildroot-
> 2016.05/output/host/usr/bin/arm-linux-gnueabihf-objdump"
> AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as"
> CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc"
> CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld"
> CPPFLAGS_FOR_BUILD="-I/root/work/sinlinx/a33-organ/lichee/
> buildroot-2016.05/output/host/usr/include" CFLAGS_FOR_BUILD="-O2
> -I/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/include"
> CXXFLAGS_FOR_BUILD="-O2 -I/root/work/sinlinx/a33-
> organ/lichee/buildroot-2016.05/output/host/usr/include"
> LDFLAGS_FOR_BUILD="-L/root/work/sinlinx/a33-organ/lichee/
> buildroot-2016.05/output/host/lib -L/root/work/sinlinx/a33-
> organ/lichee/buildroot-2016.05/output/host/usr/lib
> -Wl,-rpath,/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/lib"
> FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/root/work/
> sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/
> usr/bin/arm-linux-gnueabihf-as" DEFAULT_LINKER="/root/work/
> sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/
> usr/bin/arm-linux-gnueabihf-ld" CPPFLAGS="-D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os "
> CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -Os " LDFLAGS="" FCFLAGS="" PKG_CONFIG="/root/work/
> sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bin/pkg-config"
> STAGING_DIR="/root/work/sinlinx/a33-organ/lichee/
> buildroot-2016.05/output/host/usr/arm-buildroot-linux-gnueabihf/sysroot"
> INTLTOOL_PERL=/usr/bin/perl 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   CONFIG_SITE=/dev/null ./configure
> --target=arm-buildroot-linux-gnueabihf --host=arm-buildroot-linux-gnueabihf
> --build=x86_64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr
> --sysconfdir=/etc --localstatedir=/var --program-prefix=""
> --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs
> --disable-documentation --with-xmlto=no --with-fop=no
> --disable-dependency-tracking --enable-ipv6  --disable-static
> --enable-shared   )
>
> >>> libclthreads 2.4.0 Building
>
> PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/bin:/root/work/sinlinx/a33-organ/lichee/
> buildroot-2016.05/output/host/sbin:/root/work/sinlinx/a33-
> organ/lichee/buildroot-2016.05/output/host/usr/bin:/root/
> work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/
> usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:
> /bin:/sbin:/opt/arm-2014.05/bin:/root/bin:/opt/arm-2014.05/bin"
> /usr/bin/make -j5  -C /root/work/sinlinx/a33-organ/
> lichee/buildroot-2016.05/output/build/libclthreads-2.4.0/
>
> make[1]: Entering directory `/root/work/sinlinx/a33-organ/
> lichee/buildroot-2016.05/output/build/libclthreads-2.4.0'
>
> g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
> p_thread.o p_thread.cc
>
> g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
> a_thread.o a_thread.cc
>
> g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
> itc_mesg.o itc_mesg.cc
>
> g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
> itc_ip1q.o itc_ip1q.cc
>
> g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
> itc_ctrl.o itc_ctrl.cc
>
> g++  -Wall -I. -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2   -c -o
> textmsg.o textmsg.cc
>
> g++ -shared  -Wl,-soname,libclthreads.so.2 -o libclthreads.so.2.4.0
> p_thread.o a_thread.o itc_mesg.o itc_ip1q.o itc_ctrl.o textmsg.o -lpthread
>
> make[1]: Leaving directory `/root/work/sinlinx/a33-organ/
> lichee/buildroot-2016.05/output/build/libclthreads-2.4.0'
>
> >>> libclthreads 2.4.0 Installing to target
>
> PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.
> 05/output/host/bin:/root/work/sinlinx/a33-organ/lichee/
> buildroot-2016.05/output/host/sbin:/root/work/sinlinx/a33-
> organ/lichee/buildroot-2016.05/output/host/usr/bin:/root/
> work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/
> usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:
> /bin:/sbin:/opt/arm-2014.05/bin:/root/bin:/opt/arm-2014.05/bin"
> /usr/bin/make -j5 DESTDIR=/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/target
> install -C /root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/
> output/build/libclthreads-2.4.0/
>
> make[1]: Entering directory `/root/work/sinlinx/a33-organ/
> lichee/buildroot-2016.05/output/build/libclthreads-2.4.0'
>
> /usr/bin/install -d /usr/local/lib64
>
> /usr/bin/install -m 644 clthreads.h /usr/local/include
>
> /usr/bin/install -m 755 libclthreads.so.2.4.0 /usr/local/lib64
>
> /sbin/ldconfig -n /usr/local/lib64
>
> ln -sf libclthreads.so.2.4.0 /usr/local/lib64/libclthreads.so
>
> make[1]: Leaving directory `/root/work/sinlinx/a33-organ/
> lichee/buildroot-2016.05/output/build/libclthreads-2.4.0'
>
>
>
>
>
>
>
> What could have gone wrong?
>
>
>
> Thanks in advance.
>
>
>
>
>
> *Regards*
>
> *Herschel*
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161003/dac0903c/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Installing package libclthreads
  2016-10-03 12:21 [Buildroot] Installing package libclthreads Herschel Karunaratne
  2016-10-03 16:31 ` Khem Raj
@ 2016-10-04 20:57 ` Arnout Vandecappelle
  2016-10-05 10:42   ` Herschel Karunaratne
  1 sibling, 1 reply; 8+ messages in thread
From: Arnout Vandecappelle @ 2016-10-04 20:57 UTC (permalink / raw)
  To: buildroot

 Hi Herschel,

 Please avoid using HTML mail on this list.


On 03-10-16 14:21, Herschel Karunaratne wrote:
> Hi,
> 
>  
> 
> I am trying to install ?jconvolver? and have to install  ?libclthreads? needed
> by jconvolver. ?My ?libclthreads.mk? is as follows,
> 
>  
> 
> #####################################################################
> 
> #
> 
> # libclthreads
> 
> #
> 
> ####################################################################
> 
>  
> 
> LIBCLTHREADS_VERSION = 2.4.0
> 
> LIBCLTHREADS_SOURCE = clthreads-$(LIBCLTHREADS_VERSION).tar.bz2

 Small nit: since upstream calls it "clthreads", we prefer that the buildroot
package has the same name.

> 
> LIBCLTHREADS_SITE = http://kokkinizta.linuxaudio.org/linuxaudio/downloads
> 
> LIBCLTHREADS_LICENSE = LGPLv2.1+
> 
> LIBCLTHREADS_LICENSE_FILES = COPYING
> 
> LIBCLTHREADS_INSTALL_STAGING = YES
> 
> LIBCLTHREADS_INSTALL_TARGET = YES

 This one is not needed because the default.

> 
>  
> 
> $(eval $(autotools-package))
> 
>  
> 
>  
> 
>  
> 
> When I build it seems to be OK but nothing in the installed folders. This is
> message I get when I build,
> 
[snip]
>>>> libclthreads 2.4.0 Installing to target

 Weird, the install to staging is missing... I can't explain that...


> 
> PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/bin:/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/sbin:/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bin:/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/arm-2014.05/bin:/root/bin:/opt/arm-2014.05/bin" 
> /usr/bin/make -j5
> DESTDIR=/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/target
> install -C
> /root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthreads-2.4.0/
> 
> make[1]: Entering directory
> `/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthreads-2.4.0'
> 
> /usr/bin/install -d /usr/local/lib64

 It looks like this package ignores both the configure --prefix option and the
DESTDIR argument to 'make install'. This basically makes the install commands
unusable. Either patch the Makefile.in to correct this, or define
LIBCLTHREADS_INSTALL_STAGING_CMDS and LIBCLTHREADS_INSTALL_TARGET_CMDS.


 Regards,
 Arnout


> 
> /usr/bin/install -m 644 clthreads.h /usr/local/include
> 
> /usr/bin/install -m 755 libclthreads.so.2.4.0 /usr/local/lib64
> 
> /sbin/ldconfig -n /usr/local/lib64
> 
> ln -sf libclthreads.so.2.4.0 /usr/local/lib64/libclthreads.so
> 
> make[1]: Leaving directory
> `/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthreads-2.4.0'
> 
>  
> 
>  
> 
>  
> 
> What could have gone wrong?
> 
>  
> 
> Thanks in advance.
> 
>  
> 
>  
> 
> *Regards*
> 
> *Herschel*
> 
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
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:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Installing package libclthreads
  2016-10-04 20:57 ` Arnout Vandecappelle
@ 2016-10-05 10:42   ` Herschel Karunaratne
  2016-10-05 23:04     ` Arnout Vandecappelle
  0 siblings, 1 reply; 8+ messages in thread
From: Herschel Karunaratne @ 2016-10-05 10:42 UTC (permalink / raw)
  To: buildroot

Hi Arnout,

Thanks for the reply.

Sorry I will not use HTML. 

Could you please send me a .mk file for this? I'm quite new to buildroot.

Regards,
Herschel


-----Original Message-----
From: Arnout Vandecappelle [mailto:arnout at mind.be] 
Sent: Wednesday, October 5, 2016 2:27 AM
To: Herschel Karunaratne <hk@synexint.com>; buildroot at busybox.net
Subject: Re: [Buildroot] Installing package libclthreads

 Hi Herschel,

 Please avoid using HTML mail on this list.


On 03-10-16 14:21, Herschel Karunaratne wrote:
> Hi,
> 
>  
> 
> I am trying to install "jconvolver" and have to install  
> "libclthreads" needed by jconvolver. "My "libclthreads.mk" is as 
> follows,
> 
>  
> 
> #####################################################################
> 
> #
> 
> # libclthreads
> 
> #
> 
> ####################################################################
> 
>  
> 
> LIBCLTHREADS_VERSION = 2.4.0
> 
> LIBCLTHREADS_SOURCE = clthreads-$(LIBCLTHREADS_VERSION).tar.bz2

 Small nit: since upstream calls it "clthreads", we prefer that the
buildroot package has the same name.

> 
> LIBCLTHREADS_SITE = 
> http://kokkinizta.linuxaudio.org/linuxaudio/downloads
> 
> LIBCLTHREADS_LICENSE = LGPLv2.1+
> 
> LIBCLTHREADS_LICENSE_FILES = COPYING
> 
> LIBCLTHREADS_INSTALL_STAGING = YES
> 
> LIBCLTHREADS_INSTALL_TARGET = YES

 This one is not needed because the default.

> 
>  
> 
> $(eval $(autotools-package))
> 
>  
> 
>  
> 
>  
> 
> When I build it seems to be OK but nothing in the installed folders. 
> This is message I get when I build,
> 
[snip]
>>>> libclthreads 2.4.0 Installing to target

 Weird, the install to staging is missing... I can't explain that...


> 
>
PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/bin:
/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/sbin:/root
/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bin:/root/w
ork/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/sbin:/usr/loc
al/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/arm-2014.05/bin:/r
oot/bin:/opt/arm-2014.05/bin" 
> /usr/bin/make -j5
> DESTDIR=/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/t
> arget
> install -C
> /root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/lib
> clthreads-2.4.0/
> 
> make[1]: Entering directory
>
`/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthr
eads-2.4.0'
> 
> /usr/bin/install -d /usr/local/lib64

 It looks like this package ignores both the configure --prefix option and
the DESTDIR argument to 'make install'. This basically makes the install
commands unusable. Either patch the Makefile.in to correct this, or define
LIBCLTHREADS_INSTALL_STAGING_CMDS and LIBCLTHREADS_INSTALL_TARGET_CMDS.


 Regards,
 Arnout


> 
> /usr/bin/install -m 644 clthreads.h /usr/local/include
> 
> /usr/bin/install -m 755 libclthreads.so.2.4.0 /usr/local/lib64
> 
> /sbin/ldconfig -n /usr/local/lib64
> 
> ln -sf libclthreads.so.2.4.0 /usr/local/lib64/libclthreads.so
> 
> make[1]: Leaving directory
>
`/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthr
eads-2.4.0'
> 
>  
> 
>  
> 
>  
> 
> What could have gone wrong?
> 
>  
> 
> Thanks in advance.
> 
>  
> 
>  
> 
> *Regards*
> 
> *Herschel*
> 
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
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:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Installing package libclthreads
  2016-10-05 10:42   ` Herschel Karunaratne
@ 2016-10-05 23:04     ` Arnout Vandecappelle
  2016-10-06 15:16       ` Herschel Karunaratne
  2016-10-10  6:32       ` Herschel Karunaratne
  0 siblings, 2 replies; 8+ messages in thread
From: Arnout Vandecappelle @ 2016-10-05 23:04 UTC (permalink / raw)
  To: buildroot



On 05-10-16 12:42, Herschel Karunaratne wrote:
> Hi Arnout,
> 
> Thanks for the reply.
> 
> Sorry I will not use HTML. 

 Please also don't top-post, but reply in-line :-)


> Could you please send me a .mk file for this? I'm quite new to buildroot.

 I'm sorry, I don't have the time to do that for you at the moment. But if you
want, you can hire my company to do it, and I'll make time :-)

 I took a quick look, and there is quite a lot wrong with the .mk file you
previously sent. The URL is wrong, and the package is not actually an autotools
package (it doesn't have a configure script). I don't know what kind of hacks
you have done to get the output you showed earlier, but that is certainly *not*
the output you get from that .mk file.


 Regards,
 Arnout


> 
> Regards,
> Herschel
> 
> 
> -----Original Message-----
> From: Arnout Vandecappelle [mailto:arnout at mind.be] 
> Sent: Wednesday, October 5, 2016 2:27 AM
> To: Herschel Karunaratne <hk@synexint.com>; buildroot at busybox.net
> Subject: Re: [Buildroot] Installing package libclthreads
> 
>  Hi Herschel,
> 
>  Please avoid using HTML mail on this list.
> 
> 
> On 03-10-16 14:21, Herschel Karunaratne wrote:
>> Hi,
>>
>>  
>>
>> I am trying to install "jconvolver" and have to install  
>> "libclthreads" needed by jconvolver. "My "libclthreads.mk" is as 
>> follows,
>>
>>  
>>
>> #####################################################################
>>
>> #
>>
>> # libclthreads
>>
>> #
>>
>> ####################################################################
>>
>>  
>>
>> LIBCLTHREADS_VERSION = 2.4.0
>>
>> LIBCLTHREADS_SOURCE = clthreads-$(LIBCLTHREADS_VERSION).tar.bz2
> 
>  Small nit: since upstream calls it "clthreads", we prefer that the
> buildroot package has the same name.
> 
>>
>> LIBCLTHREADS_SITE = 
>> http://kokkinizta.linuxaudio.org/linuxaudio/downloads
>>
>> LIBCLTHREADS_LICENSE = LGPLv2.1+
>>
>> LIBCLTHREADS_LICENSE_FILES = COPYING
>>
>> LIBCLTHREADS_INSTALL_STAGING = YES
>>
>> LIBCLTHREADS_INSTALL_TARGET = YES
> 
>  This one is not needed because the default.
> 
>>
>>  
>>
>> $(eval $(autotools-package))
>>
>>  
>>
>>  
>>
>>  
>>
>> When I build it seems to be OK but nothing in the installed folders. 
>> This is message I get when I build,
>>
> [snip]
>>>>> libclthreads 2.4.0 Installing to target
> 
>  Weird, the install to staging is missing... I can't explain that...
> 
> 
>>
>>
> PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/bin:
> /root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/sbin:/root
> /work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bin:/root/w
> ork/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/sbin:/usr/loc
> al/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/arm-2014.05/bin:/r
> oot/bin:/opt/arm-2014.05/bin" 
>> /usr/bin/make -j5
>> DESTDIR=/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/t
>> arget
>> install -C
>> /root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/lib
>> clthreads-2.4.0/
>>
>> make[1]: Entering directory
>>
> `/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthr
> eads-2.4.0'
>>
>> /usr/bin/install -d /usr/local/lib64
> 
>  It looks like this package ignores both the configure --prefix option and
> the DESTDIR argument to 'make install'. This basically makes the install
> commands unusable. Either patch the Makefile.in to correct this, or define
> LIBCLTHREADS_INSTALL_STAGING_CMDS and LIBCLTHREADS_INSTALL_TARGET_CMDS.
> 
> 
>  Regards,
>  Arnout
> 
> 
>>
>> /usr/bin/install -m 644 clthreads.h /usr/local/include
>>
>> /usr/bin/install -m 755 libclthreads.so.2.4.0 /usr/local/lib64
>>
>> /sbin/ldconfig -n /usr/local/lib64
>>
>> ln -sf libclthreads.so.2.4.0 /usr/local/lib64/libclthreads.so
>>
>> make[1]: Leaving directory
>>
> `/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/libclthr
> eads-2.4.0'
>>
>>  
>>
>>  
>>
>>  
>>
>> What could have gone wrong?
>>
>>  
>>
>> Thanks in advance.
>>
>>  
>>
>>  
>>
>> *Regards*
>>
>> *Herschel*
>>
>>
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
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:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Installing package libclthreads
  2016-10-05 23:04     ` Arnout Vandecappelle
@ 2016-10-06 15:16       ` Herschel Karunaratne
  2016-10-10  6:32       ` Herschel Karunaratne
  1 sibling, 0 replies; 8+ messages in thread
From: Herschel Karunaratne @ 2016-10-06 15:16 UTC (permalink / raw)
  To: buildroot

Hi Arnout,

Thanks for the help and support. This only a hobby project, reverb for my
organ, and not a commercial project. I will give it a try by correcting the
errors you have shown. 
Thanks again and any further guidance is greatly appreciated.

Regards
?
Herschel

-----Original Message-----
From: Arnout Vandecappelle [mailto:arnout at mind.be] 
Sent: Thursday, October 6, 2016 4:35 AM
To: Herschel Karunaratne <hk@synexint.com>; buildroot at busybox.net
Subject: Re: [Buildroot] Installing package libclthreads



On 05-10-16 12:42, Herschel Karunaratne wrote:
> Hi Arnout,
> 
> Thanks for the reply.
> 
> Sorry I will not use HTML. 

 Please also don't top-post, but reply in-line :-)


> Could you please send me a .mk file for this? I'm quite new to buildroot.

 I'm sorry, I don't have the time to do that for you at the moment. But if
you want, you can hire my company to do it, and I'll make time :-)

 I took a quick look, and there is quite a lot wrong with the .mk file you
previously sent. The URL is wrong, and the package is not actually an
autotools package (it doesn't have a configure script). I don't know what
kind of hacks you have done to get the output you showed earlier, but that
is certainly *not* the output you get from that .mk file.


 Regards,
 Arnout


> 
> Regards,
> Herschel
> 
> 
> -----Original Message-----
> From: Arnout Vandecappelle [mailto:arnout at mind.be]
> Sent: Wednesday, October 5, 2016 2:27 AM
> To: Herschel Karunaratne <hk@synexint.com>; buildroot at busybox.net
> Subject: Re: [Buildroot] Installing package libclthreads
> 
>  Hi Herschel,
> 
>  Please avoid using HTML mail on this list.
> 
> 
> On 03-10-16 14:21, Herschel Karunaratne wrote:
>> Hi,
>>
>>  
>>
>> I am trying to install "jconvolver" and have to install 
>> "libclthreads" needed by jconvolver. "My "libclthreads.mk" is as 
>> follows,
>>
>>  
>>
>> #####################################################################
>>
>> #
>>
>> # libclthreads
>>
>> #
>>
>> ####################################################################
>>
>>  
>>
>> LIBCLTHREADS_VERSION = 2.4.0
>>
>> LIBCLTHREADS_SOURCE = clthreads-$(LIBCLTHREADS_VERSION).tar.bz2
> 
>  Small nit: since upstream calls it "clthreads", we prefer that the 
> buildroot package has the same name.
> 
>>
>> LIBCLTHREADS_SITE =
>> http://kokkinizta.linuxaudio.org/linuxaudio/downloads
>>
>> LIBCLTHREADS_LICENSE = LGPLv2.1+
>>
>> LIBCLTHREADS_LICENSE_FILES = COPYING
>>
>> LIBCLTHREADS_INSTALL_STAGING = YES
>>
>> LIBCLTHREADS_INSTALL_TARGET = YES
> 
>  This one is not needed because the default.
> 
>>
>>  
>>
>> $(eval $(autotools-package))
>>
>>  
>>
>>  
>>
>>  
>>
>> When I build it seems to be OK but nothing in the installed folders. 
>> This is message I get when I build,
>>
> [snip]
>>>>> libclthreads 2.4.0 Installing to target
> 
>  Weird, the install to staging is missing... I can't explain that...
> 
> 
>>
>>
>
PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/bin:
> /root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/sbin
> :/root 
> /work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bin:/
> root/w 
> ork/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/sbin:/u
> sr/loc 
> al/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/arm-2014.05/
> bin:/r
> oot/bin:/opt/arm-2014.05/bin" 
>> /usr/bin/make -j5
>> DESTDIR=/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/
>> t
>> arget
>> install -C
>> /root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/li
>> b
>> clthreads-2.4.0/
>>
>> make[1]: Entering directory
>>
> `/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/li
> bclthr
> eads-2.4.0'
>>
>> /usr/bin/install -d /usr/local/lib64
> 
>  It looks like this package ignores both the configure --prefix option 
> and the DESTDIR argument to 'make install'. This basically makes the 
> install commands unusable. Either patch the Makefile.in to correct 
> this, or define LIBCLTHREADS_INSTALL_STAGING_CMDS and
LIBCLTHREADS_INSTALL_TARGET_CMDS.
> 
> 
>  Regards,
>  Arnout
> 
> 
>>
>> /usr/bin/install -m 644 clthreads.h /usr/local/include
>>
>> /usr/bin/install -m 755 libclthreads.so.2.4.0 /usr/local/lib64
>>
>> /sbin/ldconfig -n /usr/local/lib64
>>
>> ln -sf libclthreads.so.2.4.0 /usr/local/lib64/libclthreads.so
>>
>> make[1]: Leaving directory
>>
> `/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/li
> bclthr
> eads-2.4.0'
>>
>>  
>>
>>  
>>
>>  
>>
>> What could have gone wrong?
>>
>>  
>>
>> Thanks in advance.
>>
>>  
>>
>>  
>>
>> *Regards*
>>
>> *Herschel*
>>
>>
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
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:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Installing package libclthreads
  2016-10-05 23:04     ` Arnout Vandecappelle
  2016-10-06 15:16       ` Herschel Karunaratne
@ 2016-10-10  6:32       ` Herschel Karunaratne
  1 sibling, 0 replies; 8+ messages in thread
From: Herschel Karunaratne @ 2016-10-10  6:32 UTC (permalink / raw)
  To: buildroot

Hi Arnout,

Thanks for the support and I manage to get it working.

Regards
?
Herschel 

-----Original Message-----
From: Arnout Vandecappelle [mailto:arnout at mind.be] 
Sent: Thursday, October 6, 2016 4:35 AM
To: Herschel Karunaratne <hk@synexint.com>; buildroot at busybox.net
Subject: Re: [Buildroot] Installing package libclthreads



On 05-10-16 12:42, Herschel Karunaratne wrote:
> Hi Arnout,
> 
> Thanks for the reply.
> 
> Sorry I will not use HTML. 

 Please also don't top-post, but reply in-line :-)


> Could you please send me a .mk file for this? I'm quite new to buildroot.

 I'm sorry, I don't have the time to do that for you at the moment. But if
you want, you can hire my company to do it, and I'll make time :-)

 I took a quick look, and there is quite a lot wrong with the .mk file you
previously sent. The URL is wrong, and the package is not actually an
autotools package (it doesn't have a configure script). I don't know what
kind of hacks you have done to get the output you showed earlier, but that
is certainly *not* the output you get from that .mk file.


 Regards,
 Arnout


> 
> Regards,
> Herschel
> 
> 
> -----Original Message-----
> From: Arnout Vandecappelle [mailto:arnout at mind.be]
> Sent: Wednesday, October 5, 2016 2:27 AM
> To: Herschel Karunaratne <hk@synexint.com>; buildroot at busybox.net
> Subject: Re: [Buildroot] Installing package libclthreads
> 
>  Hi Herschel,
> 
>  Please avoid using HTML mail on this list.
> 
> 
> On 03-10-16 14:21, Herschel Karunaratne wrote:
>> Hi,
>>
>>  
>>
>> I am trying to install "jconvolver" and have to install 
>> "libclthreads" needed by jconvolver. "My "libclthreads.mk" is as 
>> follows,
>>
>>  
>>
>> #####################################################################
>>
>> #
>>
>> # libclthreads
>>
>> #
>>
>> ####################################################################
>>
>>  
>>
>> LIBCLTHREADS_VERSION = 2.4.0
>>
>> LIBCLTHREADS_SOURCE = clthreads-$(LIBCLTHREADS_VERSION).tar.bz2
> 
>  Small nit: since upstream calls it "clthreads", we prefer that the 
> buildroot package has the same name.
> 
>>
>> LIBCLTHREADS_SITE =
>> http://kokkinizta.linuxaudio.org/linuxaudio/downloads
>>
>> LIBCLTHREADS_LICENSE = LGPLv2.1+
>>
>> LIBCLTHREADS_LICENSE_FILES = COPYING
>>
>> LIBCLTHREADS_INSTALL_STAGING = YES
>>
>> LIBCLTHREADS_INSTALL_TARGET = YES
> 
>  This one is not needed because the default.
> 
>>
>>  
>>
>> $(eval $(autotools-package))
>>
>>  
>>
>>  
>>
>>  
>>
>> When I build it seems to be OK but nothing in the installed folders. 
>> This is message I get when I build,
>>
> [snip]
>>>>> libclthreads 2.4.0 Installing to target
> 
>  Weird, the install to staging is missing... I can't explain that...
> 
> 
>>
>>
>
PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/bin:
> /root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/sbin
> :/root 
> /work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/bin:/
> root/w 
> ork/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/usr/sbin:/u
> sr/loc 
> al/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/arm-2014.05/
> bin:/r
> oot/bin:/opt/arm-2014.05/bin" 
>> /usr/bin/make -j5
>> DESTDIR=/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/
>> t
>> arget
>> install -C
>> /root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/li
>> b
>> clthreads-2.4.0/
>>
>> make[1]: Entering directory
>>
> `/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/li
> bclthr
> eads-2.4.0'
>>
>> /usr/bin/install -d /usr/local/lib64
> 
>  It looks like this package ignores both the configure --prefix option 
> and the DESTDIR argument to 'make install'. This basically makes the 
> install commands unusable. Either patch the Makefile.in to correct 
> this, or define LIBCLTHREADS_INSTALL_STAGING_CMDS and
LIBCLTHREADS_INSTALL_TARGET_CMDS.
> 
> 
>  Regards,
>  Arnout
> 
> 
>>
>> /usr/bin/install -m 644 clthreads.h /usr/local/include
>>
>> /usr/bin/install -m 755 libclthreads.so.2.4.0 /usr/local/lib64
>>
>> /sbin/ldconfig -n /usr/local/lib64
>>
>> ln -sf libclthreads.so.2.4.0 /usr/local/lib64/libclthreads.so
>>
>> make[1]: Leaving directory
>>
> `/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/build/li
> bclthr
> eads-2.4.0'
>>
>>  
>>
>>  
>>
>>  
>>
>> What could have gone wrong?
>>
>>  
>>
>> Thanks in advance.
>>
>>  
>>
>>  
>>
>> *Regards*
>>
>> *Herschel*
>>
>>
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
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:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Installing package libclthreads
@ 2016-10-03 16:41 Herschel Karunaratne
  0 siblings, 0 replies; 8+ messages in thread
From: Herschel Karunaratne @ 2016-10-03 16:41 UTC (permalink / raw)
  To: buildroot

An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161003/210f159b/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-10-10  6:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-03 12:21 [Buildroot] Installing package libclthreads Herschel Karunaratne
2016-10-03 16:31 ` Khem Raj
2016-10-04 20:57 ` Arnout Vandecappelle
2016-10-05 10:42   ` Herschel Karunaratne
2016-10-05 23:04     ` Arnout Vandecappelle
2016-10-06 15:16       ` Herschel Karunaratne
2016-10-10  6:32       ` Herschel Karunaratne
2016-10-03 16:41 Herschel Karunaratne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.