Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Herschel Karunaratne <hk@synexint.com>
To: buildroot@busybox.net
Subject: [Buildroot] Installing package libclthreads
Date: Thu, 6 Oct 2016 20:46:04 +0530	[thread overview]
Message-ID: <000001d21fe4$8fb2f400$af18dc00$@synexint.com> (raw)
In-Reply-To: <27f42b97-7e99-ff93-3231-ed9c3a56360d@mind.be>

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

  reply	other threads:[~2016-10-06 15:16 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
2016-10-05 10:42   ` Herschel Karunaratne
2016-10-05 23:04     ` Arnout Vandecappelle
2016-10-06 15:16       ` Herschel Karunaratne [this message]
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='000001d21fe4$8fb2f400$af18dc00$@synexint.com' \
    --to=hk@synexint.com \
    --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