Talk About Network



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 > Adapting from p...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 11 Topic 73 of 148
Post > Topic >>

Adapting from pm3 to cm3

by Robin Garner <robin.garner@[EMAIL PROTECTED] > Dec 2, 2003 at 08:58 AM

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 ?




 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 Tue May 13 18:46:52 CDT 2008.