Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418333 - net-proxy/nylon-1.21: configure: error: libevent not found
Summary: net-proxy/nylon-1.21: configure: error: libevent not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-31 07:08 UTC by Yishen Miao (mys_721tx)
Modified: 2013-05-30 21:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
complete build.log (build.log,5.38 KB, text/plain)
2012-05-31 07:09 UTC, Yishen Miao (mys_721tx)
Details
config.log (config.log,31.86 KB, text/plain)
2012-05-31 07:09 UTC, Yishen Miao (mys_721tx)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yishen Miao (mys_721tx) 2012-05-31 07:08:31 UTC
econf cannot find libevent which is actually installed.

Reproducible: Always

Steps to Reproduce:
1. emerge "=dev-libs/libevent-2.0.19"
2. emerge "=net-proxy/nylon-1.21"
Actual Results:  
configure: error: libevent not found

Expected Results:  
econf finds libevent

Portage 2.2.01.20430-prefix (prefix/darwin/macos/10.7/x64, gcc-4.2.1, unavailable, 11.4.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-11.4.0-x86_64-i386-64bit
Timestamp of tree: Wed, 30 May 2012 22:51:39 +0000
app-shells/bash:      4.2_p28::gentoo_prefix
dev-java/java-config: 2.1.11-r3::gentoo_prefix
dev-lang/python:      2.7.3-r2::gentoo_prefix
dev-util/pkgconfig:   0.26::gentoo_prefix
sys-devel/autoconf:   2.69::gentoo_prefix
sys-devel/automake:   1.11.5::gentoo_prefix
sys-devel/gcc-config: 1.5-r2::gentoo_prefix
sys-devel/libtool:    2.4.2::gentoo_prefix
sys-devel/make:       3.82::gentoo_prefix
Repositories: gentoo_prefix my_local_overlay
Installed sets: 
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin11"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-apple-darwin11"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/Users/mys_721tx/Gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j3"
PKGDIR="/Users/mys_721tx/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/mys_721tx/Gentoo/"
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="/Users/mys_721tx/Gentoo/var/tmp"
PORTDIR="/Users/mys_721tx/Gentoo/usr/portage"
PORTDIR_OVERLAY="/Users/mys_721tx/Gentoo/usr/local/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X aqua bash-completion bzip2 cairo coreaudio cracklib crypt cxx fortran iconv ipv6 java jpeg lapack lua mmx mmxext modules ncurses nls objc objc++ opengl openmp png prefix python readline socks5 sse sse2 ssl svg threads unicode x64-macos zlib" APACHE2_MODULES="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="Darwin" 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="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Yishen Miao (mys_721tx) 2012-05-31 07:09:20 UTC
Created attachment 313673 [details]
complete build.log
Comment 2 Yishen Miao (mys_721tx) 2012-05-31 07:09:42 UTC
Created attachment 313675 [details]
config.log
Comment 3 Yishen Miao (mys_721tx) 2012-05-31 07:26:21 UTC
$ equery f libevent
 * Searching for libevent ...
 * Contents of dev-libs/libevent-2.0.19:
/Users/mys_721tx/Gentoo/usr
/Users/mys_721tx/Gentoo/usr/bin
/Users/mys_721tx/Gentoo/usr/bin/event_rpcgen.py
/Users/mys_721tx/Gentoo/usr/include
/Users/mys_721tx/Gentoo/usr/include/evdns.h
/Users/mys_721tx/Gentoo/usr/include/event.h
/Users/mys_721tx/Gentoo/usr/include/event2
/Users/mys_721tx/Gentoo/usr/include/event2/buffer.h
/Users/mys_721tx/Gentoo/usr/include/event2/buffer_compat.h
/Users/mys_721tx/Gentoo/usr/include/event2/bufferevent.h
/Users/mys_721tx/Gentoo/usr/include/event2/bufferevent_compat.h
/Users/mys_721tx/Gentoo/usr/include/event2/bufferevent_ssl.h
/Users/mys_721tx/Gentoo/usr/include/event2/bufferevent_struct.h
/Users/mys_721tx/Gentoo/usr/include/event2/dns.h
/Users/mys_721tx/Gentoo/usr/include/event2/dns_compat.h
/Users/mys_721tx/Gentoo/usr/include/event2/dns_struct.h
/Users/mys_721tx/Gentoo/usr/include/event2/event-config.h
/Users/mys_721tx/Gentoo/usr/include/event2/event.h
/Users/mys_721tx/Gentoo/usr/include/event2/event_compat.h
/Users/mys_721tx/Gentoo/usr/include/event2/event_struct.h
/Users/mys_721tx/Gentoo/usr/include/event2/http.h
/Users/mys_721tx/Gentoo/usr/include/event2/http_compat.h
/Users/mys_721tx/Gentoo/usr/include/event2/http_struct.h
/Users/mys_721tx/Gentoo/usr/include/event2/keyvalq_struct.h
/Users/mys_721tx/Gentoo/usr/include/event2/listener.h
/Users/mys_721tx/Gentoo/usr/include/event2/rpc.h
/Users/mys_721tx/Gentoo/usr/include/event2/rpc_compat.h
/Users/mys_721tx/Gentoo/usr/include/event2/rpc_struct.h
/Users/mys_721tx/Gentoo/usr/include/event2/tag.h
/Users/mys_721tx/Gentoo/usr/include/event2/tag_compat.h
/Users/mys_721tx/Gentoo/usr/include/event2/thread.h
/Users/mys_721tx/Gentoo/usr/include/event2/util.h
/Users/mys_721tx/Gentoo/usr/include/evhttp.h
/Users/mys_721tx/Gentoo/usr/include/evrpc.h
/Users/mys_721tx/Gentoo/usr/include/evutil.h
/Users/mys_721tx/Gentoo/usr/lib
/Users/mys_721tx/Gentoo/usr/lib/libevent-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent-2.0.5.dylib -> libevent-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent.dylib -> libevent-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent.la
/Users/mys_721tx/Gentoo/usr/lib/libevent_core-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_core-2.0.5.dylib -> libevent_core-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_core.dylib -> libevent_core-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_core.la
/Users/mys_721tx/Gentoo/usr/lib/libevent_extra-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_extra-2.0.5.dylib -> libevent_extra-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_extra.dylib -> libevent_extra-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_extra.la
/Users/mys_721tx/Gentoo/usr/lib/libevent_openssl-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_openssl-2.0.5.dylib -> libevent_openssl-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_openssl.dylib -> libevent_openssl-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_openssl.la
/Users/mys_721tx/Gentoo/usr/lib/libevent_pthreads-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_pthreads-2.0.5.dylib -> libevent_pthreads-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_pthreads.dylib -> libevent_pthreads-2.0.5.1.7.dylib
/Users/mys_721tx/Gentoo/usr/lib/libevent_pthreads.la
/Users/mys_721tx/Gentoo/usr/lib/pkgconfig
/Users/mys_721tx/Gentoo/usr/lib/pkgconfig/libevent.pc
/Users/mys_721tx/Gentoo/usr/lib/pkgconfig/libevent_openssl.pc
/Users/mys_721tx/Gentoo/usr/lib/pkgconfig/libevent_pthreads.pc
/Users/mys_721tx/Gentoo/usr/share
/Users/mys_721tx/Gentoo/usr/share/doc
/Users/mys_721tx/Gentoo/usr/share/doc/libevent-2.0.19
/Users/mys_721tx/Gentoo/usr/share/doc/libevent-2.0.19/ChangeLog.bz2
/Users/mys_721tx/Gentoo/usr/share/doc/libevent-2.0.19/README.bz2

Looks like there is no file named "libevent.a".
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-09 21:20:43 UTC
I'm not even sure this is a prefix problem. Apparently the configure script checks for libevent.a, which hasn't been installed by default since somewhere in 2010.

I patched nylon up a bit to use pkgconfig instead of relying on arbitrary files being found, so please give =net-proxy/nylon-1.21-r1 a spin.
Comment 5 Yishen Miao (mys_721tx) 2013-05-30 21:01:49 UTC
Sorry abut replaying so late. "=net-proxy/nylon-1.21-r1" does not have the problem anymore.