Robin Garner <robin.garner@[EMAIL PROTECTED]
> wrote:
> 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 build****p.
Missing libraries shouldn't be much of a problem, as long as you don't
need the packages that use them.
> 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 ?
ROOT is the variable that is used in the m3overrides files to define
the path to the _local_ package root (in your workspace) to allow
compilation without use of any ****pped packages. If you set that
to your installation root buildlocal won't work as expected with
the provided scripts.
> 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.
This could be a problem of a broken quake setup; I've never seen
it, 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 im****t("formsvbt"), im****t("ui") etc in
> m3makefile - after all, it used to compile OK on pm3-1.1.15.
> Am I missing a configuration step somewhere ?
It would be helpful to know the exact commands you use as well
as the cm3.cfg file, the m3makefiles involved, and perhaps some
of the contents of the /usr/local/cm3/pkg directory. I'm afraid I
don't even have a guess at what is wrong with your setup without
this information.
--
/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
|| Olaf Wagner | wagner(at)luthien.in-berlin.de (priv.)|
|| Cranachstrasse 7 | wagner(at)elego.de (business) |
|| D-12157 Berlin | phone: +49 30 85 60 26 70 |
|| Germany / Deutschland | fax: +49 30 85 58 01 88 |
\/////////////////////////////////////////////////////////////////


|