This might just be my complete lack UNIX knowlege...
I'm trying to install emacs-20.3. The files are in
~cuthberm/Emacs/emacs-20.3 and I want the final install to be
in ed:/export/software/gnu
The final stage of the install (ie. the make) I'm having trouble with -
make install prefix=/export/software/gnu
exec_prefix=/export/software/gnu
- I'm using Sun Solaris 2.6
It goes fine for a while then I get the following ...
___________________________
/usr/vlocal/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:187:
warning: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the
previous definition
In file included from /usr/include/sys/stream.h:26,
from ../src/s/usg5-4.h:95,
from ../src/s/sol2.h:1,
from ../src/s/sol2-3.h:1,
from ../src/s/sol2-4.h:3,
from ../src/s/sol2-5.h:3,
from ../src/config.h:276,
from /home/cuthberm/Emacs/emacs-20.3/lib-src/movemail.c:58:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `movemail.o'
Current working directory /home/cuthberm/Emacs/emacs-20.3/lib-src
*** Error code 1
make: Fatal error: Command failed for target `lib-src'
> I'm trying to install emacs-20.3. The files are in
> ~cuthberm/Emacs/emacs-20.3 and I want the final install to be
> in ed:/export/software/gnu
Type ./configure --help and discover the very useful --prefix option.
Thus, the following ought to do the right thing:
(Lines wrapped for easier reading)
cd ~cuthberm/Emacs/emacs-20.3
./configure --with-gcc --prefix=/export/software/gnu --with-pop \
--with-x --with-toolkit=athena
Please note that I did *not* specify the configuration -- the
configure script is very good at figuring that out for itself.
kai
--
OOP: object oriented programming; OOPS: object oriented mistakes
I'm still getting these make errors, when I do make install ..etc.
Matt
> The final stage of the install (ie. the make) I'm having trouble with -
>
> make install prefix=/export/software/gnu
> exec_prefix=/export/software/gnu
>
> - I'm using Sun Solaris 2.6
The make output suggests you are using a Gcc compiled for Solaris 2.5
and that doesn't play well with Solaris 2.6.