[opendx-users] Compiling opendx on amd64 + suse 9.2

2005-07-20 Thread Yonatan Oren

Hi
I am trying to compile opendx 4.3.2 on an opteron machine running suse 
9.2,
with openmotif-devel-2.2.3-6.1  openmotif-libs-2.2.3-6.1 installed.
make aborts with the error cited below. does anyone know how to fix this?
 
Thanks,
Yonatan
=
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include 
-I./../widgets -Dlinux  -I/usr/X11R6/include  -g -O2 -I/usr/
X11R6/include -D_GNU_SOURCE -c `test -f 'WorkspaceW.c' || echo 
'./'`WorkspaceW.c
In file included from WorkspaceW.h:16,
 from WorkspaceW.c:29:
XmDX.h:175:1: warning: XmNselectCallback redefined
In file included from /usr/X11R6/include/Xm/Xm.h:61,
 from /usr/X11R6/include/Xm/XmP.h:57,
 from WorkspaceW.c:27:
/usr/X11R6/include/Xm/XmStrDefs22.h:541:1: warning: this is the location 
of the previous definition
In file included from WorkspaceW.c:30:
WorkspaceP.h:257: error: redefinition of `XmFormConstraint'
/usr/X11R6/include/Xm/FormP.h:87: error: `XmFormConstraint' previously 
declared here
WorkspaceP.h:258: error: redefinition of `XmFormConstraintPtr'
/usr/X11R6/include/Xm/FormP.h:93: error: `XmFormConstraintPtr' previously 
declared here
WorkspaceW.c: In function `SetValues':
WorkspaceW.c:1559: error: `XmFormConstraints' undeclared (first use in 
this function)
WorkspaceW.c:1559: error: (Each undeclared identifier is reported only 
once
WorkspaceW.c:1559: error: for each function it appears in.)
WorkspaceW.c: In function `ChangeManaged':
WorkspaceW.c:1926: error: `XmFormConstraints' undeclared (first use in 
this function)
WorkspaceW.c:1928: error: structure has no member named `atta'
WorkspaceW.c:1929: error: structure has no member named `atta'
WorkspaceW.c:1930: error: structure has no member named `atta'
WorkspaceW.c:1931: error: structure has no member named `atta'
make[3]: *** [WorkspaceW.o] Error 1
make[3]: Leaving directory `/installbase/dx-4.3.2/src/uipp/widgets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/installbase/dx-4.3.2/src/uipp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/installbase/dx-4.3.2/src'
make: *** [all-recursive] Error 1
 


Re: [opendx-users] Configuring OpenDX on a Mac

2005-07-20 Thread Joel Richardson


I should have checked more thoroughly. It's only the DX main menu
that fails to recognize the directory setting. Run visual program
and Edit visual program both go to the root (curiously, with a
double slash at the start. I.e., I end up at // not /). However,
the VPE dialogs (open, load macros, file interactors, etc.) all
start at the desired directory.

I tried setting DXHOST to unix and tried adding -host unix to
DXARGS (and I am logging out/in each time), but with the same
behavior - the launcher window goes away, but no dx.

Just curious - what is the ~/.dx-ad config file? Is it safe/recommended
to add parameter settings there? As I said, setting DX*host there
does work.


Thanks again for the help.

Joel


David Thompson wrote:
I tested the DXARGS specifically because this was the most interesting 
and it worked with no problems (changed my directory to my Desktop). Can 
you check it again? Can you check it on the command line and see if it 
works? I guess, I should also know what you mean by it doesn't work 
(mine made all FileSelectors and Open/Save dialogs default to the 
Desktop folder I set it to.)


Remember you have to log out and log in each time you make a change to 
the environment.plist file (its only read once at log in time.)


Can you set the -host localhost okay via the command line? You could 
also try to set DXHOST=unix which will just assume a localhost but not 
even try to look up the machine name.


David



===
Joel Richardson, Ph.D.   Phone: (207) 288-6435
The Jackson Laboratory   Fax:   (207) 288-6132
600 Main Street  URL:   www.informatics.jax.org
Bar Harbor, Maine 04609
===


Re: [opendx-users] Compiling opendx on amd64 + suse 9.2

2005-07-20 Thread Lutz Maibaum
On Wednesday 20 July 2005 01:26, Yonatan Oren wrote:
 Hi
 I am trying to compile opendx 4.3.2 on an opteron machine running suse
 9.2,
 with openmotif-devel-2.2.3-6.1  openmotif-libs-2.2.3-6.1 installed.
 make aborts with the error cited below. does anyone know how to fix this?

I can't help you with the compilation problem, but SuSE ships opendx with all 
their distributions, for example

http://mirrors.kernel.org/suse/x86_64/9.2/suse/i586/dx-4.2.0-370.1.i586.rpm

It's version 4.2.0, but maybe that's good enough for you.

Hope this helps,

  Lutz