[mythtv] Re: [mythtv-commits] Re: Ticket #265: SVN HEAD mythtv has Undefined Reference (Gentoo brokenness)

Neale Swinnerton mythtv-dev.spam at isismanor.com
Tue Aug 30 16:36:55 UTC 2005


nope, make distclean doesn't work, as discussed in the original defect. I
certainly agree that rm /usr/X11R6/lib/* is evil :-)

and anyway the ebuild unpacks a tar of rev 7185 into a fresh directory, so
there's nothing to distclean away.

the problem is that /usr/lib and /usr/X11R6/lib are linked in gentoo,
supposedly because they are following FHS (the Filesytem Hierarchy
Standard), so you need to make sure that the new libs appear before
/usr/X11R6/lib in the linker options. I don't know how to do this, the
suggested change of

LIB += ...

to

LIB = ... $${LIBS}

doesn't work.

any ideas?



> Neale Swinnerton wrote:
>> This doesn't fix the build problems with Gentoo I'm afraid.
>> /usr/X11R6/lib
>> is still appearing before -L../../libs/libmythui in the linker options
>> (seen on rev 7185).
>>
>> Can someone post their svn .ebuild????
>>
>> of course the simple work around is
>>
>> rm /usr/X11R6/lib/libmythui*
>>
>> before building...
>>
>>
>>>#265: SVN HEAD mythtv has Undefined Reference (Gentoo brokenness)
>>>-------------------------+--------------------------------------------------
>>> Reporter:  anonymous    |        Owner:  ijr
>>>     Type:  enhancement  |       Status:  closed
>>> Priority:  minor        |    Milestone:
>>>Component:  mythtv       |      Version:  head
>>> Severity:  low          |   Resolution:  fixed
>>>       Cc:               |
>>>-------------------------+--------------------------------------------------
>>>Changes (by danielk):
>>>
>>>  * resolution:  => fixed
>>>  * status:  reopened => closed
>>>
>>>Comment:
>>>
>>> (In [7170]) Fixes #265.
>>>
>>> Makes sure that we link MythTV programs our freshly compiled libs
>>> instead of ones previously installed on the system.
>>>
>>> The ticket is about Gentoo ebuilds installing X11 libraries and
>>> MythTV libraries in the same directory, but this fix will help
>>> with any other whacky installs as well.
>>>
>>>--
>>>Ticket URL: <http://cvs.mythtv.org/trac/ticket/265>
>>>MythTV <http://www.mythtv.org/>
>
>
> Top posting is evil. You need to do a make distclean first.
>
> Cheers,
>
> Allan.
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>



More information about the mythtv-dev mailing list