Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Converting linux X stuff to solaris

1 view
Skip to first unread message

Dave Durant

unread,
Feb 16, 1995, 1:15:25 PM2/16/95
to

Hi !

I've written a couple of lovely little xview apps under linux but
when I try to port them to solaris on this sparc I get all sorts of
errors with the Imakefile.

It can't find XView.tmpl or XView.prog or half of the xview libraries.

HELP !! :-)

Cheers,

Dave Durant.

Message has been deleted

David Whitwell

unread,
Feb 19, 1995, 2:21:04 PM2/19/95
to

I suspect you're stuffed, as Sun appear to have bollocksed the imake stuff in
SunOS. You could always provide all the required support code with your
utilities (blech).

--
David Whitwell


Matthias Pfisterer

unread,
Feb 20, 1995, 6:53:20 AM2/20/95
to
In article <D43up...@aston.ac.uk>, Dave Durant <dura...@cs.aston.ac.uk> writes:
>
>I've written a couple of lovely little xview apps under linux but
>when I try to port them to solaris on this sparc I get all sorts of
>errors with the Imakefile.
>
>It can't find XView.tmpl or XView.prog or half of the xview libraries.

These files are included in the XView distribution in the directory config.
So get the distribution (the actual version is 3.2) by ftp.
Alternatively, I can mail you the configuration files.

Matthias

--
-------------------------------------------------------------------------
Matthias Pfisterer

matt...@chianti.philosophie.uni-stuttgart.de

Neil Skilling

unread,
Feb 21, 1995, 6:39:52 AM2/21/95
to
In article <D43up...@aston.ac.uk>, Dave Durant <dura...@cs.aston.ac.uk> writes:
>I've written a couple of lovely little xview apps under linux but
>when I try to port them to solaris on this sparc I get all sorts of
>errors with the Imakefile.
>
>It can't find XView.tmpl or XView.prog or half of the xview libraries.

This may seem obvious, but

1. Is OPENWINHOME set correctly on the Sun,
2. Have you done xmkmf on the Sun ?
3. What version of Xview is on the Sun ? Is it Xview 3 ?

Neil

--
Said we got to do something about where we're going, Step on a steam train,
Step out of the driving rain, Maybe run from the darkness in the night,
Singing Ha La La La De Day - Bono, Running To Stand Still

David Thomas Richard Given

unread,
Feb 22, 1995, 1:18:48 PM2/22/95
to
In article <D43up...@aston.ac.uk>,

Dave Durant <dura...@cs.aston.ac.uk> wrote:
>
>Hi !
>
>I've written a couple of lovely little xview apps under linux but
>when I try to port them to solaris on this sparc I get all sorts of
>errors with the Imakefile.
>
>It can't find XView.tmpl or XView.prog or half of the xview libraries.

Don't you love SunOS?

The reason why it doesn't work is because the standard SunOS imake is
totally knackered. Don't use it. The solution to the problem is to nuke
OpenWindows and install X11R6, I'm afraid (that's what I'm using now).
The X11R6 imake works fine.

If you can't do that, then don't use an Imakefile. Use a standard
Makefile. The includes you need are:

INCLUDES = -I$(OPENWINHOME)/include

...which should find most things, though from what you're saying, it
sounds as if XView hasn't been installed properly.


--
Why do people surf the Information | GCS -d+(?)(++) p(-+)(---) c++++ !l+(+)
Superhighway? Won't they get run | u++ e*(++) m*(++) s !n h+(++) f+ g+
over? | w+(+++) t--(+) r y? (Archimedes owner)
http://www.st-andrews.ac.uk:80/~www_sa/socs/virtual (Use at your own risk)

Message has been deleted

David Thomas Richard Given

unread,
Feb 24, 1995, 12:03:21 PM2/24/95
to
In article <1995Feb22....@kf8nh.wariat.org>,
Brandon S. Allbery <b...@kf8nh.wariat.org> wrote:
>Or, if you have a clue about imake configuration, fix Sun's imake
>configuration. One of these days I need to make a diff of my fixes to Solaris
>2.3's imake so I can apply it to 2.4 when we upgrade.

Difficult if you're not root, which I'm not. Anyone else admit to having
X11R6 in their account? :)

Hans de Graaff

unread,
Feb 27, 1995, 2:13:09 AM2/27/95
to
In article <3il3gp$j...@calvin.st-and.ac.uk>,

dt...@st-andrews.ac.uk (David Thomas Richard Given) writes:
>In article <1995Feb22....@kf8nh.wariat.org>,
>Brandon S. Allbery <b...@kf8nh.wariat.org> wrote:
>>Or, if you have a clue about imake configuration, fix Sun's imake
>>configuration. One of these days I need to make a diff of my fixes to Solaris
>>2.3's imake so I can apply it to 2.4 when we upgrade.
>
>Difficult if you're not root, which I'm not. Anyone else admit to having
>X11R6 in their account? :)

Not really that difficult. For imake to work correctly you just need to
tinker with some files, which you can copy from the standard distribution.

I just have my own copy of xmkmf, which includes my own library files, a
copy of which can normally be found in /usr/openwin/lib/config. Tweak all
files with the correct pathnames, en there you go. Working imake stuff.

Hans
--
Hans de Graaff J.J.de...@TWI.TUDelft.NL
Delft University of Technology Department of Information Systems
-----------------------------------------------------------------------
<a href=http://www.twi.tudelft.nl/People/J.J.deGraaff.html>WWW link</a>


Larry W. Virden

unread,
Feb 27, 1995, 9:01:37 AM2/27/95
to

You don't need all of x11r6 - just the imake sources that are broken out
over on <URL:ftp://indri.primate.wisc.edu/> I believe.
--
:s Larry W. Virden INET: larry....@cas.org
:s <URL:http://www-bprc.mps.ohio-state.edu/cgi-bin/hpp/lvirden_sig.html>
:s Unless explicitly stated to the contrary, nothing in this posting should
:s be construed as representing my employer's opinions.
0 new messages