Ran into the sed problem also. Both sgi and gnu sed complained. I removed the
new line between the '^' and the '$/D' and
it didn't complain.
Also had to modify the Makefile for dxexec, specifically for a circular
reference between libLIBDX and libDXMODS
(_dxfTriag... defined in mods used in libdx, but DXGet in mods defined in
libdx).
The change was to add libLIBDX twice (Hss! Ugly!):
dxexec_LDADD = ../dpexec/libDPEXEC.a ../libdx/libLIBDX.a
../dxmods/libDXMODS.a ../libdx/libLIBDX.a
../hwrender/libHW.a ../hwrender/opengl/libOPENGL.a
Also, Streamline is core dumping on me and sending the exec into a memory
consuming loop.
Mark
Randall Hopper wrote:
>
> rm -f dx.mdf
> cp ./dxmdf.src tmp.c
> /bin/cc -mips4 -n32 -E -DHAVE_CONFIG_H -I. -I. -I../../../include
> -DCPLUSPLUS_UI -DEXECUTIVE_MODS tmp.c > dx.mdf
> cat dx.mdf |sed "/^#/d" > tmp.mdf
> cat tmp.mdf |sed -f stripl.sed > dx.mdf
> sed: command garbled: /^
> gmake[3]: *** [dx.mdf] Error 2
> gmake[3]: Leaving directory
> `/scratch/ethyl/rhh/BUILD/dx-cvs-20010419/src/exec/dxmods'
>
> This logic looks new. Here's stripl.sed btw:
>
> > cat src/exec/dxmods/stripl.sed
> /^$/{
> N
> /^
> $/D
> }
>
> Randy
>
> --
> Randall Hopper (mailto:[EMAIL PROTECTED])
> Lockheed Martin Operation Support
> EPA Scientific Visualization Center
> US EPA MD/24 ERC-1A; RTP, NC 27711