xpra icon
Bug tracker and wiki

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1270 closed defect (invalid)

Compiling --without-vpx still pulls in vpx functionality

Reported by: Casper Owned by: Antoine Martin
Priority: major Milestone: 1.0
Component: core Version: trunk
Keywords: Cc:

Description

I'm compiling xpra 0.17.4 on Ubuntu 14.04 from source with --without-vpx, but the vpx libraries are still being pulled in.

This produces a crash on 14.04 in reference to:
https://www.xpra.org/trac/ticket/1084

Therefore it's impossible to get xpra 0.17.4 to run on 14.04.

0.16.0 (previous version I compiled) worked fine with --without-vpx, and the vpx initialization was skipped properly.

Not sure why --without-vpx is not working. The first time I compiled it I forgot to use --without-vpx. I then installed it and realized the mistake. I ran ./setup.py clean and recompiled with --without-vpx.

I tried rm -rf build also before recompiling and installing, but makes no difference.

Why is --without-vpx not working, and how do I disable it in 0.17.4?

Where in the code are the vpx libraries being initialized. Is there something I can comment out manually?

Thank you.

Change History (4)

comment:1 Changed 3 years ago by Casper

Manually commenting out all references to vpx in xpra/codecs/loader.py disabled vpx properly.

comment:2 Changed 3 years ago by Casper

Resolution: worksforme
Status: newclosed

comment:3 Changed 3 years ago by Antoine Martin

Resolution: worksforme
Status: closedreopened

No. This change is definitely NOT correct. Do not do this.
Anyone reading this ticket should not follow these instructions.

You must have had some old build laying around. Make sure you clear everything before you install again and you will not have vpx included, and it will not be found:

rm -fr build dist/ install
./setup.py install --without-vpx --home=./install
find install/ -name "*vpx*"
PYTHONPATH=./install/lib64/python python ./install/lib64/python/xpra/codecs/loader.py

comment:4 Changed 3 years ago by Antoine Martin

Resolution: invalid
Status: reopenedclosed

--without-vpx works as expected, as shown in comment:3.

Last edited 3 years ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.