XForms: Port to SCO OSR5.X

From: Serge B Bromow (serge@omensys.com)
Date: Fri Apr 05 2002 - 12:15:32 EST


# To subscribers of the xforms list from Serge B Bromow <serge@omensys.com> :

Dear Imake Guy, (you know who you are)

After recovering from the post Xforms release festivities, I began
the compilation process for both SCO/Calderas Open Server 5X and Linux

platforms. The Linux port proceeded without incident. The crufty, but
very usable SCO platform, well, had some issues.

I would not normally broadcast the ensuing flogging but I understand
the Imake guy prefers this public forum.

It would appear that my (SCO) "xmkmf", "imake" or "make" had problems
with
the following syntax;

1. The use of the backslash to indicate line continuity is not
terminated
when a comment or blank line is reached. Where a statement like

fdesign \
demo \
/* Don't remove this line */

is present, my "make" did not stop the continuity until it found a
directive which
is not part of the list.

Solution: remove the last "\" in the list.

2. The "make" does not understand the "+=" directive as in;

DEPLIBS += DEPFORMSLIBS

Solution: Remove the "+".

3. The compiler does not recognize the "-Xlinker" and "-Bstatic" options
and
instead of passing by them, it just stops.

Solution: Remove them or more appropriately add a platform dependent
flag
for linking options.

4. SCO requires the addition of "-lsocket" for linking purposes. Also
the linker
was not able to resolve "X11" functions because the "X11" library is
linked
before the "libforms" library.

Solution:

EXTRA_LIBRARIES = \
  .... \
-lm -lX11 -lsocket

5. The "demos" Imakefile line 181 had to be removed. Why, I have no
idea, but I did appreciate your comment;

# Abandon all hope, ye who enter here.

Solution: ??? I was not able to compile the demos using the Imakefile.
I have know clue as to the directive types or their use. Documentation
on this is minimal on SCO. Instead, I created a Makefile of my own
as a stop gap measure.

I realize it is early in the process, but though I would leave you with
this information while it is fresh in my fading mind.

On another topic, while editing the "fdesign" program (a topic that
I will spend some time on) I was unable to locate the files;

/home/zhao/xforms/DESIGN/xpm/*.xpm

Most of these images are in "fdesign/xpm" directory but not
all of them. Just a note.

I was also interested to see the DNA Movie program was in
the "fdesign" distribution. Regrettably it was incomplete and I could
not
view my DNA in a movie format. (I think it was included by mistake)

Thanks for all your help Steve.

XFORMS ROCKS!!!
WHOO WHOO

Serge

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:18 EDT