ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

making ddd on Mac OS X 10.2.6


From: Jacques C . Richard
Subject: making ddd on Mac OS X 10.2.6
Date: Sun, 27 Jul 2003 21:55:49 -0500

Hi,
Fink's ddd had a recurring message from an incomplete installation so I tried making ddd myself from the source & it seemed to be going fine but I get the same message: [Jacques-C-Richards-Computer:Research/SEM-PETSc/tns_q2q1] jacquesrichard% /sw/bin/ddd_fink main
Error: No `Ddd' application defaults file
To resolve this problem, you can:
* set the XAPPLRESDIR environment variable to the location of the file `Ddd', or
* set the DDD_HOME environment variable to the location of `ddd/Ddd', or
* install the `Ddd' file in the X application defaults directory, or
* recompile DDD with builtin app-defaults file;
  see the `--enable-builtin-app-defaults' option for details.
[Jacques-C-Richards-Computer:Research/SEM-PETSc/tns_q2q1] jacquesrichard% /usr/local/bin/ddd main
Error: No `Ddd' application defaults file
To resolve this problem, you can:
* set the XAPPLRESDIR environment variable to the location of the file `Ddd', or
* set the DDD_HOME environment variable to the location of `ddd/Ddd', or
* install the `Ddd' file in the X application defaults directory, or
* recompile DDD with builtin app-defaults file;
  see the `--enable-builtin-app-defaults' option for details.
[Jacques-C-Richards-Computer:Research/SEM-PETSc/tns_q2q1] jacquesrichard%

Why is this ddd/Ddd file not ending up in the right place?

When I redid configure using:
./configure --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --with-motif-includes=sw/include --with-motif-libraries=/sw/lib --enable-builtin-app-defaults=/sw/etc/app-defaults/
everything appeared to go OK but make runs into errors:
[Jacques-C-Richards-Computer:/usr/local/ddd-3.3.7] jacquesrichard# make
Making all in readline
make[1]: Nothing to be done for `all'.
Making all in themes
make[1]: Nothing to be done for `all'.
Making all in vsllib
make[1]: Nothing to be done for `all'.
Making all in ddd
make  all-am
source='resources.C' object='resources.o' libtool=no \
depfile='.deps/resources.Po' tmpdepfile='.deps/resources.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /sw/include -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -mminimal-toc -trigraphs -c -o resources.o `test -f 'resources.C' || echo './'`resources.C
In file included from resources.C:2309:
Ddd.ad.h:158: error: parse error before `*' token
In file included from resources.C:2309:
Ddd.ad.h:160:19: missing terminating " character
^Cmake[2]: *** [resources.o] Interrupt
make[1]: *** [all] Interrupt
make: *** [all-recursive] Interrupt

& I had to kill the above compilation as cc would use up virtual memory & actually slow my Mac. Now why did this error in ddd/Ddd.ad.h come up with the second & third configure/make? Do you have a suggestion for getting around these?

Please help as I could not get much w/making xmpi for the Mac & do not have decent debuggers otherwise to trace things like: [Jacques-C-Richards-Computer:Research/SEM-PETSc/tns_q2q1] jacquesrichard% mpirun -np 1 main -f cyl8 -cylinder -show_monitor -start_in_debugger ------------------------------------------------------------------------ --
Petsc Version 2.1.5, Patch 0, Released Jan 27, 2002
       The PETSc Team
    address@hidden
 http://www.mcs.anl.gov/petsc/

See docs/copyright.html for copyright information.
See docs/changes.html for recent updates.
See docs/troubleshooting.html for hints about trouble shooting.
See docs/manualpages/index.html for manual pages.
-----------------------------------------------------------------------
/Users/jacquesrichard/Documents/Research/SEM-PETSc/tns_q2q1/main on a macx named Jacques-C-Richards-Computer.local. by jacquesrichard Sun Jul 27 21:53:28 2003
Libraries linked from /usr/local/petsc-2.1.5/lib/libg/macx
-----------------------------------------------------------------------
PETSC: Attaching gdb to /Users/jacquesrichard/Documents/Research/SEM-PETSc/tns_q2q1/main of pid 771 on display :0.0 on machine Jacques-C-Richards-Computer.local.
appload.c: AppCtxCreate(.,.): sizeof(AppCtx)=9960, ierr=0
appload.c: AppCtxCreate(.,.): (*appctx)->dt=0
appload.c: AppCtxCreate(.,.): filename=cyl8, flag=1
appload.c: AppCtxCreate(.,.): binary=12567616=0xbfc440, (*appctx)->aodata=0
appload.c: AppCtxCreate(.,.): (*appctx)->dt=0

(gdb) where
#0  0x9001b50c in kill ()
#1  0x9005cecc in abort ()
#2 0x0054cce4 in PetscAbortErrorHandler (line=282, func=0x62e748 "ClassRegLogGetClass", file=0x62e690 "classLog.c", dir=0x628588 "src/sys/src/plog/", n=62, p=1, mess=0xbfffeac0 "Invalid object cookie 0", ctx=0x0) at errabort.c:62 #3 0x004bf668 in PetscError (line=282, func=0x62e748 "ClassRegLogGetClass", file=0x62e690 "classLog.c", dir=0x628588 "src/sys/src/plog/", n=62, p=1, mess=0x62e75c "Invalid object cookie %d") at err.c:223 #4 0x005651d0 in ClassRegLogGetClass (classLog=0xbf41d0, cookie=0, oclass=0xbffff3a8) at classLog.c:282 #5 0x005655e0 in PetscLogObjCreateDefault (obj=0xbfd470) at classLog.c:308 #6 0x00140180 in AODataLoadBasic (viewer=0xbfc440, aoout=0xbffff6fc) at aodatabasic.c:954 #7 0x00006920 in AppCtxCreate (comm=141, appctx=0xbffff764) at appload.c:42
#8  0x00001dcc in main (argc=6, argv=0xbffff838) at main.c:17
(gdb)

Thanks!
Jacques





reply via email to

[Prev in Thread] Current Thread [Next in Thread]