I think I will reinstall everything after making sure that there are no
remnants of previous builds around.
Question though (I may be dense) but in the Linux dx startup script
(/usr/loca/dx/bin/dx) there is the test which reads:
if [ ! -d "$DXMACROS"]; then
DXMACROS=
but DXMACROS is a ***path*** , not a directory, i.e.
$DXMACROS==/somedirectory:/someotherdirectory
doesn't the test then fail?? and therefore erase DXMACROS??
Thanks for your help.
"Suhaib M. Siddiqi" wrote:
> I have no idea what is going on.
> The RPMS you have are from my Linux and works ok. The only difference is
> that I did not polute my /usr/local/dx/ with samples.
> I have samples installed somewhere else in dxsamples
> and have DXMACROS set in my /etc/bashrc
>
> export DXMACROS=/<somewhere>/dxsamples/macros
>
> The dxsamples directory also contains the java macros you mentioned.
>
> The problem I mentioned in my previous messages was relating to Windows.
> I am working on a DX work properly with MOTIF under Windows. It
> refuses to acknowledge DXMACROS, there is no JAVA. It also gives the
> following error
>
> StartDXLChild: cannot connect using dx.
>
> Suhaib
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Peter
> > Denisevich
> > Sent: Sunday, March 12, 2000 8:15 PM
> > To: [email protected]
> > Subject: [opendx-dev] DXMACROS env. variable and dx startup script
> > (Linux RPMS and CVS)
> >
> >
> > Suhaib --
> >
> > I must be missing something but I still have a problem with the Mar 3
> > RPMS and DXMACROS environment variable. It shows up when I try to run
> > sample pgms. which invoke macros (bounce.net, etc.) I just tried the
> > following:
> >
> >
> > 1) Copied my /usr/local/dx/samples/ directory elsewhere.
> > 2) erased the whole /usr/local/dx tree
> > 3) rpm -ivh opendx-4.0.10-1.i386.rpm
> > 4) copied my /samples/ back into /usr/local/dx/
> > 5) ln -s /usr/local/dx/bin/dx /usr/local/bin/dx [it's a 1351 byte
> > file]
> >
> > DXMACROS, DXDATA are set in .bashrc
> >
> > dx =>samples=>bounce.net : error msgs. galore, can't find macros, etc.
> >
> > rename /usr/local/dx/java/server/dxmacros to something else
> > (..../pdxmacros)
> >
> > dx =>samples .... : runs fine
> >
> > rename ..../pdxmacros back to ..../dxmacros and crash and burn.
> >
> > My build from CVS last week had the same problem. When I rebuilt again,
> > it didn't try to build the java stuff so it didn't create the /dxmacros
> > directory and the resulting stuff runs OK.
> >
> > Again, am I missing something or is this real or both ;-)
> >