From: btmi03@btr0x1.hrz.uni-bayreuth.de (A. Betten)
Subject: Interviews on OSF1
Date: 10 Mar 1995 16:15:21 +0100 [thread overview]
Message-ID: <3jpqe9$5fr@btr0x1.hrz.uni-bayreuth.de> (raw)
from
Anton Betten (anton@btm2x2.mat.uni-bayreuth.de)
date:
Fri Mar 10 16:04:23 MET 1995
to
comp.unix.osf.osf1
comp.windows.interviews
and
interviews-bugs@interviews.stanford.edu
and to
greene@newton.ccs.tuns.ca
(question in comp.unix.osf.osf1)
in response to:
Courtney Greene: InterViews on OSF Wed, 8 Mar 1995 20:32
Hi,
Has anyone managed to get Interviews 3.1 or any version for
that matter working on their DEC Alpha?
Are there any sites out there that have interviews pre-configured
for OSF?
Any pointers will be greatly appreciated!
Thanks,
Courtney Greene Technical University of Nova Scotia
greene@tuns.ca Halifax, Nova Scotia
comes this:
Installing InterViews 3.1 on a DEC Alpha:
using the patch
iv-3.1-DEC-Alpha.diff
i)
correction to iv-3.1-DEC-Alpha.diff:
first few lines have to be:
### Need to change the suffix of C++ file from .c to .cc
for dir in src/bin src/examples src/lib/Dispatch src/lib/InterViews src/lib/IV-2_6 \
src/lib/IV-X11 src/lib/OS src/lib/Unidraw src/lib/ibuild-samples
do
find iv/$dir -name '*.c' -print | xargs -t -i mv {} {}c
done
(the directory src/lib/InterViews was missing)
ii)
correction to iv-3.1-DEC-Alpha.diff:
last line has to be:
\end-of-interviews-patch-kit
iii)
unpack 3.1.tar
put iv-3.1-DEC-Alpha.diff beneath iv directory
give a
sh iv-3.1-DEC-Alpha.diff
to apply all the patches
(needs to have a working 'patch' programm,
not btm2xf but btm2xg - these are names of local machines)
iv)
edit iv/src/config/local.def:
#define InstalledRoot ... (where installed software goes)
for example
#define InstalledRoot /home/btm2xz/anton/SOFT/IV/iv/installed
or better:
#define InstalledRoot /usr/local/InterViews
(the directory installed will be created on
make install
)
#define CCSuffix cc
eventually also in cxx.def
v)
go into the iv directory
vi)
setenv CPU alpha
vii)
if you don't have it:
install gnu make
(OSF make will not work because
makefiles do include files called .dependencies )
watch that gnu make comes first in your path !
viii)
make World >a
(this takes a while, so put the output into a file
for later examination)
ix)
make install
x)
have fun !
errors during make:
../../IV-2_6/xpainter.cc:464: warning: Extraneous semicolon.
../../IV-2_6/xpainter.cc:465: warning: Extraneous semicolon.
ld:
Cannot open file /usr/local/lib/so_locations for reading
make[5]: *** [libIV.so] Error 1
make[5]: Target `all' not remade because of errors.
make[4]: [all] Error 1 (ignored)
../catalog.cc:643: warning: In the initializer for c, the pointer value "data[j]
" is converted to a signed int type that is smaller than a pointer.
../catalog.cc:814: warning: In the initializer for c, the pointer value "(*extra
_data)[i]" is converted to a signed int type that is smaller than a pointer.
../dialogs.cc:328: warning: In this statement, the pointer value "value" is conv
erted to an unsigned int type that is smaller than a pointer.
../path.cc:34: warning: In this statement, the pointer value "c" is converted to
an unsigned int type that is smaller than a pointer.
../uhash.cc:42: warning: In this statement, the pointer value "c" is converted t
o an unsigned int type that is smaller than a pointer.
../doc-composition.cc:94: warning: Extraneous semicolon.
../doc-composition.cc:95: warning: Extraneous semicolon.
../ibborder.cc:126: warning: In the initializer for w, the pointer value "bd->_v
oid" is converted to a signed int type that is smaller than a pointer.
../ibframe.cc:215: warning: In the initializer for lbrt, the pointer value "vd->
_void" is converted to a signed int type that is smaller than a pointer.
../ibframe.cc:305: warning: In this statement, the pointer value "d->_void" is c
onverted to a signed int type that is smaller than a pointer.
../ibgrblock.cc:352: warning: In the initializer for al, the pointer value "vd->
_void" is converted to an unsigned int type that is smaller than a pointer.
../ibmenu.cc:979: warning: In the initializer for a, the pointer value "vd->_voi
d" is converted to an unsigned int type that is smaller than a pointer.
../ibmessage.cc:122: warning: In the initializer for a, the pointer value "vd->_
void" is converted to an unsigned int type that is smaller than a pointer.
../ibviewport.cc:260: warning: In the initializer for al, the pointer value "vd-
>_void" is converted to an unsigned int type that is smaller than a pointer.
now described:
how to build both libraries:
*.so (shared)
and
*.a (archive)
look into the iv-alpha.cf file:
change it to:
#include <osf1.cf>
/* define this if you want .a libraries: */
/* clear this if you want .so libraries: */
#undef HasSharedLibraries
#undef InstallSharedDebugLibraries
/* ab */
and some pages down:
/*
#ifndef UsrLocalLibLocations
#define UsrLocalLibLocations $(USRLOCALSHLIBDIR)/so_locations
#endif
*/
#ifndef UsrLocalLibLocations
#define UsrLocalLibLocations $(USRSHLIBDIR)/so_locations
#endif
/* ab */
(this is for shared libraries:
only the last -check_registry is important if there are multiple of them)
reply other threads:[~1995-03-10 15:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox