Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Installing package libclthreads
Date: Tue, 4 Oct 2016 22:57:03 +0200	[thread overview]
Message-ID: <1006b3f0-301d-b8c3-99da-ef2c50c5ec00@mind.be> (raw)
In-Reply-To: <00b301d21d70$9e934540$dbb9cfc0$@synexint.com>

 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

  parent reply	other threads:[~2016-10-04 20:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2016-10-03 16:41 Herschel Karunaratne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1006b3f0-301d-b8c3-99da-ef2c50c5ec00@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox