All of lore.kernel.org
 help / color / mirror / Atom feed
* Library not getting installed to intended path
@ 2015-06-03 12:16 Yogesh Tyagi
  2015-06-03 13:46 ` Burton, Ross
  0 siblings, 1 reply; 16+ messages in thread
From: Yogesh Tyagi @ 2015-06-03 12:16 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

Hi,

I am using yocto 1.6 and I have written a component and written bitbake
recipe file for this component. When rootfs is created my library is found
in "/lib" directory but I want it to be installed to
"/usr/lib/gstreamer-0.10" directory (which is already created by open
source gstreamer packages).

Following is the content of my bb file:

DESCRIPTION = "Plugin for support in GStreamer"

LICENSE = "BSD | LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=7e2d09b34a9cdf39567252d39ce57cca"

DEPENDS = "virtual/libc \
           system-utils \
           gstreamer \
           gst-plugins-base \
          "

PR = "r0"

TD_PKG_REPO = "td-gst-plugin"

inherit autotools td_package td_paths

Makefile.am of my component is pretty basic. It does not modify any default
installations path.
I have tried different options like adding "FILES_${PN}" to bb file and
writing do_install() function but not able to install my lib to
"/usr/lib/gstreamer-0.10". Can somebody please help me with this issue?

Thanks,
Yogesh

[-- Attachment #2: Type: text/html, Size: 1613 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-03 12:16 Library not getting installed to intended path Yogesh Tyagi
@ 2015-06-03 13:46 ` Burton, Ross
  2015-06-03 15:37   ` Yogesh Tyagi
  0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2015-06-03 13:46 UTC (permalink / raw)
  To: Yogesh Tyagi; +Cc: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

On 3 June 2015 at 13:16, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:

> I am using yocto 1.6 and I have written a component and written bitbake
> recipe file for this component. When rootfs is created my library is found
> in "/lib" directory but I want it to be installed to
> "/usr/lib/gstreamer-0.10" directory (which is already created by open
> source gstreamer packages).


This is under the control of your makefiles, so you'll need to share
those.  My guess is that you're using a variable name in the makefile that
has a defined meaning in automake so your assignment gets overridden.

(also, this isn't anything to do with development of bitbake, so this
discussion should be on yocto@)

Ross

[-- Attachment #2: Type: text/html, Size: 1096 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-03 13:46 ` Burton, Ross
@ 2015-06-03 15:37   ` Yogesh Tyagi
  2015-06-03 16:56     ` Burton, Ross
  0 siblings, 1 reply; 16+ messages in thread
From: Yogesh Tyagi @ 2015-06-03 15:37 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]

Hi,

I have added these two lines to my Makefile.am:

AC_PREFIX_DEFAULT(/usr/lib/gstreamer-0.10)
libdir='/usr/lib/gstreamer-0.10'

and following lines to bb file:

FILES_${PN} += "${libdir}/gstreamer-0.10/"
FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"


