Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DDD and Xemacs fail to emerge?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Tue Sep 21, 2004 10:32 am    Post subject: DDD and Xemacs fail to emerge? Reply with quote

Heya,

I used to have ddd and xemacs installed. Ever since the last portage update I have trouble keeping the system clean and consistent; especially those two packages are troublesome. So I unmerged both, updated and revdep'ed the system and everything is now clean and (hopefully) consistent.

However, when I try to emerge ddd or xemacs now, this fails. For xemacs configure breaks with this error message

Code:
...
checking for database support
checking for ndbm.h... yes
checking for dbm_open in -lgdbm... no
checking for dbm_open in -lgdbm_compat using extra libs -lgdbm... no
Error: Required GNU DBM support cannot be provided.

!!! ERROR: app-editors/xemacs-21.4.15-r2 failed.
!!! Function src_compile, Line 164, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


and with ddd I get this during configure

Code:
...
checking for Motif... libraries (none), headers (none)
...
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking xpm.h usability... no
checking xpm.h presence... no
checking for xpm.h... no
checking for XawTextSetInsertionPoint in -lXaw... yes
checking for X11/Xaw/Form.h... yes
checking for X11/Xaw/Panner.h... yes
checking for X11/Xaw/Porthole.h... yes
checking for X11/Xmu/Editres.h... yes
configure: error: The Motif include file 'Xm/Xm.h' could not be found.
                  Please use the configure options '--with-motif-includes=DIR'
                  and '--with-motif-libraries=DIR' to specify the Xm location.
                  See the files 'config.log' and 'ddd/config.log'
                  for further diagnostics.

!!! ERROR: dev-util/ddd-3.3.9 failed.
!!! Function econf, Line 441, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Interestingly, both gdbm (for xemacs) and openmotif (for ddd) are installed. I even emerged them anew. Setting/unsetting the USE flags "gdbm" or "motif" doesn't have any effect either.

So how can I fix that? Are the packages broken, or is that a problem on my box?

EDIT: I had a look at the respective config.log files. The ddd log simply stops in the middle of its confdefs.h section

Code:
...
#define VERSION "3.3.9"
#define YYTEXT_POINTER 1
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1


and the xemacs log gives me this

Code:
...
configure:14148: checking for dbm_open in -lgdbm_compat using extra libs -lgdbm
configure:14164: gcc -o conftest   -O2 -mcpu=7450 -mtune=7450 -maltivec -mabi=al
tivec -pipe -fomit-frame-pointer -fno-strict-aliasing       -I/usr/X11R6/include
        -L/usr/X11R6/lib  conftest.c   -lgdbm_compat -lgdbm  -lXm -lpng -ljpeg -
lz -lXpm -lXmu -lXt -lXext -lX11   -lSM -lICE -lgpm -lncurses -lm     1>&5
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.1/../../../../powerpc-unknown-linux-g
nu/bin/ld: cannot find -lXm
collect2: ld returned 1 exit status
configure: failed program was:
#line 14153 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dbm_open();

int main() {
dbm_open()
; return 0; }


So it can't find the Xm lib? Weird, because I just emerged openmotif. Hmm, now it's getting interesting...

Code:
savage@tigger ~ > ll /usr/X11R6/lib/libXm*
-rw-r--r--  1 root root 148942 Sep 19 02:21 /usr/X11R6/lib/libXmu.a
lrwxrwxrwx  1 root root     13 Sep 19 02:21 /usr/X11R6/lib/libXmu.so -> libXmu.so.6.2
lrwxrwxrwx  1 root root     13 Sep 19 02:21 /usr/X11R6/lib/libXmu.so.6 -> libXmu.so.6.2
-rwxr-xr-x  1 root root 116380 Sep 19 02:21 /usr/X11R6/lib/libXmu.so.6.2
-rw-r--r--  1 root root  13560 Sep 19 02:21 /usr/X11R6/lib/libXmuu.a
lrwxrwxrwx  1 root root     14 Sep 19 02:21 /usr/X11R6/lib/libXmuu.so -> libXmuu.so.1.0
lrwxrwxrwx  1 root root     14 Sep 19 02:21 /usr/X11R6/lib/libXmuu.so.1 -> libXmuu.so.1.0
-rwxr-xr-x  1 root root  22366 Sep 19 02:21 /usr/X11R6/lib/libXmuu.so.1.0


But there is no Xm lib? Where did it go?

Thanks heaps,
Jens
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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