Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 3 > Re: Adapting fr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 11 Topic 73 of 149
Post > Topic >>

Re: Adapting from pm3 to cm3

by Olaf Wagner <wagner@[EMAIL PROTECTED] > Dec 3, 2003 at 08:12 AM

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            | 
\/////////////////////////////////////////////////////////////////
 




 11 Posts in Topic:
Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-02 08:58:38 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-03 08:12:42 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-04 02:11:05 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-04 21:35:38 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-08 00:30:40 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-08 21:33:15 
Re: Adapting from pm3 to cm3
"Carl C. Hoff"   2003-12-09 19:54:53 
Re: Adapting from pm3 to cm3
robin.garner@[EMAIL PROTE  2003-12-16 01:01:15 
Re: Adapting from pm3 to cm3
Olaf Wagner <wagner@[E  2003-12-18 22:38:32 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-22 03:19:03 
Re: Adapting from pm3 to cm3
Robin Garner <robin.ga  2003-12-04 02:25:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 0:00:52 CDT 2008.