do_install() {
  install -D -m 0755 ${S}/*.so* ${D}/{libdir}/gstreamer-0.10/
}

when rootfs is created I am getting QA warning:

WARNING: QA Issue: fsmd-gst-plugin-linux-user: Files/directories were
installed but not shipped
  /usr/lib
  /usr/lib/gstreamer-0.10
  /usr/lib/gstreamer-0.10/libgstflt.so

and libs are not going to rootfs.

Thanks,
Yogesh

On Wed, Jun 3, 2015 at 7:16 PM, Burton, Ross <ross.burton@intel.com> wrote:

>
> On 3 June 2015 at 13:16, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:
>
>> I am using yocto 1.6 and I have written a component and written bitbake
>> recipe file for this component. When rootfs is created my library is found
>> in "/lib" directory but I want it to be installed to
>> "/usr/lib/gstreamer-0.10" directory (which is already created by open
>> source gstreamer packages).
>
>
> This is under the control of your makefiles, so you'll need to share
> those.  My guess is that you're using a variable name in the makefile that
> has a defined meaning in automake so your assignment gets overridden.
>
> (also, this isn't anything to do with development of bitbake, so this
> discussion should be on yocto@)
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 2538 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-03 15:37   ` Yogesh Tyagi
@ 2015-06-03 16:56     ` Burton, Ross
  2015-06-03 19:07       ` Yogesh Tyagi
  0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2015-06-03 16:56 UTC (permalink / raw)
  To: Yogesh Tyagi; +Cc: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

On 3 June 2015 at 16:37, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:

> AC_PREFIX_DEFAULT(/usr/lib/gstreamer-0.10)
> libdir='/usr/lib/gstreamer-0.10'
>

Yeah, don't do that.  Do this instead:

gstlibdir = $(libdir)/gstreamer-0.10
gstlib_LTLIBRARIES = ...

You don't need to override do_install as automake's install will do the
right thing if you inherit autotools.

Ross

[-- Attachment #2: Type: text/html, Size: 931 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-03 16:56     ` Burton, Ross
@ 2015-06-03 19:07       ` Yogesh Tyagi
  2015-06-03 19:17         ` Burton, Ross
  0 siblings, 1 reply; 16+ messages in thread
From: Yogesh Tyagi @ 2015-06-03 19:07 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]

Hi,

I have added

gstlibdir=$(libdir)/gstreamer-0.10

gstlib_LTLIBRARIES = ....

to my Makefile.am

and removed overiding do_install() from bb file.

While creating roots ,my package was throwing QA warning

WARNING: QA Issue: gst-plugin-linux-user: Files/directories were installed
but not shipped
  /lib/gstreamer-0.10
  /lib/gstreamer-0.10/libgst................

so I have added these lines to bb file:

FILES_${PN} += "${libdir}/gstreamer-0.10/"
FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
FILES_${PN}-dev += "${libdir}/gstreamer-0.10/"

Now library is not going to rootfs at all and no Warning is there. Earlier
it was installing to "/lib" in rootfs. I want the lib to install to
"/usr/lib/gstreamer-0.10" in rootfs. Please provide your suggestions.

Thanks,
Yogesh




On Wed, Jun 3, 2015 at 10:26 PM, Burton, Ross <ross.burton@intel.com> wrote:

>
> On 3 June 2015 at 16:37, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:
>
>> AC_PREFIX_DEFAULT(/usr/lib/gstreamer-0.10)
>> libdir='/usr/lib/gstreamer-0.10'
>>
>
> Yeah, don't do that.  Do this instead:
>
> gstlibdir = $(libdir)/gstreamer-0.10
> gstlib_LTLIBRARIES = ...
>
> You don't need to override do_install as automake's install will do the
> right thing if you inherit autotools.
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 3246 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-03 19:07       ` Yogesh Tyagi
@ 2015-06-03 19:17         ` Burton, Ross
  2015-06-03 19:24           ` Yogesh Tyagi
  0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2015-06-03 19:17 UTC (permalink / raw)
  To: Yogesh Tyagi; +Cc: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 861 bytes --]

On 3 June 2015 at 20:07, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:

> WARNING: QA Issue: gst-plugin-linux-user: Files/directories were installed
> but not shipped
>   /lib/gstreamer-0.10
>   /lib/gstreamer-0.10/libgst................
>
> so I have added these lines to bb file:
>
> FILES_${PN} += "${libdir}/gstreamer-0.10/"
> FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
> FILES_${PN}-dev += "${libdir}/gstreamer-0.10/"
>
> Now library is not going to rootfs at all and no Warning is there. Earlier
> it was installing to "/lib" in rootfs. I want the lib to install to
> "/usr/lib/gstreamer-0.10" in rootfs. Please provide your suggestions.
>

Remove FILES_PN-dev, there's nothing in that directory that makes sense in
the context of development and as PN-dev is packaged before PN all your
files are in that package.

Ross

[-- Attachment #2: Type: text/html, Size: 1727 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-03 19:17         ` Burton, Ross
@ 2015-06-03 19:24           ` Yogesh Tyagi
  2015-06-03 21:47             ` Burton, Ross
  0 siblings, 1 reply; 16+ messages in thread
From: Yogesh Tyagi @ 2015-06-03 19:24 UTC (permalink / raw)
  To: Burton, Ross; +Cc: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 1736 bytes --]

Hi,

If I remove
FILES_${PN}-dev += "${libdir}/gstreamer-0.10/"

I get this error:

ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
gst-plugin-linux-user path
'/work/core2-32-poky-linux/gst-plugin-linux-user/git+master-r0/packages-split/gst-plugin-linux-user/lib/gstreamer-0.10/libgstfl.so'
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/media/git/yocto/yogesh/build/tmp/work/core2-32-poky-linux/gst-plugin-linux-user/git+master-r0/temp/log.do_package.26194
ERROR: Task 3193
(/media/sdb/git/yocto/yogesh/yocto/meta-ce/recipes-ce/gst-plugin/
gst-plugin-linux-user.bb, do_package) failed with exit code '1'

Thanks,
Yogesh


On Thu, Jun 4, 2015 at 12:47 AM, Burton, Ross <ross.burton@intel.com> wrote:

>
> On 3 June 2015 at 20:07, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:
>
>> WARNING: QA Issue: gst-plugin-linux-user: Files/directories were
>> installed but not shipped
>>   /lib/gstreamer-0.10
>>   /lib/gstreamer-0.10/libgst................
>>
>> so I have added these lines to bb file:
>>
>> FILES_${PN} += "${libdir}/gstreamer-0.10/"
>> FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
>> FILES_${PN}-dev += "${libdir}/gstreamer-0.10/"
>>
>> Now library is not going to rootfs at all and no Warning is there.
>> Earlier it was installing to "/lib" in rootfs. I want the lib to install to
>> "/usr/lib/gstreamer-0.10" in rootfs. Please provide your suggestions.
>>
>
> Remove FILES_PN-dev, there's nothing in that directory that makes sense in
> the context of development and as PN-dev is packaged before PN all your
> files are in that package.
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 3237 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-03 19:24           ` Yogesh Tyagi
@ 2015-06-03 21:47             ` Burton, Ross
  2015-06-04  4:09               ` Yogesh Tyagi
  2015-06-04  6:25               ` Khem Raj
  0 siblings, 2 replies; 16+ messages in thread
From: Burton, Ross @ 2015-06-03 21:47 UTC (permalink / raw)
  To: Yogesh Tyagi; +Cc: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 573 bytes --]

On 3 June 2015 at 20:24, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:

> ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
> gst-plugin-linux-user path
> '/work/core2-32-poky-linux/gst-plugin-linux-user/git+master-r0/packages-split/gst-plugin-linux-user/lib/gstreamer-0.10/libgstfl.so'
> ERROR: QA run found fatal errors. Please consider fixing them.
>

That QA test is over-keen and that's a false-positive, but the real fix is
in your makefile.  Pass -module -avoid-version to libtool as you're
building modules, not libraries.

Ross

[-- Attachment #2: Type: text/html, Size: 938 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-03 21:47             ` Burton, Ross
@ 2015-06-04  4:09               ` Yogesh Tyagi
  2015-06-04  6:25               ` Khem Raj
  1 sibling, 0 replies; 16+ messages in thread
From: Yogesh Tyagi @ 2015-06-04  4:09 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]

Hi,

The library for which I passed -module and and -avoid-version in
Makefile.am is not going to rootfs.

libgstfl_la_LDFLAGS = -module -avoid-version

library is installed if I add this line to Makefile.am

libdir = /lib/gstreamer-0.10

and these to bb file

FILES_${PN} += "/lib/gstreamer-0.10"
FILES_${PN}-dbg += "/lib/gstreamer-0.10/.debug"
INSANE_SKIP_${PN} += "dev-so

Is this correct to use INSANE_SKIP or is it not recommended?

Should I consider not to inherit autotools?  I have seen a lot of packages
doing that. In this case whattever path I assign here in FILES variable ,
my library is installed to that path but with autotools I have to use
INSANE_SKIP option.

Thanks,
Yogesh



On Thu, Jun 4, 2015 at 3:17 AM, Burton, Ross <ross.burton@intel.com> wrote:

>
> On 3 June 2015 at 20:24, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:
>
>> ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
>> gst-plugin-linux-user path
>> '/work/core2-32-poky-linux/gst-plugin-linux-user/git+master-r0/packages-split/gst-plugin-linux-user/lib/gstreamer-0.10/libgstfl.so'
>> ERROR: QA run found fatal errors. Please consider fixing them.
>>
>
> That QA test is over-keen and that's a false-positive, but the real fix is
> in your makefile.  Pass -module -avoid-version to libtool as you're
> building modules, not libraries.
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 2840 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-03 21:47             ` Burton, Ross
  2015-06-04  4:09               ` Yogesh Tyagi
@ 2015-06-04  6:25               ` Khem Raj
  2015-06-04  9:51                 ` Burton, Ross
  1 sibling, 1 reply; 16+ messages in thread
From: Khem Raj @ 2015-06-04  6:25 UTC (permalink / raw)
  To: Burton, Ross; +Cc: bitbake-devel


[-- Attachment #1.1: Type: text/plain, Size: 321 bytes --]


> On Jun 3, 2015, at 2:47 PM, Burton, Ross <ross.burton@intel.com> wrote:
> 
> That QA test is over-keen and that's a false-positive, but the real fix is in your makefile.  Pass -module -avoid-version to libtool as you're building modules, not libraries.
> 

you will then hit the .so not being symlink QA errors

[-- Attachment #1.2: Type: text/html, Size: 1131 bytes --]

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-04  6:25               ` Khem Raj
@ 2015-06-04  9:51                 ` Burton, Ross
  2015-06-04 14:15                   ` Yogesh Tyagi
  0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2015-06-04  9:51 UTC (permalink / raw)
  To: Khem Raj; +Cc: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

On 4 June 2015 at 07:25, Khem Raj <raj.khem@gmail.com> wrote:

> you will then hit the .so not being symlink QA errors


dev-so is "symlink .so isn't in a -dev package", there's isn't a check for
".so isn't a symlink" as that would trigger for every plugin.

Ross

[-- Attachment #2: Type: text/html, Size: 653 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-04  9:51                 ` Burton, Ross
@ 2015-06-04 14:15                   ` Yogesh Tyagi
  2015-06-04 14:42                     ` Burton, Ross
  0 siblings, 1 reply; 16+ messages in thread
From: Yogesh Tyagi @ 2015-06-04 14:15 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

Hi,

I have not overridden any variable but when I printed "libdir" in Makefile,
it's value is "/lib" . This should be the reason why my libs were not
getting installed to /usr/lib/gstreamer-0.10. But why this is happening? As
per bitbake documentation  "libdir" should be /usr/lib and I also confirmed
this by

bitbake -e|grep libdir

How come it is changes in Makefile.

Thanks,
Yogesh

On Thu, Jun 4, 2015 at 3:21 PM, Burton, Ross <ross.burton@intel.com> wrote:

>
> On 4 June 2015 at 07:25, Khem Raj <raj.khem@gmail.com> wrote:
>
>> you will then hit the .so not being symlink QA errors
>
>
> dev-so is "symlink .so isn't in a -dev package", there's isn't a check for
> ".so isn't a symlink" as that would trigger for every plugin.
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 1635 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-04 14:15                   ` Yogesh Tyagi
@ 2015-06-04 14:42                     ` Burton, Ross
  2015-06-04 18:11                       ` Yogesh Tyagi
  0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2015-06-04 14:42 UTC (permalink / raw)
  To: Yogesh Tyagi; +Cc: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]

On 4 June 2015 at 15:15, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:

> I have not overridden any variable but when I printed "libdir" in
> Makefile, it's value is "/lib" . This should be the reason why my libs were
> not getting installed to /usr/lib/gstreamer-0.10. But why this is
> happening? As per bitbake documentation  "libdir" should be /usr/lib and I
> also confirmed this by
>
> bitbake -e|grep libdir
>

If bitbake thinks its /usr/lib then your configure or makefile is
overriding it.

Ross

[-- Attachment #2: Type: text/html, Size: 923 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-04 14:42                     ` Burton, Ross
@ 2015-06-04 18:11                       ` Yogesh Tyagi
  0 siblings, 0 replies; 16+ messages in thread
From: Yogesh Tyagi @ 2015-06-04 18:11 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 843 bytes --]

Hi,

I searched all the packages in my repo and I have observed that all those
packages which inherit autotools have "libdir" set to /lib and others have
libdir set to "/usr/lib" in Makefile.

Thanks,
Yogesh

On Thu, Jun 4, 2015 at 8:12 PM, Burton, Ross <ross.burton@intel.com> wrote:

>
> On 4 June 2015 at 15:15, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:
>
>> I have not overridden any variable but when I printed "libdir" in
>> Makefile, it's value is "/lib" . This should be the reason why my libs were
>> not getting installed to /usr/lib/gstreamer-0.10. But why this is
>> happening? As per bitbake documentation  "libdir" should be /usr/lib and I
>> also confirmed this by
>>
>> bitbake -e|grep libdir
>>
>
> If bitbake thinks its /usr/lib then your configure or makefile is
> overriding it.
>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 1662 bytes --]

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

* Re: Library not getting installed to intended path
  2015-06-04  4:14 Yogesh Tyagi
@ 2015-06-04  9:56 ` Burton, Ross
  0 siblings, 0 replies; 16+ messages in thread
From: Burton, Ross @ 2015-06-04  9:56 UTC (permalink / raw)
  To: Yogesh Tyagi; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]

On 4 June 2015 at 05:14, Yogesh Tyagi <yogesh.bit2006@gmail.com> wrote:

> I am using yocto 1.6 and I have written a component and written bitbake
> recipe file for this component. When rootfs is created my library is found
> in "/lib" directory but I want it to be installed to "/lib/gstreamer-0.10"
> directory (which is already created by open source gstreamer packages).
>
>
The path created by the GStreamer packages is /usr/lib/gstreamer-0.10,
unless you've been changing $prefix.

Your Makefile.am should have something like this:

# Plugins go in a subdirectory of libdir
plugindir=$(libdir)/gstreamer-0.10
plugin_LTLIBRARIES=libsomething.la
libsomething_la_SOURCES = something.c
# This is a module not a library, and don't version it
libsomething_la_LDFLAGS = -module -avoid-version

$(libdir) is turned into a real path by configure, and the autotools class
will pass the correct path to use.  Your recipe should then:

inherit autotools
FILES_${PN} = ${libdir}/gstreamer-0.10/*.so

At no point do you need to set libdir yourself, as the autotools class will
pass the right value from your distro configuration to the configure
script, which sets the right value in the Makefile.

Ross

[-- Attachment #2: Type: text/html, Size: 1942 bytes --]

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

* Library not getting installed to intended path
@ 2015-06-04  4:14 Yogesh Tyagi
  2015-06-04  9:56 ` Burton, Ross
  0 siblings, 1 reply; 16+ messages in thread
From: Yogesh Tyagi @ 2015-06-04  4:14 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

Hi,

I am using yocto 1.6 and I have written a component and written bitbake
recipe file for this component. When rootfs is created my library is found
in "/lib" directory but I want it to be installed to "/lib/gstreamer-0.10"
directory (which is already created by open source gstreamer packages).

Following is the content of my bb file:

DESCRIPTION = "Plugin for support in GStreamer"

LICENSE = "BSD | LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=7e2d09b34a9cdf39567252d39ce57cca"

DEPENDS = "virtual/libc \
           system-utils \
           gstreamer \
           gst-plugins-base \
          "

PR = "r0"

TD_PKG_REPO = "td-gst-plugin"

inherit autotools td_package td_paths



library is installed to /lib/gstreamer-0.10 if I add this line to
Makefile.am

libdir = /lib/gstreamer-0.10

and these to bb file

FILES_${PN} += "/lib/gstreamer-0.10"
FILES_${PN}-dbg += "/lib/gstreamer-0.10/.debug"
INSANE_SKIP_${PN} += "dev-so

Is this correct to use INSANE_SKIP or is it not recommended?

Should I consider not to inherit autotools?  I have seen a lot of packages
doing that. In this case whatever path I assign here in FILES variable , my
library is installed to that path but with autotools I have to use
INSANE_SKIP option.

Thanks,
Yogesh

[-- Attachment #2: Type: text/html, Size: 2611 bytes --]

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

end of thread, other threads:[~2015-06-04 18:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-03 12:16 Library not getting installed to intended path Yogesh Tyagi
2015-06-03 13:46 ` Burton, Ross
2015-06-03 15:37   ` Yogesh Tyagi
2015-06-03 16:56     ` Burton, Ross
2015-06-03 19:07       ` Yogesh Tyagi
2015-06-03 19:17         ` Burton, Ross
2015-06-03 19:24           ` Yogesh Tyagi
2015-06-03 21:47             ` Burton, Ross
2015-06-04  4:09               ` Yogesh Tyagi
2015-06-04  6:25               ` Khem Raj
2015-06-04  9:51                 ` Burton, Ross
2015-06-04 14:15                   ` Yogesh Tyagi
2015-06-04 14:42                     ` Burton, Ross
2015-06-04 18:11                       ` Yogesh Tyagi
2015-06-04  4:14 Yogesh Tyagi
2015-06-04  9:56 ` Burton, Ross

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.