Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got sources for a program developed under Solaris in ANSI-C. I am told it was developed around 1996-1997. I'm currently struggling with compiling it under a current Ubuntu. I got pretty far and I think only the GUI is still missing. They used a library called guide for this it seems. Does anyone know, if this library still exists somewhere?

The relevant parts of the Makefile:

INCL    = -I$(GUIDEHOME)/include -I$(OPENWINHOME)/include
LIB     = -lguide -lguidexv -lxview -lolgx -lX -lm
TAG     = -target sun4
share|improve this question
What makes you think it was "guide"? Could it be "glide"? Are you getting link errors? If so, what are they? Are you getting header files missing? What are the missing headers? – msw Oct 22 '10 at 9:45
I edited the answer to make it clearer. – Eifelzwerg Oct 22 '10 at 10:21
never heard of guide... but have heard of guile – xenoterracide Oct 22 '10 at 12:34
freshmeat.net/projects/xview freshmeat.net/projects/OWacomp Right or wrong track? – ephemient Oct 22 '10 at 13:53
@ephemient: This was exactly what I was looking for. Thanks! I'd accept it if you'd change it to an answer instead of a comment. – Eifelzwerg Oct 23 '10 at 6:45
up vote 6 down vote accepted

As msw says, it appears that your application wants to use the OpenWindows and Xview libraries that were provided in older Sun systems.

I believe they're not even around on newer Solaris installs anymore, but the free software projects OpenWindows Augmented Compatibility Environment and The XView Toolkit may provide compatible-enough implementations of these libraries on newer systems.

share|improve this answer

From your description it appears that these were written against the SunOS Xview Code Generation Suite. I have a dim memory of this package which is probably roughly analogous to GTK or Java Swing, but predates most of their concepts and mechanism.

I expect the best that you can do is either:

  1. Write a library that simulates libguide which is fraught with error or
  2. Yank out the affected UI code and replace it with your own perhaps using something like glade

I don't envy you this task.

share|improve this answer
We used to give this application to our service staff "draw what you want it to look like", we would then rewrite the code ourselves as it code was horrid. – David Allan Finch Oct 22 '10 at 14:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.