[winswitch] Compiling xpra on precise

Antoine Martin antoine at nagafix.co.uk
Tue Jan 7 03:48:01 GMT 2014


On 07/01/14 09:00, Levy, Roger wrote:
> Hi,
>
> I’m trying to compile source for the latest version of xpra (xpra-0.10.10) on a server running Ubuntu 12.04 (precise).  Following the directions at
>   http://winswitch.org/dev/debian.html
Start with the correct instructions, the ones above are for winswitch,
xpra's are here:
http://xpra.org/trac/wiki/Building#DebianandUbuntu
> I first ran
>   python-crypto python-twisted python-gtk2
>
> and after all these packages installed I ran 
>    ./setup.py install --home=install
>
> However, this leads to the following error:
>   ERROR: cannot find a valid pkg-config package for ['x264’]
As per the page linked to above:

For x264 and vpx support, you should install:

apt-get install libx264-dev libvpx-dev libswscale-dev libavcodec-dev

That said..
> I’m not sure where to go from here — any suggestions?
Use the binary packages we provide, it will save you a lot of grief.

If you insist on building from source, and since you are on a
distribution (Ubuntu Precise) with known unfixable problems with libav,
build without x264 or libav:
./setup.py --without-x264 --without-dec_avcodec

Bearing in mind that xpra is an order of magnitude more efficient with
x264 enabled.. I can only suggest you use a more up to date distro.

Cheers
Antoine

> Best & many thanks in advance,
>
> Roger
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users




More information about the shifter-users mailing list