Re: [PATCH 1/2] libtraceevent: fix lib installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Steve,

On Fri, Nov 15, 2019 at 11:36 AM Sudip Mukherjee
<sudipm.mukherjee@xxxxxxxxx> wrote:
>
> When we use 'O=' with make to build libtraceevent in a separate folder
> it fails to install libtraceevent.a and libtraceevent.so.1.1.0 with the
> error:
>   INSTALL  /home/sudip/linux/obj-trace/libtraceevent.a
>   INSTALL  /home/sudip/linux/obj-trace/libtraceevent.so.1.1.0
> cp: cannot stat 'libtraceevent.a': No such file or directory
> Makefile:225: recipe for target 'install_lib' failed
> make: *** [install_lib] Error 1
>
> I used the command:
> make O=../../../obj-trace DESTDIR=~/test prefix==/usr  install
>
> It turns out libtraceevent Makefile, even though it builds in a separate
> folder, searches for libtraceevent.a and libtraceevent.so.1.1.0 in its
> source folder.
> So, add the 'OUTPUT' prefix to the source path so that 'make' looks for
> the files in the correct place.
>
> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>
> ---
>  tools/lib/traceevent/Makefile | 1 +

A gentle ping.
I know its the merge window now. But your ack for these two patches will allow
me to start with the debian workflow.

--
Regards
Sudip



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux