I'm trying to adapt an old project from pm3 to cm3 and the build system is
just not co-operating :) This is a vanilla install of cm3 5.2.6 on
Solaris
9, with the patched installer.
I don't have Postgres, openGL or any ODBC drivers installed, so the
install
wasn't entirely simple, but I think it worked as it should have. After
the
initial 'cminstall', I built the system with ./do-cm3-std.sh buildship.
Firstly, invoking cm3 used to fail with a message that ROOT was not
defined
- invoking cm3 with -DROOT=/usr/local/cm3 seemed to work , and adding the
line
ROOT = INSTALL_ROOT
to /usr/local/cm3/bin/cm3.cfg seems to have made that stick. Is this
reasonable or have I just masked a more serious problem ?
Now that it's installed, cm3 compiles some simple modules, but it won't
instantiate generics for me. I've tried the old way with
build_generic_intf etc, and the new `table' function, but no dice. I
think
this may be a symptom of the next problem, though.
cm3 can't seem to find any of the system supplied packages. When I do a
build I get pages of (eg):
"../src/HelpMsg.m3", line 12: unable to find interface (Trestle)
"../src/HelpMsg.m3", line 12: unable to find interface (TrestleComm)
"../src/HelpMsg.m3", line 12: unable to find interface (FormsVBT)
"../src/HelpMsg.m3", line 12: unable to find interface (VBT)
etc, even though there's an import("formsvbt"), import("ui") etc in
m3makefile - after all, it used to compile OK on pm3-1.1.15.
Am I missing a configuration step somewhere ?


|