bonsoir,
J'ai réessayé avec les sources car les rpms n'ont pas marché avec moi.
Le ./configure semble bien se passer malgré qq warnings
configure: WARNING: unrecognized options: --enable-external-libmad, --enable-external-libvorbis, --enable-external-libmpcdec, --enable-external-libflac
------------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
OpenGL: Yes
VDPAU: No
Joystick: Yes
XRandR: Yes
GOOM: No
PCRE Support: Yes
MID Support: No
ccache: Yes
PulseAudio: Yes
FAAC: Yes
DVDCSS: Yes
Avahi: Yes
Non-free: Yes
External Libraries: No
External FFmpeg: No
External liba52: Yes
External libdts: No
External libmpeg2: Yes
External libass: Yes
External libogg: Yes
External libwavpack: Yes
External Python: Yes
prefix: /opt/xbmc
Par contre j'ai un problème avec mysql
xbmc/lib/libcmyth/libcmyth.a(mysql_query.o): In function `cmyth_mysql_query':
/home/renaud/xbmc/xbmc/lib/libcmyth/mysql_query.c:363: undefined reference to `mysql_query'
/home/renaud/xbmc/xbmc/lib/libcmyth/mysql_query.c:367: undefined reference to `mysql_error'
xbmc/lib/libcmyth/libcmyth.a(mysql_query.o): In function `cmyth_mysql_query_result':
/home/renaud/xbmc/xbmc/lib/libcmyth/mysql_query.c:335: undefined reference to `mysql_query'
/home/renaud/xbmc/xbmc/lib/libcmyth/mysql_query.c:343: undefined reference to `mysql_store_result'
/home/renaud/xbmc/xbmc/lib/libcmyth/mysql_query.c:346: undefined reference to `mysql_error'
/home/renaud/xbmc/xbmc/lib/libcmyth/mysql_query.c:339: undefined reference to `mysql_error'
xbmc/lib/libcmyth/libcmyth.a(mysql_query.o): In function `query_buffer_add_escape_str':
/home/renaud/xbmc/xbmc/lib/libcmyth/mysql_query.c:163: undefined reference to `mysql_real_escape_string'
xbmc/lib/libcmyth/libcmyth.a(mythtv_mysql.o): In function `cmyth_get_bookmark_offset':
/home/renaud/xbmc/xbmc/lib/libcmyth/mythtv_mysql.c:718: undefined reference to `mysql_fetch_row'
/home/renaud/xbmc/xbmc/lib/libcmyth/mythtv_mysql.c:718: undefined reference to `mysql_fetch_row'
/home/renaud/xbmc/xbmc/lib/libcmyth/mythtv_mysql.c:722: undefined reference to `mysql_free_result'
xbmc/lib/libcmyth/libcmyth.a(mythtv_mysql.o): In function `cmyth_mysql_get_chanlist':
/home/renaud/xbmc/xbmc/lib/libcmyth/mythtv_mysql.c:1128: undefined reference to `mysql_num_rows'
/home/renaud/xbmc/xbmc/lib/libcmyth/mythtv_mysql.c:1139: undefined reference to `mysql_fetch_row'
....
...
/home/renaud/xbmc/xbmc/lib/libcmyth/mythtv_mysql.c:603: undefined reference to `mysql_query'
/home/renaud/xbmc/xbmc/lib/libcmyth/mythtv_mysql.c:609: undefined reference to `mysql_store_result'
/home/renaud/xbmc/xbmc/lib/libcmyth/mythtv_mysql.c:611: undefined reference to `mysql_fetch_row'
/home/renaud/xbmc/xbmc/lib/libcmyth/mythtv_mysql.c:640: undefined reference to `mysql_free_result'
/home/renaud/xbmc/xbmc/lib/libcmyth/mythtv_mysql.c:604: undefined reference to `mysql_error'
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1
C'est bizzard j'ai pourtant bien mysql-devel d'installé et j'ai refait la commande sed suivi de autoreconf indiqué par Pikachu_2014
ce lien symbolique est au mieux une hérésie, au pire une connerie.
Je te suggère plutôt la correction suivante : lance simplement dans le répertoire de tes sources la commandes suivante :
Code:
sed -i -e "s|AC_CHECK_LIB([mysqlclient].*|MYSQL_CLIENT([5.0.0], [client])|' configure.in
suivi de
Code:
autoreconf
[root@RIO xbmc]# yum info mysql-devel
Loaded plugins: dellsysidplugin2, refresh-packagekit
Installed Packages
Name : mysql-devel
Arch : x86_64
Version : 5.1.39
Release : 4.fc12
Size : 9.3 M
Repo : installed
From repo : anaconda-InstallationRepo-200911081904.x86_64
Summary : Files for development of MySQL applications
URL : http://www.mysql.com
License : GPLv2 with exceptions
Description: MySQL is a multi-user, multi-threaded SQL database server. This
: package contains the libraries and header files that are needed for
: developing MySQL client applications.
Available Packages
Name : mysql-devel
Arch : i686
Version : 5.1.39
Release : 4.fc12
Size : 2.5 M
Repo : fedora
Summary : Files for development of MySQL applications
URL : http://www.mysql.com
License : GPLv2 with exceptions
Description: MySQL is a multi-user, multi-threaded SQL database server. This
: package contains the libraries and header files that are needed for
: developing MySQL client applications.
Vous pouvez m'aider SVP ?