xabertum / sopcast-player

Automatically exported from code.google.com/p/sopcast-player
0 stars 0 forks source link

sopcast-player wont compile on Arch linux #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When tring to compile v0.2.1 version (from AUR repository) on Archlinux
there is error:

install -p -m 0755 vlc_python_bindings/build/*/vlc.so
/tmp/yaourt-tmp-hoche/aur-sopcast-player/sopcast-player/pkg/usr/share/sopcast-pl
ayer/lib
install: cannot stat `vlc_python_bindings/build/*/vlc.so': No such file or
directory
make: *** [install-vlc] Error 1

(reported by AUR user, not me)

When tring to compile v0.3.0 version (with PKGBUILD made by myself) i get
error:

Compiling lib/ConfigurationManager.py ...
Compiling lib/DatabaseOperations.py ...
Compiling lib/FileDownload.py ...
Compiling lib/ImportChannelGuide.py ...
Compiling lib/VLCWidget.py ...
Compiling lib/dynamic_ports.py ...
Compiling lib/fork.py ...
Compiling lib/listen.py ...
Compiling lib/pySocket.py ...
Compiling lib/pySopCastConfigurationManager.py ...
Compiling lib/record.py ...
Compiling lib/sopcast-player.py ...
sed -e 's|@DATADIR@|/usr/share|g' -e 's|@NAME@|sopcast-player|g' -e
's|@PYTHON@|/usr/bin/python|g' -e
's|@INSTALLDIR@|/usr/share/sopcast-player|g' -e
's|@ICONDIR@|/usr/share/icons/hicolor/scalable/apps|g' -e 's|@DESTDIR@||g'
sopcast-player.in > sopcast-player
cd vlc_python_bindings; \
       CFLAGS="-march=nocona -O2 -pipe" /usr/bin/python -c 'import setuptools;
execfile("setup.py")' build; \
    cd ..
/usr/lib/python2.6/site-packages/Pyrex/Compiler/Errors.py:17:
DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
*** Warning *** Cannot find vlc-config
*** Warning *** Cannot find vlc-config
*** Warning *** Cannot find vlc-config
running build
running build_ext
building 'vlc' extension
gcc -pthread -DNDEBUG -march=i686 -mtune=generic -O2 -pipe -march=nocona
-O2 -pipe -fPIC -I../.. -I./../../include -I. -I/usr/win32/include
-I/usr/include/python2.6 -c ./vlc_module.c -o
build/temp.linux-i686-2.6/./vlc_module.o
./vlc_module.c: In function ‘initvlc’:
./vlc_module.c:154: error: ‘mediacontrol_ForwardStatus’ undeclared (first
use in this function)
./vlc_module.c:154: error: (Each undeclared identifier is reported only once
./vlc_module.c:154: error: for each function it appears in.)
./vlc_module.c:156: error: ‘mediacontrol_BackwardStatus’ undeclared (first
use in this function)
In file included from ./vlc_module.c:175:
./vlc_instance.c: In function ‘vlcInstance_new’:
./vlc_instance.c:101: warning: passing argument 2 of ‘libvlc_new’ from
incompatible pointer type
/usr/include/vlc/libvlc.h:140: note: expected ‘const char * const*’ but
argument is of type ‘char **’
./vlc_instance.c: In function ‘vlcInstance_video_set_parent’:
./vlc_instance.c:150: warning: ‘libvlc_video_set_parent’ is deprecated
(declared at /usr/include/vlc/deprecated.h:85)
./vlc_instance.c: In function ‘vlcInstance_video_get_parent’:
./vlc_instance.c:164: warning: ‘libvlc_video_get_parent’ is deprecated
(declared at /usr/include/vlc/deprecated.h:97)
./vlc_instance.c: In function ‘vlcInstance_video_set_size’:
./vlc_instance.c:181: warning: ‘libvlc_video_set_size’ is deprecated
(declared at /usr/include/vlc/deprecated.h:135)
./vlc_instance.c: In function ‘vlcInstance_vlm_add_broadcast’:
./vlc_instance.c:314: warning: passing argument 6 of
‘libvlc_vlm_add_broadcast’ from incompatible pointer type
/usr/include/vlc/libvlc_vlm.h:68: note: expected ‘const char * const*’ but
argument is of type ‘char **’
./vlc_instance.c: In function ‘vlcInstance_vlm_change_media’:
./vlc_instance.c:451: warning: passing argument 6 of
‘libvlc_vlm_change_media’ from incompatible pointer type
/usr/include/vlc/libvlc_vlm.h:187: note: expected ‘const char * const*’ but
argument is of type ‘char **’
./vlc_instance.c: At top level:
./vlc_instance.c:594: warning: initialization from incompatible pointer type
./vlc_instance.c:608: warning: initialization from incompatible pointer type
In file included from ./vlc_module.c:176:
./vlc_mediaplayer.c: In function ‘vlcMediaPlayer_video_resize’:
./vlc_mediaplayer.c:357: warning: ‘libvlc_video_resize’ is deprecated
(declared at /usr/include/vlc/deprecated.h:114)
./vlc_mediaplayer.c: In function ‘vlcMediaPlayer_video_reparent’:
./vlc_mediaplayer.c:374: warning: ‘libvlc_video_reparent’ is deprecated
(declared at /usr/include/vlc/deprecated.h:102)
./vlc_mediaplayer.c: In function ‘vlcMediaPlayer_set_drawable’:
./vlc_mediaplayer.c:447: warning: ‘libvlc_media_player_set_drawable’ is
deprecated (declared at /usr/include/vlc/deprecated.h:61)
error: command 'gcc' failed with exit status 1

Original issue reported on code.google.com by dinth1...@gmail.com on 19 Jul 2009 at 1:29

GoogleCodeExporter commented 8 years ago
you should be using the old tar ball from somewhere. so, just get the latest svn
version and recompile everything will be solved.

svn co http://sopcast-player.googlecode.com/svn/trunk/ sopcast-player

Original comment by jinc...@hotmail.com on 18 Aug 2009 at 8:18

GoogleCodeExporter commented 8 years ago
@dinth: Does this solve your problem?

@jincool: Thank you for stepping in on this, it has been a while since I 
visited this
page, cheers!

Original comment by flyguy97 on 22 Aug 2009 at 10:52

GoogleCodeExporter commented 8 years ago
No response from original author of ticket. Closing due to inactivity.

Original comment by flyguy97 on 2 Nov 2009 at 2:03