Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(g)dbm failures(And no gdm isn't a shortened curse)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
ShadowHawkBV
Guru
Guru


Joined: 27 Mar 2004
Posts: 352

PostPosted: Wed Aug 04, 2004 4:40 pm    Post subject: (g)dbm failures(And no gdm isn't a shortened curse) Reply with quote

I've surfed the bugs.gentoo boards, and these boards for answers, but so far nothing seems to work. xemacs fails with a dbm error:
Code:
checking for ndbm.h... yes
checking for dbm_open in -lgdbm... no
Error: Required GNU DBM support cannot be provided.
 
!!! ERROR: app-editors/xemacs-21.4.12 failed.
!!! Function src_compile, Line 157, Exitcode 1
!!! (no error message)


latex2html also fails with a dbm error
Code:
checking perl version... 5.008004
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/5.8.4/x86_64-linux/auto/NDBM_File/NDBM_File.so: undefined symbol: dbm_open
 
!!! ERROR: dev-tex/latex2html-2002.2 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed

I've tried the revdep-rebuild fix, reemerge glibc, reemerge gdbm, even emerge -e world; all with no luck.. Anyone have any ideas?


My #emerge info is:
Code:
Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 x86_64 15
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer"
CHOST="x86_64-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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://gentoo.risq.qc.ca/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/ ftp://gentoo.agsn.ca/ ftp://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi adns alsa amd64 apm arts audiofile avi berkdb bidi bindist bonobo cdr crypt cups curl dga divx4linus doc durectfb dvd dvdr emacs emacs-w3 encode esd foomaticdb foomaticsdb gdbm gif gmp gnome gphoto2 gpm gpn gstreamer gtk gtk2 gtkhtml imagemagick imap imlib java jikes jpeg kerberos krb4 ldap libg++ libwww mikmod motif mozilla mpeg mysql ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl pic png python quicktime readline ruby samba scanner sdl slang snmp socks5 spell ssl tcltk tcpd tetex tiff truetype unicode usb vhosts x xml xml2 xmms xv zlib"

_________________
This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.

Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration :-)
Back to top
View user's profile Send private message
robnotts
Guru
Guru


Joined: 15 Mar 2004
Posts: 405
Location: Nottingham, UK

PostPosted: Wed Aug 04, 2004 11:19 pm    Post subject: Reply with quote

To get something else working again (apache)... I deleted the libgdbm.so.2 file from the libs directory, then emerged libgdm and apache again... all working nice and dandy now...

Could be worth a try?
_________________
---

Gentoo Phenom][ X4 955 on AMD790 + Geforce 220GT 8GB/1.75TB (Desktop)
+ MythTV (3xFreeview,1xFreesat HD) on 1080p
Gentoo Turion64 X2 Geforce 6150 2GB/120GB (Laptop)
Back to top
View user's profile Send private message
ShadowHawkBV
Guru
Guru


Joined: 27 Mar 2004
Posts: 352

PostPosted: Thu Aug 05, 2004 11:51 am    Post subject: Reply with quote

Where are you getting the libgdm from? All of the *dbm availiable to my system are:

Code:
emerge -s dbm
Searching...
[ Results for search key : dbm ]
[ Applications found : 6 ]
 
*  dev-db/qdbm
      Latest version available: 1.8.13
      Latest version installed: 1.8.13
      Size of downloaded files: 787 kB
      Homepage:    http://qdbm.sf.net/
      Description: Quick Database Manager
      License:     LGPL-2.1
 
*  dev-perl/MLDBM
      Latest version available: 2.01
      Latest version installed: 2.01
      Size of downloaded files: 9 kB
      Homepage:    http://cpan.valueclick.com/modules/by-authors/id/C/CH/CHAMAS/MLDBM-2.01.readme
      Description: A multidimensional/tied hash Perl Module
      License:     Artistic
 
*  dev-scheme/gauche-qdbm [ Masked ]
      Latest version available: 0.2
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 71 kB
      Homepage:    http://sourceforge.jp/projects/gauche/
      Description: QDBM binding for Gauche
      License:     BSD
 
*  media-libs/libdbmusic [ Masked ]
      Latest version available: 0.7.0
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 194 kB
      Homepage:    http://kmusicdb.sourceforge.net/
      Description: libmusicdb is a wrapper library allowing you to interface a libdbmusic database to any program.
      License:     GPL-2
 
*  media-sound/DBMix [ Masked ]
      Latest version available: 0.9.8
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 292 kB
      Homepage:    http://dbmix.sourceforge.net
      Description: Mix several xmms and other sound streams like a DJ
      License:     GPL-2
 
*  sys-libs/gdbm
      Latest version available: 1.8.3-r1
      Latest version installed: 1.8.3-r1
      Size of downloaded files: 223 kB
      Homepage:    http://www.gnu.org/software/gdbm/gdbm.html
      Description: Standard GNU database libraries included for compatibility with Perl
      License:     GPL-2


Unless I'm missreading the descriptions, I have all of the ones not related to music or schemes (gauche) installed.

Any advice would be welcomed
_________________
This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.

Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration :-)
Back to top
View user's profile Send private message
ShadowHawkBV
Guru
Guru


Joined: 27 Mar 2004
Posts: 352

PostPosted: Thu Aug 05, 2004 6:12 pm    Post subject: Reply with quote

So there I was blankly watching perl re-emerge for the umpteenth time. As I was wathing I noticed some errors about missing files flying by. What really caught my eye was the NDBM and unnamed symbol: dbm_open. Seems that dev-lang/perl-5.8.4 is broken on the AMD64.
Updating to the unstable perl-5.8.4-r1 appears to be fixing that glitch. At least no errors about missing dbm showing.

It does jack for the error in xemacs, but solved the error in latex2html
_________________
This space for rent... Well maybe to give away.. Heck.. i'll pay you to take it.

Lost Linux Neophyte
Intel i7-1065G7
Intel i7-8565U
Intel Atom Cherry Trail
AMD Phenom(tm) II X4 955
Pure 64bit frustration :-)
Back to top
View user's profile Send private message
franzb
n00b
n00b


Joined: 16 Jul 2004
Posts: 32
Location: Italy

PostPosted: Wed Aug 11, 2004 6:59 am    Post subject: Reply with quote

got the same error emerging xemacs.

for me it works to toggle the USE-flag berkdb:

USE="$USE -berkdb" emerge xemacs

Franz
Back to top
View user's profile Send private message
Duki
n00b
n00b


Joined: 20 Nov 2005
Posts: 24
Location: Germany

PostPosted: Fri Dec 02, 2005 8:10 pm    Post subject: Reply with quote

Thanks that worked for me too!

I would suggest also adding the following line to /etc/portage/package.use
Code:
app-editors/xemacs -berkdb

in case you emerge it again. I also tried adding this line first and then doing
Code:
emerge xemacs

which worked for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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