Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59469 - libdnet-1.8 not installing python module
Summary: libdnet-1.8 not installing python module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-04 17:04 UTC by Sean Bobb
Modified: 2004-08-05 16:34 UTC (History)
0 users

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


Attachments
output from ACCEPT_KEYWORDS="~x86" emerge libdnet -a (install-libdnet-1.8.txt,30.00 KB, text/plain)
2004-08-04 17:05 UTC, Sean Bobb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Bobb 2004-08-04 17:04:29 UTC
libdnet-1.8 installed the main library successfully, but I was specifically interested in using the python module which comes with this version. The emerge output shows that after entering the python directory nothing is built, and when the package is installed, dnet.so is not installed to /usr/lib/python2.3/site-packages.
I tried to build the module myself, but when I try to import dnet in a python shell I get the following error:
Python 2.3.3 (#1, Jul 26 2004, 12:10:29)
[GCC 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dnet
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: /usr/lib/python2.3/site-packages/dnet.so: undefined symbol: intf_get
>>>


Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge libdnet
emerge (1 of 1) dev-libs/libdnet-1.8 to /
2. 
3.

Actual Results:  
The package installed successfully, but without the included python module.

Expected Results:  
It should build and install the included python module, or at least offer some
advice as to how to install the python module manually.

# emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp2.tnc.edu.tw/pub1/Gentoo/
http://ftp.isu.edu.tw/pub/Linux/Gentoo http://mirror.averse.net/pub/gentoo/
ftp://ftp.isu.edu.tw/pub/Linux/Gentoo
http://www.zentek-international.com/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb
gdbm gif gpm gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif
mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl php png
ppds python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd
truetype wxwindows x86 xml2 xmms xv zlib"
Comment 1 Sean Bobb 2004-08-04 17:05:47 UTC
Created attachment 36783 [details]
output from ACCEPT_KEYWORDS="~x86" emerge libdnet -a
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2004-08-05 13:10:13 UTC
I've added a -r1 to the tree.  Please try it out with USE=python set.  I've tested it on my local computer and python -c "import dnet" works fine.
Comment 3 Sean Bobb 2004-08-05 16:34:02 UTC
I've just installed and tested it; it is working now.

Thank you.