Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vấn đề khi cài telepathy-gabble "unknown type name 'EC_KEY'"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Languages
View previous topic :: View next topic  
Author Message
bdien
n00b
n00b


Joined: 01 Oct 2012
Posts: 18

PostPosted: Tue Mar 26, 2013 10:48 am    Post subject: Vấn đề khi cài telepathy-gabble "unknown type name 'EC_ Reply with quote

Khi đang nâng cấp hệ thống với dòng lệnh:
Code:
emerge --update --deep --with-bdeps=y --newuse world --autounmask-write

Quote:
wocky-openssl.c: In function 'set_ecdh_key':
wocky-openssl.c:1680:3: error: unknown type name 'EC_KEY'
wocky-openssl.c:1680:3: warning: implicit declaration of function 'EC_KEY_new_by_curve_name' [-Wimplicit-function-declaration]
wocky-openssl.c:1680:3: warning: nested extern declaration of 'EC_KEY_new_by_curve_name' [-Wnested-externs]
wocky-openssl.c:1680:18: warning: initialization makes pointer from integer without a cast [enabled by default]
wocky-openssl.c:1687:3: warning: implicit declaration of function 'EC_KEY_free' [-Wimplicit-function-declaration]
wocky-openssl.c:1687:3: warning: nested extern declaration of 'EC_KEY_free' [-Wnested-externs]
make[8]: *** [wocky-openssl.lo] Error 1
make[8]: *** Waiting for unfinished jobs....
libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare -Wnested-externs -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"wocky\" -DWOCKY_COMPILATION -pipe -O1 -march=core2 -msse4.2 -c wocky-data-form-enumtypes.c -fPIC -DPIC -o .libs/wocky-data-form-enumtypes.o
make[8]: Leaving directory `/var/tmp/portage/net-voip/telepathy-gabble-0.16.4/work/telepathy-gabble-0.16.4/lib/ext/wocky/wocky'
make[7]: *** [all] Error 2

thông tin
Code:
emerge --info '=net-voip/telepathy-gabble-0.16.4'

Quote:
Portage 2.1.11.58 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.16.0, 3.8.2-r2 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.8.2-r2-x86_64-Intel-R-_Core-TM-_i3_CPU_M_330_@_2.13GHz-with-gentoo-2.2
KiB Mem: 3844672 total, 2621984 free
KiB Swap: 2867196 total, 2867196 free
Timestamp of tree: Sat, 23 Mar 2013 02:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.3-r3, 3.2.3-r2
dev-util/cmake: 2.8.10.2-r1
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.5.4, 4.6.3
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc: 2.16.0
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O1 -march=core2 -msse4.2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-pipe -O1 -march=core2 -msse4.2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.twaren.net/Linux/Gentoo/ http://ftp.daum.net/gentoo/ http://gentoo.mirrors.hoobly.com/ http://ftp.lecl.net/pub/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="Broadcom Intel-SDP X a52 aac acl acpi alsa amd64 autoipd berkdb binary bindist bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dconf dmx dri dts dvd dvdr eds emboss encode evo exif fam fbdev ffmpeg firefox flac fortran g3dvl gd gdbm gif gmail gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 hscolour iconv icu introspection ipv6 jabber jpeg lcms ldap libnotify mad minizip mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds profile pulseaudio python qt4 readline sdl session socialweb spell sse sse2 sse3 sse4.2 ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vala vorbis wxwidgets x264 xcb xml xv xvid xvmc yahoo zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="uvesafb intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
Package Settings
=================================================================

net-voip/telepathy-gabble-0.16.4 was built with the following:
USE="jingle (multilib) -test"

Environment:
http://pastebin.com/yjh1ndTM
Hi vọng các bạn giúp mình!
Back to top
View user's profile Send private message
Bryton
n00b
n00b


Joined: 26 Mar 2013
Posts: 3

PostPosted: Tue Mar 26, 2013 2:13 pm    Post subject: enable gnutls Reply with quote

I found there is a README file over there, and its requirements are:

telepathy-gabble requires:
telepathy-glib <http://telepathy.freedesktop.org/releases/telepathy-glib/>
GLib, GObject <http://ftp.gnome.org/pub/GNOME/sources/glib/>
libdbus <http://dbus.freedesktop.org/releases/dbus/>
The D-Bus GLib bindings <http://dbus.freedesktop.org/releases/dbus-glib/>
libxml2 <http://xmlsoft.org/>
libnice <http://nice.freedesktop.org/releases/>
libsoup <http://ftp.gnome.org/pub/GNOME/sources/libsoup/>

and either:
GNUTLS <http://www.gnu.org/software/gnutls/>
or
OpenSSL <http://www.openssl.org/>


So I just enable guntls in /etc/portage/make.conf and reemerge it. Looks good to me.
Code:
euse -E guntls
emerge -av telepathy-gabble

_________________
sorry for my English, my English is poor!
Back to top
View user's profile Send private message
bdien
n00b
n00b


Joined: 01 Oct 2012
Posts: 18

PostPosted: Tue Mar 26, 2013 11:50 pm    Post subject: Reply with quote

Thank Bryton very much!
My problem was solved with the command:
Code:
euse -p net-voip/telepathy-gabble -E gnutls

system continues to upgrade ... :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Languages All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum