Re: Building Ogle on Solaris x86

Bj|rn Englund <[email protected]> Sun, 9 Nov 2003 21:07:36 +0100
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
Sat Nov 08 2003, Laurent Blume wrote:



> 
> The first is in ./configure: I have the OpenSound driver installed, and 
> the configure script doesn't even try it. Clearly, it's because the 
> system type is i386-pc-solaris2.9.
> 
> I've done a very small modification to correct that:

Thanks, I've comitted the patch to cvs


> 
> Then, I've got Mlib installed, and obviously it's not been foreseen that 
> a system could have both MMX and MLIB support.
> For example, in mpeg2_video/yuv2rgb.c, there is:
> 
> void yuv2rgb_init(uint32_t bpp, uint32_t mode)
> {
> #ifdef HAVE_MMX
>    if(1)
>      yuv2rgb = yuv2rgb_mmx_init(bpp, mode);
>    else
> #endif
> #ifdef HAVE_MLIB
>    if(1)
>      yuv2rgb = yuv2rgb_mlib_init(bpp, mode);
>    else
> #endif
>      ;

> Obviously, since both are true in my case, it leads to an error at 
> compile time. There are a few more scattered in the same directory.
> 

There shouldn't be any problems with them both true,
what compile errors do you get?


> As a quick workaround, I used the --disable-mmx option to configure, and 
> it built fine, and at least starts (though now my problem is how to make 
> it play a DVD over NFS :-)

If you just run ogle locally on the nfs-server one time after you insert
the dvd so it gets authenticated, then it should be possible
to just mount it and run ogle on the files (assuming that libdvdcss
can crack the keys).

> I'm not sure which would be better, using MMX or MLIB, but they should 
> be exclusive at least.

Ideally it should be possible to choose which one you like.

/Björn