Peisen Yang wrote:
           The error I got by using the Source Release is in the attachment.
"./configure" was seems fine, then sudo make and sudo make install I got
errors(The reason why I add sudo is I saw some privilege error when without
sudo)
         Please help me to find out why:)

/usr/include/Xm/XmP.h:551: error: ‘Dimension’ does not name a type

This is defined in /usr/include/X11/Intrinsic.h . Check that you have the X11 toolkit intrinsics (Xt) development package installed. This is called libxt-dev in Debian and is probably the same in Ubuntu. N.B. This isn't the same as the Xt libraries package (libxt6).

        2. Which version of Motif I should use to use ?
            I try ed lesstif-bin , libmotif-dev by using the command "sudo
apt-get install "  and I also tryed openmotif-2.3.2-1 and it seems all not
working. I searched on line and I think a lot of stuff on line are incorrect
or out of date.

I have lesstif2 installed but I only use it for testing.

        4. How to compile a file by using Poly/ML rather than code in the
prompt(open a terminal and then "poly").

Do you mean the "use" function?

        5. Can any one help me to write a piece of code using ML and require
Motif library for me to test the installation is correct? :) Just a window
and have something like "Hello world" is perfect.

There's an example in the Poly/ML Motif documentation e.g. http://www.polyml.org/docs/Motif.html .

Note that there was a problem with Motif and multi-threading that turned up after 5.3 was released. This is fixed in SVN.

David
_______________________________________________
polyml mailing list
polyml@inf.ed.ac.uk
http://lists.inf.ed.ac.uk/mailman/listinfo/polyml

Reply via email to