Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16913 - DDD 3.3.1-r3 emerge fails because of Motif libraries not found
Summary: DDD 3.3.1-r3 emerge fails because of Motif libraries not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-05 14:49 UTC by Mario Scalas
Modified: 2003-09-29 11:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Scalas 2003-03-05 14:49:45 UTC
I did try emerging display data debugger 3.3.1 but it fails complaining about motif 
libraries being not installed: 
 
<snip> 
checking for gethostbyname... yes 
checking for regcmp... no 
checking for regcmp in -lgen... no 
checking for yyerror in -ly... no 
checking for sin in -lm... yes 
checking for open in -lc... yes 
checking for elf_version in -lelf... no 
checking for tgetent in -lmytinfo... (cached) no 
checking for tgetent in -lncurses... (cached) yes 
checking for xstrerror in -liberty... (cached) yes 
checking for streampos... no 
checking for ios::iostate... no 
checking whether the C++ compiler (g++) accepts -fpermissive... (cached) yes 
checking for X... libraries /usr/X11R6/lib, headers 
checking for dnet_ntoa in -ldnet... no 
checking for dnet_ntoa in -ldnet_stub... no 
checking for gethostbyname... (cached) yes 
checking for connect... (cached) yes 
checking for remove... yes 
checking for shmat... yes 
checking for IceConnectionNumber in -lICE... yes 
checking for Motif... libraries (none), headers in default path 
checking for Athena... libraries in default path, headers in default path 
checking for Xpm... libraries in default path, headers in default path 
checking whether compiling X headers requires -fpermissive... no 
checking for XOpenDisplay in -lX11... yes 
checking for _Xlcmbcurmax in -lXintl... no 
checking for shmap in -lipc... no 
checking for XtToolkitInitialize in -lXt... yes 
checking for XShapeQueryVersion in -lXext... yes 
checking for XpmCreatePixmapFromXpmImage in -lXpm... yes 
checking for X11/xpm.h... yes 
checking for xpm.h... no 
checking for XmuCvtStringToOrientation in -lXmu... yes 
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 library '-lXm' 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. 
configure: error: ./configure failed for ddd 
 
But I'm sure I have them ;) 
 
bash-2.05b# qpkg -l motif | grep libXm 
/usr/X11R6/lib/libXm.a 
/usr/X11R6/lib/libXm.so.3.0.1 
/usr/X11R6/lib/libXm.la 
/usr/X11R6/lib/libXm.so -> libXm.so.3.0.1 
/usr/X11R6/lib/libXm.so.3 -> libXm.so.3.0.1 
 
bash-2.05b# emerge -s motif 
Searching... 
[ Results for search key : motif ] 
[ Applications found : 1 ] 
 
*  x11-libs/openmotif 
      Latest version available: 2.2.2-r1 
      Latest version installed: 2.2.2-r1 
      Size of downloaded files: 7,852 kB 
      Homepage:    http://www.motifzone.org/ 
      Description: Open Motif 
 
and the libraries are in my /etc/ld.so.conf: 
 
bash-2.05b# cat /etc/ld.so.conf 
# ld.so.conf autogenerated by env-update; make all changes to 
# contents of /etc/env.d directory 
/usr/local/lib 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2 
/opt/intel/compiler70/ia32/lib 
/usr/lib/opengl/nvidia/lib 
/usr/X11R6/lib 
/opt/sun-jdk-1.4.1.01/jre/lib/ 
/usr/qt/3/lib 
/usr/kde/3.1/lib 
/usr/lib/fltk-1.1
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2003-03-05 18:37:31 UTC
can you append the output of "emerge info" please
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2003-03-05 18:38:37 UTC
waiting no more info
Comment 3 Mario Scalas 2003-03-06 01:28:48 UTC
Ops, here it is: 
 
 
xamel root # emerge info 
Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2) 
================================================================= 
System uname: 2.4.21-pre5-gss i686 Pentium III (Coppermine) 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /opt/jakarta/tomcat/conf /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 3dnow apm crypt libg++ mikmod quicktime spell xmms xv zlib gdbm berkdb slang tetex 
svga gpm tcpd esd imlib gtk qt motif cdr X qtmt kde arts cups pam fbcon samba readline ncurses 
libwww pdflib ssl xml2 perl python pic mysql gif jpeg png scanner tiff truetype java junit acpi alsa 
oss mmx sse avi dga dvd encode opengl mpeg oggvorbis sdl icc icc-gpo -nls -gnome" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O2 -pipe" 
CXXFLAGS="-march=pentium3 -O2 -pipe" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j3" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
 
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2003-03-07 01:46:40 UTC
mmm i can't reproduce this. but i see configure suggests examining these:

    config.log
    ddd/config.log

Could you append those as attachments to this bug please?
Comment 5 Mario Scalas 2003-03-07 15:04:43 UTC
Ops again: it seems it cannot find -lmytinfo ... hmmm ... 
 
xamel ddd-3.3.1 # cat config.log 
This file contains any messages produced by compilers while 
running configure, to aid debugging if configure makes a mistake. 
 
configure:703: checking host system type 
configure:724: checking target system type 
configure:742: checking build system type 
configure:826: checking for product name 
configure:836: checking for expiration date 
configure:855: checking for a BSD compatible install 
configure:908: checking whether build environment is sane 
configure:946: checking whether make sets ${MAKE} 
configure:992: checking for working aclocal 
configure:1005: checking for working autoconf 
configure:1018: checking for working automake 
configure:1031: checking for working autoheader 
configure:1044: checking for working makeinfo 
configure:1058: checking whether make sets ${MAKE} 
configure:1087: checking for gcc 
configure:1200: checking whether the C compiler (gcc -march=pentium3 -O2 -pipe ) works 
configure:1216: gcc -o conftest -march=pentium3 -O2 -pipe   conftest.c  1>&5 
configure:1242: checking whether the C compiler (gcc -march=pentium3 -O2 -pipe ) is a 
cross-compiler 
configure:1247: checking whether we are using GNU C 
configure:1256: gcc -E conftest.c 
configure:1275: checking whether gcc accepts -g 
configure:1307: checking for POSIXized ISC 
configure:1331: checking whether the C compiler (gcc) compiles and links a simple C program 
configure:1352: gcc -o conftest -march=pentium3 -O2 -pipe   conftest.c  1>&5 
configure:1384: checking for c++ 
configure:1416: checking whether the C++ compiler (g++ -march=pentium3 -O2 -pipe 
-Wno-deprecated ) works 
configure:1432: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated   conftest.C  1>&5 
configure:1458: checking whether the C++ compiler (g++ -march=pentium3 -O2 -pipe 
-Wno-deprecated ) is a cross-compiler 
configure:1463: checking whether we are using GNU C++ 
configure:1472: g++ -E conftest.C 
configure:1491: checking whether g++ accepts -g 
configure:1679: checking whether the C++ compiler (g++) compiles a simple program 
configure:1700: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated   conftest.C  1>&5 
configure:3355: checking for tgetent in -lmytinfo 
configure:3377: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated   conftest.C 
-lmytinfo   1>&5 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lmytinfo 
collect2: ld returned 1 exit status 
configure: failed program was: 
#line 3363 "configure" 
#include "confdefs.h" 
/* Override any gcc2 internal prototype to avoid an error.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
/* We use char because int might match the return type of a gcc2 
    builtin and then its argument prototype would still apply.  */ 
char tgetent(); 
 
int main() { 
tgetent() 
; return 0; } 
configure:3355: checking for tgetent in -lncurses 
configure:3377: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated   conftest.C 
-lncurses   1>&5 
configure:3518: checking for xstrerror in -liberty 
configure:3540: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated   conftest.C 
-liberty   1>&5 
configure:3561: checking for packages to be configured and built 
xamel ddd-3.3.1 # 
Comment 6 Mario Scalas 2003-03-07 15:16:52 UTC
and this is ddd/config.log (much longer): 
 
This file contains any messages produced by compilers while 
running configure, to aid debugging if configure makes a mistake. 
 
configure:762: checking for product name 
configure:772: checking for expiration date 
configure:810: checking for a BSD compatible install 
configure:863: checking whether build environment is sane 
configure:901: checking whether make sets ${MAKE} 
configure:947: checking for working aclocal 
configure:960: checking for working autoconf 
configure:973: checking for working automake 
configure:986: checking for working autoheader 
configure:999: checking for working makeinfo 
configure:1019: checking host system type 
configure:1043: checking for gcc 
configure:1156: checking whether the C compiler (gcc -march=pentium3 -O2 -pipe ) works 
configure:1172: gcc -o conftest -march=pentium3 -O2 -pipe   conftest.c  1>&5 
configure:1198: checking whether the C compiler (gcc -march=pentium3 -O2 -pipe ) is a 
cross-compiler 
configure:1203: checking whether we are using GNU C 
configure:1231: checking whether gcc accepts -g 
configure:1263: checking for POSIXized ISC 
configure:1288: checking for g77 
configure:1321: checking whether ln -s works 
configure:1346: checking for sh 
configure:1386: checking for gtar 
configure:1386: checking for tar 
configure:1420: checking for gm4 
configure:1420: checking for m4 
configure:1454: checking for gsed 
configure:1454: checking for sed 
configure:1488: checking for gdiff 
configure:1488: checking for diff 
configure:1522: checking for dvips 
configure:1556: checking for gzip 
configure:1594: checking for gzip 
configure:1635: checking for remsh 
configure:1635: checking for rsh 
configure:1635: checking for on 
configure:1675: checking for lp 
configure:1716: checking for gcore 
configure:1755: checking for gdb 
configure:1805: checking for xterm 
configure:1839: checking for xfontsel 
configure:1880: checking for a BSD compatible install 
configure:1935: checking for ranlib 
configure:1967: checking for bison 
configure:1998: checking for bison -y flags 
configure:2002: checking how to run the C preprocessor 
configure:2087: checking for flex 
configure:2120: checking for flex 
configure:2154: checking for yywrap in -lfl 
configure:2173: gcc -o conftest -march=pentium3 -O2 -pipe   conftest.c -lfl   1>&5 
configure:2196: checking lex output file root 
configure:2217: checking whether yytext is a pointer 
configure:2236: gcc -o conftest -march=pentium3 -O2 -pipe   conftest.c  -lfl 1>&5 
configure:2258: checking for flex flags 
configure:2269: checking for gawk 
configure:2315: checking whether the C compiler (gcc) compiles and links a simple C program 
configure:2368: checking for c++ 
configure:2400: checking whether the C++ compiler (g++ -march=pentium3 -O2 -pipe 
-Wno-deprecated ) works 
configure:2416: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated   conftest.C  1>&5 
configure:2442: checking whether the C++ compiler (g++ -march=pentium3 -O2 -pipe 
-Wno-deprecated ) is a cross-compiler 
configure:2447: checking whether we are using GNU C++ 
configure:2475: checking whether g++ accepts -g 
configure:2663: checking whether the C++ compiler (g++) compiles a simple program 
configure:2738: checking how to run the C preprocessor 
configure:2818: checking how to run the C++ preprocessor 
configure:2836: g++ -E  conftest.C >/dev/null 2>conftest.out 
configure:2864: checking whether the C++ compiler (g++) accepts -Werror 
configure:2887: g++ -c -Werror  conftest.C 1>&5 
configure:2925: checking whether the C++ compiler (g++) accepts -Weffc++ 
configure:2948: g++ -c -Werror -Weffc++  conftest.C 1>&5 
configure:2983: checking whether the C++ compiler (g++) accepts -Wuninitialized 
configure:3006: g++ -c -Werror -Wuninitialized  conftest.C 1>&5 
cc1plus: warnings being treated as errors 
cc1plus: warning: -Wuninitialized is not supported without -O 
configure: failed program was: 
#line 2999 "configure" 
#include "confdefs.h" 
 
