[vlc-devel] Re: mediacontrol python doesn't build under linux

Olivier Aubert oaubert at lisi.univ-lyon1.fr
Thu Apr 13 10:58:49 CEST 2006


> i586-alt-linux-gcc: ../../src/libvlc_pic.a: No such file or directory
> i586-alt-linux-gcc: ../../modules/demux/liblivedotcom_pic.a: No such file or 
> directory
> i586-alt-linux-gcc: ../../modules/mux/mpeg/libmux_ts_pic.a: No such file or 
> directory
> error: command 'i586-alt-linux-gcc' failed with exit status 1
Normally, when enabling in configure the python module on linux, it also
enables the building of PIC libraries. That is why in the setup.py file
you will find the following lines :

if os.sys.platform in ('win32', 'darwin'):
    # Do not use PIC version on win32 and Mac OS X
    vlclib=os.path.join( top_builddir, 'src', 'libvlc.a' )
    picflag=''
else:
    vlclib=os.path.join( top_builddir, 'src', 'libvlc_pic.a' )
    picflag='pic'

Maybe, for some reason (maybe some things changed recently, will have to
check this), PIC libraries were not built. Two solutions :
- modify the setup.py to remove the references to PIC libraries
- ensure that PIC libraries are built

Olivier


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list