mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] mediastreamer2: Bad search path when relinking library
@ 2018-02-02 10:59 Guillermo Rodriguez Garcia
  2018-02-02 15:46 ` Michael Olbrich
  0 siblings, 1 reply; 6+ messages in thread
From: Guillermo Rodriguez Garcia @ 2018-02-02 10:59 UTC (permalink / raw)
  To: ptxdist


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

Hi all,

I am trying to create a ptxdist package for mediastreamer2. By default,
releases come without a configure script, and with an autogen.sh that
requires intltoolize.

So I first tried the following:

In mediastreamer2.in:

select HOST_INTLTOOL

In mediasteamer2.make:

$(STATEDIR)/mediastreamer2.extract:
@$(call targetinfo)
@$(call clean, $(MEDIASTREAMER2_DIR))
@$(call extract, MEDIASTREAMER2)
cd $(MEDIASTREAMER2_DIR) && [ -f configure ] || sh autogen.sh
@$(call patchin, MEDIASTREAMER2)
@$(call touch)

However, this does not work because apparently ptxdist resolves
dependencies after the extract stage, so when autogen.sh is run, the
host-intltool package has not been installed yet.

So I tried to run autogen.sh from the extract.post stage instead:

$(STATEDIR)/mediastreamer2.extract.post:
@$(call targetinfo)
cd $(MEDIASTREAMER2_DIR) && [ -f configure ] || sh autogen.sh
@$(call touch)

This way, host-intltool is installed before autogen.sh is run, so that part
work. But this creates other problems: The install stage fails when trying
to relink some libraries.

What is the proper way to do this?

Thank you,

Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com

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

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2018-02-05 11:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-02 10:59 [ptxdist] mediastreamer2: Bad search path when relinking library Guillermo Rodriguez Garcia
2018-02-02 15:46 ` Michael Olbrich
2018-02-05 10:05   ` Guillermo Rodriguez Garcia
2018-02-05 10:25     ` Michael Olbrich
2018-02-05 10:49       ` Guillermo Rodriguez Garcia
2018-02-05 11:04         ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox