Trying to emerge DDD 3.3.8, I get: Calculating dependencies ...done! >>> emerge (1 of 1) dev-util/ddd-3.3.8 to / >>> md5 src_uri ;-) ddd-3.3.8.tar.gz >>> Unpacking source... >>> Unpacking ddd-3.3.8.tar.gz to /var/tmp/portage/ddd-3.3.8/work >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for product name... DDD 3.3.8 "Cinnamon" checking for expiration date... no checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for x86_64-pc-linux-gnu-strip... no checking for strip... strip checking whether make sets ${MAKE}... (cached) yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking dependency style of gcc... gcc3 checking for strerror in -lcposix... no checking for g77... no checking for fort77... no checking for f77... no checking for f2c... no checking whether ln -s works... yes checking for sh... /bin/sh checking for gtar... no checking for tar... tar checking for gm4... no checking for m4... m4 checking for gsed... no checking for sed... sed checking for gdiff... no checking for diff... diff checking for dvips... no checking for dvi2ps... no checking for gzip... gzip checking for gzip... gzip checking for remsh... no checking for rsh... no checking for on... no checking for lp... lp checking for gcore... no checking for compface... no checking for xbm2xface.pl... no checking for xbm2xface... no checking for gdb... gdb checking for xterm... xterm checking for xfontsel... xfontsel checking for a BSD-compatible install... /bin/install -c checking for x86_64-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for bison... bison -y checking for bison -y flags... checking bison -y version... bison (GNU Bison) 1.875 Written by Robert Corbett and Richard Stallman. Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (ok) checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for flex flags... -8 checking for gawk... (cached) gawk checking whether the C compiler (gcc) compiles and links a simple C program... yes checking for x86_64-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether the C++ compiler (g++) compiles a simple program... yes checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking whether the C++ compiler (g++) accepts -Weffc++... yes checking whether the C++ compiler (g++) accepts -Wuninitialized... yes checking whether the C++ compiler (g++) accepts -mminimal-toc... no checking for C++ compiler (g++) warning options... -Wall -W checking for C++ compiler (g++) optimizing options... -DNDEBUG -O2 checking for C++ compiler (g++) debugging options... checking for C++ compiler (g++) extra libraries... checking for C++ compiler (g++) static binding options... -Bstatic checking for C++ compiler (g++) dynamic binding options... -Bdynamic checking whether the C++ compiler (g++) accepts -fexternal-templates... no checking whether the C++ compiler (g++) accepts -fpermissive... yes checking whether the C++ compiler (g++) accepts -felide-constructors... yes checking whether the C++ compiler (g++) accepts -fconserve-space... yes checking whether the C++ compiler (g++) accepts -trigraphs... yes checking whether the C++ compiler (g++) supports bool types... yes checking whether the C++ compiler (g++) supports explicit constructors... yes checking whether the C++ compiler (g++) supports mutable members... yes checking whether the C++ compiler (g++) supports exception handling... yes checking whether the C++ compiler (g++) supports standard exceptions... yes checking whether the C++ compiler (g++) supports namespaces... yes checking whether the C++ compiler (g++) supports run-time type info... yes checking whether the C++ compiler (g++) supports long long types... yes checking whether the C++ compiler (g++) supports __PRETTY_FUNCTION__... yes checking whether the C++ compiler (g++) supports overloaded new... yes checking whether the C++ compiler (g++) supports placement new... yes checking whether the C++ compiler (g++) supports ANSI lifetime of temporaries... yes checking whether the C++ compiler (g++) accepts -isystem... yes checking whether the C++ compiler (g++) supports new style casts... yes checking whether the C++ compiler (g++) supports __attribute__ ((noreturn))... yes checking for a traditional C preprocessor... gcc -E checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) checking command to parse nm output... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-pc-linux-gnu-file... no checking for file... /usr/bin/file checking for x86_64-pc-linux-gnu-ranlib... ranlib checking for x86_64-pc-linux-gnu-strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... no checking if we can lock with hard links... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for connect... yes 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... yes checking for tgetent in -lmytinfo... no checking for tgetent in -lncurses... yes checking for readline in -lreadline... yes checking for xstrerror in -liberty... yes checking for streampos... no checking for std::streampos... yes checking whether the C++ compiler (g++) accepts -fpermissive... (cached) yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include 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 /usr/X11R6/lib, 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 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 XmuCvtStringToOrientation in -lXmu... yes checking for XawTextSetInsertionPoint in -lXaw... yes checking X11/Xaw/Form.h usability... yes checking X11/Xaw/Form.h presence... yes checking for X11/Xaw/Form.h... yes checking X11/Xaw/Panner.h usability... yes checking X11/Xaw/Panner.h presence... yes checking for X11/Xaw/Panner.h... yes checking X11/Xaw/Porthole.h usability... yes checking X11/Xaw/Porthole.h presence... yes checking for X11/Xaw/Porthole.h... yes checking X11/Xmu/Editres.h usability... no checking X11/Xmu/Editres.h presence... yes configure: WARNING: X11/Xmu/Editres.h: present but cannot be compiled configure: WARNING: X11/Xmu/Editres.h: check for missing prerequisite headers? configure: WARNING: X11/Xmu/Editres.h: proceeding with the preprocessor's result checking for X11/Xmu/Editres.h... yes checking for XpSelectInput in -lXp... yes checking for XmCreateOptionMenu in -lXm... no checking for xmUseVersion in -lXm... no checking for XmInstallImage in -lXm... no checking for Xm21InstallImage in -lXm... no 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. !!! ERROR: dev-util/ddd-3.3.8 failed. !!! Function econf, Line 365, Exitcode 1 !!! econf failed I have openmotif installed, tried remerging it just for fun, still have same problem with ddd. If I try to run DDD compiled with GCC 3.3.3, I get: ddd: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory Which seems like a openmotif problem. Is openmotif properly creating libXm? I'm just taking a stab in the dark here.
out of curiousity, does it work with lesstif?
Nope, it doesn't work with lesstif either.
....openmotif isnt installing anything other than man pages. i think that might be our problem here. heh ^^; so, something fails in openmotif but the ebuild keeps on chugging. odd...
If you extract the ebuild, and go into the work/motif directory and type "make World" it compiles everything. The problem mustbe with the install.
make install gives me problems as well: gcc -c -I. -I../../exports/include -I../../exports/include -I../.. -I../../exports/include -I../../imports/x11/include -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE -DNO_MESSAGE_CATALOG -DFUNCPROTO=15 -DNARROWPROTO -O2 -g3 Scale.c -o unshared/Scale.o Scale.c: In function `GetValueString': Scale.c:2762: warning: assignment makes pointer from integer without a cast Scale.c:2763: error: dereferencing pointer to incomplete type Scale.c:2769: error: dereferencing pointer to incomplete type make[3]: *** [Scale.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r5/work/motif/lib/Xm' + gcc -o ./libMrm.so.2.1~ -shared -Wl,-soname,libMrm.so.2 MrmIbuffer.o MrmIentry.o MrmIfile.o MrmIheader.o MrmIindex.o MrmIindexw.o MrmIrid.o MrmIswap.o MrmItop.o MrmItopw.o Mrmappl.o Mrmcontext.o Mrmerror.o Mrmhier.o Mrmicon.o Mrminit.o Mrmlread.o Mrmlwrite.o Mrmmodule.o Mrmos.o Mrmptrlist.o Mrmtable.o Mrmtime.o Mrmvm.o Mrmwci.o Mrmwcrw.o Mrmwcrwr.o Mrmwread.o Mrmwrefs.o Mrmwvalues.o Mrmwwrite.o MrmMessages.o -L../../exports/lib -L../../imports/x11/lib -lXm -lXt -lSM -lICE -lXp -lXext -lX11 /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXm collect2: ld returned 1 exit status mv -f libMrm.so.2.1~ libMrm.so.2.1 mv: cannot stat `libMrm.so.2.1~': No such file or directory make[3]: *** [libMrm.so.2.1] Error 1 gcc -o wmldbcreate -O2 -g3 -L../../exports/lib -L../../imports/x11/lib wmldbcreate.o -lXm -lXt -lSM -lICE -lXp -lXext -lX11 -L/usr/X11R6/lib -Wl,-rpath-link,../../exports/lib /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXm collect2: ld returned 1 exit status make[2]: *** [wmldbcreate] Error 1 gcc -o mwm -O2 -g3 -L../../exports/lib -L../../imports/x11/lib WmCDInfo.oWmCDecor.o WmCEvent.o WmCPlace.o WmCmd.o WmColormap.o WmError.o WmEvent.o WmFeedback.o WmFunction.o WmGraphics.o WmIDecor.o WmIPlace.o WmIconBox.o WmImage.o WmInitWs.o WmKeyFocus.o WmMain.o WmManage.o WmMenu.o WmProperty.o WmProtocol.o WmResCvt.o WmResParse.o WmResource.o WmSignal.o WmWinConf.o WmWinInfo.o WmWinList.o WmWinState.o WmWsm.o WmXSMP.o version.o ./WmWsmLib/libWsm.a -lXm -lXt -lSM -lICE -lXp -lXext -lX11 -L/usr/X11R6/lib -lm -Wl,-rpath-link,../../exports/lib /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXm collect2: ld returned 1 exit status make[3]: *** [mwm] Error 1 rm -f libUil.so.2.1 mv -f libUil.so.2.1~ libUil.so.2.1 mv: cannot stat `libUil.so.2.1~': No such file or directory make[3]: *** [libUil.so.2.1] Error 1 gcc -o xmbind -O2 -g3 -L../../exports/lib -L../../imports/x11/lib xmbind.o -lXm -lXt -lSM -lICE -lXp -lXext -lX11 -L/usr/X11R6/lib -Wl,-rpath-link,../../exports/lib /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXm collect2: ld returned 1 exit status make[3]: *** [xmbind] Error 1 the first one is our real problem.
even if openmotif is compiled with gcc 3.3.x, ddd dies with: g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g3 -Wall -W -trigraphs -c -o uniquify.o `test -f 'uniquify.C' || echo './'`uniquify.C In file included from StringA.h:37, from uniquify.h:36, from uniquify.C:36: VarArray.h: In member function `virtual void VarArray<T>::add(const T&)': VarArray.h:56: error: there are no arguments to `value' that depend on a template parameter, so a declaration of `value' must be available VarArray.h:56: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) welp, just fixed that and committed the fix to cvs. we still have an openmotif problem though, which is a bit more important. ^^;
alright, i added a fix to cvs. give it some time to reach rsync and enjoy :)