trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] mlt++ can only build without compiling 'test' files (Makefile patch required)

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 30 Mar 2012 14:41:54 -0500
On 03/30/2012 12:39 PM, Darrell Anderson wrote:
> Does building mt++ require first building mt? I want to help but I am unable to build mt. Looks like mlt can't find the tqt header files....

Yes you need mlt build because mlt++ calls mlt-config, but this problem is an
obvious "Chicken or the egg issue" ... and the answer is "egg".

The build for the subdir "test" in mlt++ needs libmlt++ already installed on the
system. Think about it, your are building mlt++, that lib isn't on your system
until you finish the package and install.

This looks like one of those:

(1)  "Let's add the 'test' dir to the source so people will have it as a
reference..."

deals and then in some automagic/autoconf/whatever run later, the Makefile got
generated saying:

(2) "Hey, I found a subdir called 'test', let's add a directive to build 'test'"

and since they were building it on a system where mlt++ was already installed,

(3)the automagic files found the libmlt++ lib and included it in the library
flags to build 'test'.

This looks like exactly what happened to me, but I need someone to confirm this
because "I don't know...." :)

Give this a try on mlt (i686 only):


  ./configure \
    --prefix=${TDEDIR} \
    --enable-gpl \
    --disable-sox \
    --disable-qimage


-- 
David C. Rankin, J.D.,P.E.