int main() { 
int a; 
; return 0; } 
configure:3043: checking whether the C++ compiler (g++) accepts -mminimal-toc 
configure:3066: g++ -o conftest -Werror -mminimal-toc   conftest.C  1>&5 
cc1plus: invalid option `minimal-toc' 
configure: failed program was: 
#line 3059 "configure" 
#include "confdefs.h" 
 
int main() { 
int a; 
; return 0; } 
configure:3263: checking for C++ compiler (g++) warning options 
configure:3266: checking for C++ compiler (g++) optimizing options 
configure:3269: checking for C++ compiler (g++) debugging options 
configure:3272: checking for C++ compiler (g++) extra libraries 
configure:3275: checking for C++ compiler (g++) static binding options 
configure:3278: checking for C++ compiler (g++) dynamic binding options 
configure:3286: checking whether the C++ compiler (g++) accepts -fexternal-templates 
configure:3309: g++ -c -Werror -fexternal-templates  conftest.C 1>&5 
cc1plus: warnings being treated as errors 
cc1plus: warning: -fexternal-templates is deprecated, please see the  
   documentation for details 
configure: failed program was: 
#line 3302 "configure" 
#include "confdefs.h" 
 
int main() { 
int a; 
; return 0; } 
configure:3342: checking whether the C++ compiler (g++) accepts -fpermissive 
configure:3365: g++ -c -Werror -fpermissive  conftest.C 1>&5 
configure:3398: checking whether the C++ compiler (g++) accepts -felide-constructors 
configure:3421: g++ -c -Werror -felide-constructors  conftest.C 1>&5 
configure:3454: checking whether the C++ compiler (g++) accepts -fconserve-space 
configure:3477: g++ -c -Werror -fconserve-space  conftest.C 1>&5 
configure:3510: checking whether the C++ compiler (g++) accepts -trigraphs 
configure:3533: g++ -c -Werror -trigraphs  conftest.C 1>&5 
configure:3567: checking whether the C++ compiler (g++) supports bool types 
configure:3588: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated  conftest.C 1>&5 
configure:3619: checking whether the C++ compiler (g++) supports explicit constructors 
configure:3640: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated  conftest.C 1>&5 
configure:3671: checking whether the C++ compiler (g++) supports mutable members 
configure:3692: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated  conftest.C 1>&5 
configure:3723: checking whether the C++ compiler (g++) supports exception handling 
configure:3744: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated  conftest.C 1>&5 
configure:3775: checking whether the C++ compiler (g++) supports standard exceptions 
configure:3800: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated  conftest.C 1>&5 
configure: In function `int main()': 
configure:3795: `runtime_error' undeclared (first use this function) 
configure:3795: (Each undeclared identifier is reported only once for each  
   function it appears in.) 
configure: failed program was: 
#line 3789 "configure" 
#include "confdefs.h" 
 
#include <stdexcept> 
#include <math.h> 
 
int main() { 
try { throw runtime_error("too many fingers on keyboard"); } 
 catch(const std::exception& e) { const char *s = e.what(); } 
; return 0; } 
configure:3831: checking whether the C++ compiler (g++) supports namespaces 
configure:3860: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated  conftest.C 1>&5 
configure:3891: checking whether the C++ compiler (g++) supports run-time type info 
configure:3915: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated  conftest.C 1>&5 
configure:3946: checking whether the C++ compiler (g++) supports long long types 
configure:3967: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated  conftest.C 1>&5 
configure:3999: checking whether the C++ compiler (g++) supports named return values 
configure:4032: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror  conftest.C 1>&5 
configure:4063: checking whether the C++ compiler (g++) supports __PRETTY_FUNCTION__ 
configure:4086: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror   
conftest.C  1>&5 
configure:4117: checking whether the C++ compiler (g++) supports overloaded new[] 
configure:4139: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror  conftest.C 1>&5 
configure:4170: checking whether the C++ compiler (g++) supports placement new 
configure:4191: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror  conftest.C 1>&5 
configure:4222: checking whether the C++ compiler (g++) supports ANSI lifetime of temporaries 
configure:4299: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror   
conftest.C  1>&5 
configure:4334: checking whether the C++ compiler (g++) accepts -isystem 
configure:4357: g++ -c -Werror -isystem .  conftest.C 1>&5 
configure:4392: checking whether the C++ compiler (g++) supports new style casts 
configure:4413: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror  conftest.C 1>&5 
configure:4444: checking for a traditional C preprocessor 
configure:4471: gcc -E  conftest.c >/dev/null 2>conftest.out 
configure:4465:1: warning: multi-line string literals are deprecated 
configure:4465:1: missing terminating " character 
configure:4465:1: possible start of unterminated string literal 
configure:4464:1: unterminated #if 
configure: failed program was: 
#line 4462 "configure" 
#include "confdefs.h" 
 
#if 1 
"this is an unterminated string 
#endif 
 
configure:4471: gcc -E  -traditional-cpp conftest.c >/dev/null 2>conftest.out 
configure:4497: checking for Cygwin environment 
configure:4513: gcc -c -march=pentium3 -O2 -pipe  conftest.c 1>&5 
configure: In function `main': 
configure:4509: `__CYGWIN32__' undeclared (first use in this function) 
configure:4509: (Each undeclared identifier is reported only once 
configure:4509: for each function it appears in.) 
configure: failed program was: 
#line 4502 "configure" 
#include "confdefs.h" 
 
int main() { 
 
#ifndef __CYGWIN__ 
#define __CYGWIN__ __CYGWIN32__ 
#endif 
return __CYGWIN__; 
; return 0; } 
configure:4530: checking for mingw32 environment 
configure:4542: gcc -c -march=pentium3 -O2 -pipe  conftest.c 1>&5 
configure: In function `main': 
configure:4538: `__MINGW32__' undeclared (first use in this function) 
configure:4538: (Each undeclared identifier is reported only once 
configure:4538: for each function it appears in.) 
configure: failed program was: 
#line 4535 "configure" 
#include "confdefs.h" 
 
int main() { 
return __MINGW32__; 
; return 0; } 
configure:4561: checking for executable suffix 
configure:4571: gcc -o conftest -march=pentium3 -O2 -pipe   conftest.c  1>&5 
configure:4592: checking for object suffix 
configure:4598: gcc -c -march=pentium3 -O2 -pipe  conftest.c 1>&5 
configure:4702: checking build system type 
configure:4731: checking for ld used by GCC 
configure:4793: checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld 
GNU ld version 2.13.90.0.18 20030121 
configure:4809: checking for BSD-compatible nm 
ltconfig:603: checking for object suffix 
ltconfig:604: gcc -c -march=pentium3 -O2 -pipe  conftest.c 1>&5 
ltconfig:629: checking for executable suffix 
ltconfig:630: gcc -o conftest -march=pentium3 -O2 -pipe   conftest.c  1>&5 
ltconfig:776: checking if gcc PIC flag -fPIC works 
ltconfig:777: gcc -c -march=pentium3 -O2 -pipe -fPIC -DPIC  conftest.c 1>&5 
ltconfig:829: checking if gcc supports -c -o file.o 
ltconfig:830: gcc -c -march=pentium3 -O2 -pipe -o out/conftest2.o  conftest.c 1>&5 
ltconfig:862: checking if gcc supports -c -o file.lo 
ltconfig:863: gcc -c -march=pentium3 -O2 -pipe -c -o conftest.lo  conftest.c 1>&5 
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions 
ltconfig:915: gcc -c -march=pentium3 -O2 -pipe -fno-rtti -fno-exceptions -c conftest.c  conftest.c 
1>&5 
ltconfig:958: checking if gcc static flag -static works 
ltconfig:959: gcc -o conftest -march=pentium3 -O2 -pipe   -static conftest.c  1>&5 
GNU ld version 2.13.90.0.18 20030121 
ltconfig:1635: checking if global_symbol_pipe works 
ltconfig:1636: gcc -c -march=pentium3 -O2 -pipe  conftest.c 1>&5 
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	
]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" 
ltconfig:1691: gcc -o conftest -march=pentium3 -O2 -pipe -fno-builtin -fno-rtti -fno-exceptions   
conftest.c conftstm.o 1>&5 
configure:5015: checking for connect 
configure:5046: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror   
conftest.C  1>&5 
configure:5067: checking for gethostbyname 
configure:5098: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror   
conftest.C  1>&5 
configure:5119: checking for regcmp 
configure:5150: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror   
conftest.C  1>&5 
/var/tmp/portage/ddd-3.3.1-r3/temp/ccUi9iZy.o(.text+0xa): In function `main': 
: undefined reference to `regcmp' 
collect2: ld returned 1 exit status 
configure: failed program was: 
#line 5124 "configure" 
#include "confdefs.h" 
/* System header to define __stub macros and hopefully few prototypes, 
    which can conflict with char regcmp(); below.  */ 
#include <assert.h> 
/* Override any gcc2 internal prototype to avoid an error.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
/* We use char because int might match the return type of a gcc2 
    builtin and then its argument prototype would still apply.  */ 
char regcmp(); 
 
int main() { 
 
/* The GNU C library defines this for functions which it implements 
    to always fail with ENOSYS.  Some functions are actually named 
    something starting with __ and the normal name is an alias.  */ 
#if defined (__stub_regcmp) || defined (__stub___regcmp) 
choke me 
#else 
regcmp(); 
#endif 
 
; return 0; } 
configure:5263: checking for regcmp in -lgen 
configure:5285: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror   
conftest.C -lgen   1>&5 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgen 
collect2: ld returned 1 exit status 
configure: failed program was: 
#line 5271 "configure" 
#include "confdefs.h" 
/* Override any gcc2 internal prototype to avoid an error.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
/* We use char because int might match the return type of a gcc2 
    builtin and then its argument prototype would still apply.  */ 
char regcmp(); 
 
int main() { 
regcmp() 
; return 0; } 
configure:5308: checking for yyerror in -ly 
configure:5330: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror   
conftest.C -ly   1>&5 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ly 
collect2: ld returned 1 exit status 
configure: failed program was: 
#line 5316 "configure" 
#include "confdefs.h" 
/* Override any gcc2 internal prototype to avoid an error.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
/* We use char because int might match the return type of a gcc2 
    builtin and then its argument prototype would still apply.  */ 
char yyerror(); 
 
int main() { 
yyerror() 
; return 0; } 
configure:5352: checking for sin in -lm 
configure:5374: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror   
conftest.C -lm   1>&5 
configure:5396: checking for open in -lc 
configure:5418: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror   
conftest.C -lc   1>&5 
configure:5440: checking for elf_version in -lelf 
configure:5462: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror   
conftest.C -lelf   1>&5 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lelf 
collect2: ld returned 1 exit status 
configure: failed program was: 
#line 5448 "configure" 
#include "confdefs.h" 
/* Override any gcc2 internal prototype to avoid an error.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
/* We use char because int might match the return type of a gcc2 
    builtin and then its argument prototype would still apply.  */ 
char elf_version(); 
 
int main() { 
elf_version() 
; return 0; } 
configure:5794: checking for tgetent in -lmytinfo 
configure:5794: checking for tgetent in -lncurses 
configure:5841: checking for xstrerror in -liberty 
configure:6153: checking for streampos 
configure:6174: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror  conftest.C 1>&5 
configure:6205: checking for ios::iostate 
configure:6226: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror  conftest.C 1>&5 
configure:6273: checking whether the C++ compiler (g++) accepts -fpermissive 
configure:6330: checking for X 
configure:6644: checking for dnet_ntoa in -ldnet 
configure:6666: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   conftest.C -ldnet   1>&5 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet 
collect2: ld returned 1 exit status 
configure: failed program was: 
#line 6652 "configure" 
#include "confdefs.h" 
/* Override any gcc2 internal prototype to avoid an error.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
/* We use char because int might match the return type of a gcc2 
    builtin and then its argument prototype would still apply.  */ 
char dnet_ntoa(); 
 
int main() { 
dnet_ntoa() 
; return 0; } 
configure:6688: checking for dnet_ntoa in -ldnet_stub 
configure:6710: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   conftest.C -ldnet_stub   1>&5 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet_stub 
collect2: ld returned 1 exit status 
configure: failed program was: 
#line 6696 "configure" 
#include "confdefs.h" 
/* Override any gcc2 internal prototype to avoid an error.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
/* We use char because int might match the return type of a gcc2 
    builtin and then its argument prototype would still apply.  */ 
char dnet_ntoa(); 
 
int main() { 
dnet_ntoa() 
; return 0; } 
configure:6739: checking for gethostbyname 
configure:6843: checking for connect 
configure:6941: checking for remove 
configure:6972: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   conftest.C  1>&5 
configure:7039: checking for shmat 
configure:7070: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   conftest.C  1>&5 
configure:7146: checking for IceConnectionNumber in -lICE 
configure:7168: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   -L/usr/X11R6/lib conftest.C -lICE   1>&5 
configure:7234: checking for Motif 
configure:7262: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror -fpermissive 
-isystem /usr/X11R6/include  conftest.C 1>&5 
configure:7256:19: Xm/Xm.h: No such file or directory 
configure: failed program was: 
#line 7255 "configure" 
#include "confdefs.h" 
#include <Xm/Xm.h> 
int main() { 
int a; 
; return 0; } 
configure:7342: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive -isystem /usr/X11R6/include   -L/usr/X11R6/lib  conftest.C  -lXm -lXt -lX11 -lSM -lICE   
1>&5 
configure:7335:19: Xm/Xm.h: No such file or directory 
configure: failed program was: 
#line 7332 "configure" 
#include "confdefs.h" 
 
#include <X11/Intrinsic.h> 
#include <Xm/Xm.h> 
 
int main() { 
XtToolkitInitialize(); 
; return 0; } 
configure:7450: checking for Athena 
configure:7481: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror -fpermissive 
-isystem /usr/X11R6/include  conftest.C 1>&5 
configure:7561: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive -isystem /usr/X11R6/include   -L/usr/X11R6/lib  conftest.C  -lXaw -lXmu -lXext -lXt 
-lX11 -lSM -lICE   1>&5 
configure:7665: checking for Xpm 
configure:7696: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror -fpermissive 
-isystem /usr/X11R6/include  conftest.C 1>&5 
configure:7777: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive -isystem /usr/X11R6/include   -L/usr/X11R6/lib  conftest.C  -lXpm -lXt -lX11 -lSM -lICE   
1>&5 
configure:7858: checking whether compiling X headers requires -fpermissive 
configure:7881: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror -fpermissive  
conftest.C 1>&5 
configure:7874:19: Xm/Xm.h: No such file or directory 
configure: failed program was: 
#line 7872 "configure" 
#include "confdefs.h" 
 
#include <Xm/Xm.h> 
 
int main() { 
int a; 
; return 0; } 
configure:7904: g++ -c -march=pentium3 -O2 -pipe -Wno-deprecated -Werror -fpermissive 
-fpermissive  conftest.C 1>&5 
configure:7897:19: Xm/Xm.h: No such file or directory 
configure: failed program was: 
#line 7895 "configure" 
#include "confdefs.h" 
 
#include <Xm/Xm.h> 
 
int main() { 
int a; 
; return 0; } 
configure:7944: checking for XOpenDisplay in -lX11 
configure:7966: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   -isystem /usr/X11R6/include   -L/usr/X11R6/lib conftest.C -lX11  -lSM -lICE   -lSM 
-lICE  1>&5 
configure:7997: checking for _Xlcmbcurmax in -lXintl 
configure:8019: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   -isystem /usr/X11R6/include   -L/usr/X11R6/lib conftest.C -lXintl  -lX11 -lSM -lICE   
-lSM -lICE  1>&5 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXintl 
collect2: ld returned 1 exit status 
configure: failed program was: 
#line 8005 "configure" 
#include "confdefs.h" 
/* Override any gcc2 internal prototype to avoid an error.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
/* We use char because int might match the return type of a gcc2 
    builtin and then its argument prototype would still apply.  */ 
char _Xlcmbcurmax(); 
 
int main() { 
_Xlcmbcurmax() 
; return 0; } 
configure:8040: checking for shmap in -lipc 
configure:8062: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   -isystem /usr/X11R6/include   -L/usr/X11R6/lib conftest.C -lipc  -lX11 -lSM -lICE   
-lSM -lICE  1>&5 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lipc 
collect2: ld returned 1 exit status 
configure: failed program was: 
#line 8048 "configure" 
#include "confdefs.h" 
/* Override any gcc2 internal prototype to avoid an error.  */ 
#ifdef __cplusplus 
extern "C" 
#endif 
/* We use char because int might match the return type of a gcc2 
    builtin and then its argument prototype would still apply.  */ 
char shmap(); 
 
int main() { 
shmap() 
; return 0; } 
configure:8084: checking for XtToolkitInitialize in -lXt 
configure:8106: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   -isystem /usr/X11R6/include   -L/usr/X11R6/lib conftest.C -lXt  -lX11 -lSM -lICE   
-lSM -lICE  1>&5 
configure:8136: checking for XShapeQueryVersion in -lXext 
configure:8158: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   -isystem /usr/X11R6/include   -L/usr/X11R6/lib conftest.C -lXext  -lX11 -lSM -lICE   
-lSM -lICE  1>&5 
configure:8183: checking for XpmCreatePixmapFromXpmImage in -lXpm 
configure:8205: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   -isystem /usr/X11R6/include   -L/usr/X11R6/lib conftest.C -lXpm  -lX11 -lSM -lICE   
-lSM -lICE  1>&5 
configure:8234: checking for X11/xpm.h 
configure:8244: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 2>conftest.out 
configure:8234: checking for xpm.h 
configure:8244: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 2>conftest.out 
configure:8240:17: xpm.h: No such file or directory 
configure: failed program was: 
#line 8239 "configure" 
#include "confdefs.h" 
#include <xpm.h> 
configure:8277: checking for XmuCvtStringToOrientation in -lXmu 
configure:8299: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   -isystem /usr/X11R6/include   -L/usr/X11R6/lib conftest.C -lXmu   -lXt -lXpm -lXext 
-lX11 -lSM -lICE   -lSM -lICE  1>&5 
configure:8320: checking for XawTextSetInsertionPoint in -lXaw 
configure:8342: g++ -o conftest -march=pentium3 -O2 -pipe -Wno-deprecated -Werror 
-fpermissive   -isystem /usr/X11R6/include   -L/usr/X11R6/lib conftest.C -lXaw  -lXmu  -lXt -lXpm 
-lXext -lX11 -lSM -lICE   -lSM -lICE  1>&5 
configure:8382: checking for X11/Xaw/Form.h 
configure:8392: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 2>conftest.out 
configure:8382: checking for X11/Xaw/Panner.h 
configure:8392: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 2>conftest.out 
configure:8382: checking for X11/Xaw/Porthole.h 
configure:8392: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 2>conftest.out 
configure:8422: checking for X11/Xmu/Editres.h 
configure:8432: g++ -E  -isystem /usr/X11R6/include conftest.C >/dev/null 2>conftest.out 
 
Comment 7 Mario Scalas 2003-03-07 15:50:27 UTC
WOW! I just unmerged openmotif, re-emerged it again. Then emerged DDD and now it compiling all 
the way!! Misteries-Of-Emerging ... sorry , I should have tried this earlier ;(  
Comment 8 Matthew Kennedy (RETIRED) gentoo-dev 2003-03-08 11:52:45 UTC
okay thats good to hear :)
Comment 9 Heinrich Wendel (RETIRED) gentoo-dev 2003-09-29 11:58:39 UTC
i suppose this can be closed then...