[comp.windows.x.motif] Help With Motif Build on Sparc 1 with 4.0.3

seaney@bach.cogsci.uiuc.edu (Steven Seaney) (01/04/91)

I've spent the last several days trying to install Motif on a SparcStation 1
running SunOS 4.0.3 and Xwindows with patches 1-18 applied.  The current
problems (and the ones I can't get past) appear well into the make:
_______________________________________________________________________________
cc -c -O -D_NO_PROTO -DSTRINGS_ALIGNED -DNO_REGEX -DNO_ISDIR -DUSE_RE_COMP -DUSE_GETWD  -I../../. -I
. -I../../. -I../.././X11      version.c
make: Fatal error: Don't know how to make target `../.././extensions/lib/libXext.a'
Current working directory /imports/dante/mnt8/cogsci_net/src/Motif/clients/mwm
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /imports/dante/mnt8/cogsci_net/src/Motif/clients
*** Error code 1
-------------------------------------------------------------------------------

To make things even worse when I tried to recompile X11R4 with the osf patch
provided with Motif installed I got stopped at the make install by:

_______________________________________________________________________________
installing in ./lib/Xt...
rm -f TMstate.o shared/TMstate.o
cc -pic -c -DSHAREDCODE -DSUNSHLIB -O   -I../../.     -DINCLUDE_ALLOCA_H  -DXAW
_BC TMstate.c
"TMstate.c", line 760: destination undefined
"TMstate.c", line 761: RemoveRemoveAccelerators undefined
"TMstate.c", line 761: widget undefined
"TMstate.c", line 761: warning: statement not reached
"TMstate.c", line 772: RemoveAccelerators undefined
*** Error code 1
make: Fatal error: Command failed for target `TMstate.o'
Current working directory /imports/dante/mnt8/cogsci_net/src/R4/mit/lib/Xt
*** Error code 1
make: Fatal error: Command failed for target `install'
Current working directory /imports/dante/mnt8/cogsci_net/src/R4/mit/lib
*** Error code 1
-------------------------------------------------------------------------------


Any suggestions out there?  I'd really appreciate any help!!!!!!!

Thanks A Lot,

Steve

->  A year ago I thought a kernal was somwthing that got stuck in your teeth <-


--
*******************************************************************************
* seaney@cogsci.uiuc.edu     *  2127 Beckman Institute                        *
******************************  University of Illinois                        *
* 217 / 244-3666             *  Urbana, Il 61801                              *
*******************************************************************************

boote@bierstadt.scd.ucar.edu (Jeff W. Boote) (01/05/91)

In article <1991Jan4.025002.16145@ux1.cso.uiuc.edu>, seaney@bach.cogsci.uiuc.edu (Steven Seaney) writes:
> cc -c -O -D_NO_PROTO -DSTRINGS_ALIGNED -DNO_REGEX -DNO_ISDIR -DUSE_RE_COMP -DUSE_GETWD  -I../../. -I
> . -I../../. -I../.././X11      version.c
> make: Fatal error: Don't know how to make target `../.././extensions/lib/libXext.a'
> Current working directory /imports/dante/mnt8/cogsci_net/src/Motif/clients/mwm
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /imports/dante/mnt8/cogsci_net/src/Motif/clients
> *** Error code 1

You can fix this by changing some things in the config directory.  This is 
happening because you have HasSunOSSharedLibraries defined as yes.  The
rules in project.tmpl are not correct for this.  What you will probably want
to do is not define this originally and get things built and then go threw
it later and figure out how to make it use shared libs.

-- 
Jeff W. Boote                   SCD/NCAR
boote@ncar.ucar.edu           Boulder, Colo