Here's a forum post describing the problem people have with the SUSE cunit
package:
http://ufoai.ninex.info/forum/index.php?topic=5428.0

A quick fix is to add "-lnurses" to LD_FLAGS, but someone replied to that
saying that the cunit .pc file should be used instead for proper detection.
This makes me wonder, are we detecting cunit the right way?

Can anybody suggest improvements to the current cunit detection script?
https://github.com/FreeRDP/FreeRDP-1.0/blob/master/cmake/FindCUnit.cmake

On Fri, Aug 26, 2011 at 11:22 AM, Alexis Moinet
<alexis.moi...@umons.ac.be>wrote:

> > On Fri, Aug 26, 2011 at 12:03, Marc-André Moreau
> > <marcandre.mor...@gmail.com> wrote:
> >> I was using openSUSE a couple of months ago, and their cunit build was
> not
> >> very good. The build depended on ncurses, which is not needed for us. Is
> it
> >> possible to add a check in cmake for SUSE in particular so that it adds
> >> ncurses as a dependency, just to fix building on SUSE?
>
> I don't know of any easy way to do that in cmake
>
> (except for a ugly hack that makes cmake run a command such as "uname" and
> parse its output)
>
> On 26/08/11 17:08, Otavio Salvador wrote :
> >
> > This ought to be fixed on SuSE, not on FreeRDP otherwise we will start
> > to add hacks for every distribution (and specific to versions since
> > those hacks can change on new releases).
> >
> > Besides, this is for the test unit and we expect that someone with
> > development skills can figure out this by themselves.
>
> Agreed
>
> > Alexis, you might report a bug against SuSE asking for them to fix
> > cunit or fix its pkg-config file so this can work out of box ;-)
>
> Well, not using SuSE (ubuntu here), I could hardly make a correct/proper
> bug report. Marc-André ?
>
> Alexis
>
>
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to