Skip to contentSkip to conversation

Installing package libclthreads

Buildroot Herschel Karunaratne 3 participants 7 messages Oct 3, 2016 – Oct 10, 2016

lore
Share & tools
lore
#0 lore raw

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,

Quoted 1 line
Quoted 1 line
Quoted 1 line

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 )

Quoted 1 line
Quoted 1 line
Quoted 1 line

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'

Quoted 1 line
Quoted 1 line
Quoted 1 line

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>

#1 lore raw

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

Quoted 211 lines · Herschel Karunaratne

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,

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

(quoted diff) +0 -2
-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 )

Quoted 1 line
Quoted 1 line
Quoted 1 line

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'

Quoted 1 line
Quoted 1 line
Quoted 1 line

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.

Quoted 9 lines

*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>

#2 lore raw
In reply to Herschel Karunaratne

Hi Herschel,

Please avoid using HTML mail on this list.

Quoted 17 lines · Herschel Karunaratne

Hi,

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

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

#

# libclthreads

#

Quoted 7 lines

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

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.

Quoted 10 lines

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.

Quoted 14 lines

$(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]

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libclthreads 2.4.0 Installing to target

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

Quoted 11 lines

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

Quoted 39 lines

/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

Signature · 6 lines
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
#3 lore raw

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 <[email protected]>; buildroot at busybox.net
Subject: Re: [Buildroot] Installing package libclthreads

Hi Herschel,

Please avoid using HTML mail on this list.

Quoted 18 lines · Herschel Karunaratne

Hi,

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

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

#

# libclthreads

#

Quoted 7 lines

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

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.

Quoted 11 lines

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.

Quoted 14 lines

$(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]

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libclthreads 2.4.0 Installing to target

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

Quoted 2 lines

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"

Quoted 9 lines

/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'

Quoted 2 lines

/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

Quoted 11 lines

/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'

Quoted 28 lines

What could have gone wrong?

Thanks in advance.

*Regards*

*Herschel*

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 6 lines
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
#4 lore raw
Quoted 5 lines · Herschel Karunaratne

Hi Arnout,

Thanks for the reply.

Sorry I will not use HTML.

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

Quoted 1 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

Quoted 154 lines

Regards,
Herschel

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

Hi Herschel,

Please avoid using HTML mail on this list.

Quoted 18 lines · Herschel Karunaratne

Hi,

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

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

#

# libclthreads

#

Quoted 7 lines

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

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.

Quoted 11 lines

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.

Quoted 14 lines

$(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]

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libclthreads 2.4.0 Installing to target

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

Quoted 2 lines

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"

Quoted 9 lines

/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'

Quoted 2 lines

/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

Quoted 11 lines

/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'

Quoted 28 lines

What could have gone wrong?

Thanks in advance.

*Regards*

*Herschel*

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 6 lines
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
#5 lore raw

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 <[email protected]>; buildroot at busybox.net
Subject: Re: [Buildroot] Installing package libclthreads

Quoted 5 lines · Herschel Karunaratne

Hi Arnout,

Thanks for the reply.

Sorry I will not use HTML.

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

Quoted 1 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

Quoted 71 lines

Regards,
Herschel

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

Hi Herschel,

Please avoid using HTML mail on this list.

Quoted 18 lines · Herschel Karunaratne

Hi,

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

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

#

# libclthreads

#

Quoted 7 lines

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

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.

Quoted 11 lines

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.

Quoted 11 lines

$(eval $(autotools-package))

Quoted 12 lines
Quoted 3 lines

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

[snip]

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libclthreads 2.4.0 Installing to target

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

Quoted 2 lines

PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/bin:

Quoted 24 lines

/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"

Quoted 11 lines

/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'

Quoted 1 line
Quoted 6 lines
Quoted 1 line

/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.

Quoted 49 lines

Regards,
Arnout

Quoted 11 lines

/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'

Quoted 28 lines

What could have gone wrong?

Thanks in advance.

*Regards*

*Herschel*

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 6 lines
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
#6 lore raw
In reply to Arnout Vandecappelle

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 <[email protected]>; buildroot at busybox.net
Subject: Re: [Buildroot] Installing package libclthreads

Quoted 5 lines · Herschel Karunaratne

Hi Arnout,

Thanks for the reply.

Sorry I will not use HTML.

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

Quoted 1 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

Quoted 71 lines

Regards,
Herschel

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

Hi Herschel,

Please avoid using HTML mail on this list.

Quoted 18 lines · Herschel Karunaratne

Hi,

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

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

#

# libclthreads

#

Quoted 7 lines

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

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.

Quoted 11 lines

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.

Quoted 11 lines

$(eval $(autotools-package))

Quoted 12 lines
Quoted 3 lines

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

[snip]

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

libclthreads 2.4.0 Installing to target

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

Quoted 2 lines

PATH="/root/work/sinlinx/a33-organ/lichee/buildroot-2016.05/output/host/bin:

Quoted 24 lines

/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"

Quoted 11 lines

/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'

Quoted 1 line
Quoted 6 lines
Quoted 1 line

/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.

Quoted 49 lines

Regards,
Arnout

Quoted 11 lines

/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'

Quoted 28 lines

What could have gone wrong?

Thanks in advance.

*Regards*

*Herschel*

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 6 lines
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