Thomas Tanner wrote:
>
> On 08-Jul-99 Brian Paul wrote:
> > OK, I think I've finally got all the GNU utilities going on IRIX.
> > But compiling Mesa doesn't work. Here's the output:
> >
> > % ./configure
> [...]
>
> looks good so far
>
> > updating cache ./config.cache
> > loading cache ./config.cache
> > checking for a BSD compatible install... ./install-sh -c
> > checking whether make sets ${MAKE}... (cached) yes
> > checking for ANSI C header files... yes
> > checking for math.h... yes
> > checking for malloc.h... yes
> > checking for working const... yes
> > checking for inline... __inline
> > checking for strchr... yes
> > checking for memcpy... yes
> > checking for memmove... yes
> > checking for glide.h... no
> > checking for glide/glide.h... no
> > checking for ggi/ggi.h... no
> > checking for vga.h... no
> > checking for X... libraries , headers
>
> something is going wrong here! I think you should set
> the path of your X11 installation, e.g.
> --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
>
> [...]
>
> > % make
> > cd . \
> > && CONFIG_FILES= CONFIG_HEADERS=conf.h \
> > /bin/sh ./config.status
> > creating conf.h
> > conf.h is unchanged
> > make all-recursive
> > Making all in include
> > Making all in GL
> > Making all in src
> > don't know how to make all (bu42).
> > *** Error code 1 (bu21)
> > *** Error code 1 (bu21)
>
> What happens if you run `make' in src/?
>
> Could you please try to use GNU make?
> IRIX make seems to be broken.
I wouldn't call it broken; it just doesn't have all the features of
gmake. Anyway, here's the latest...
% ./configure --x-includes=/usr/include/X11 --x-libraries=/usr/lib32
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking host system type... mips-sgi-irix6.5
checking for gcc... (cached) cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether cc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) cc -E
checking build system type... mips-sgi-irix6.5
checking for ranlib... (cached) :
checking for non-GNU ld... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... (cached) no
checking for cc option to produce PIC... none
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc static flag -non_shared works... none
checking if the linker (/usr/bin/ld -n32) is GNU ld... no
checking whether the linker (/usr/bin/ld -n32) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld -n32 option to reload object files... -r
checking dynamic linker characteristics... irix6.5 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether make sets ${MAKE}... (cached) yes
checking for ANSI C header files... (cached) yes
checking for math.h... (cached) yes
checking for malloc.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) __inline
checking for strchr... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for glide.h... (cached) no
checking for glide/glide.h... (cached) no
checking for ggi/ggi.h... (cached) no
checking for vga.h... (cached) no
checking for X... libraries /usr/lib32, headers /usr/include/X11
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for XmuRegisterExternalAgent in -lXmu... (cached) yes
checking for sys/shm.h... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating include/Makefile
creating include/GL/Makefile
creating src/Makefile
creating src/FX/Makefile
creating src/GGI/Makefile
creating src/OSmesa/Makefile
creating src/SVGA/Makefile
creating src/X/Makefile
creating src/X86/Makefile
creating src-glu/Makefile
creating book/Makefile
creating demos/Makefile
creating samples/Makefile
creating xdemos/Makefile
creating util/Makefile
creating conf.h
conf.h is unchanged
% gmake
make all-recursive
gmake[1]: Entering directory `/usr2/brianp/local/Mesa/CVS'
Making all in include
gmake[2]: Entering directory `/usr2/brianp/local/Mesa/CVS/include'
Making all in GL
gmake[3]: Entering directory `/usr2/brianp/local/Mesa/CVS/include/GL'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr2/brianp/local/Mesa/CVS/include/GL'
gmake[3]: Entering directory `/usr2/brianp/local/Mesa/CVS/include'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr2/brianp/local/Mesa/CVS/include'
gmake[2]: Leaving directory `/usr2/brianp/local/Mesa/CVS/include'
Making all in src
gmake[2]: Entering directory `/usr2/brianp/local/Mesa/CVS/src'
gmake[2]: *** No rule to make target `all'. Stop.
gmake[2]: Leaving directory `/usr2/brianp/local/Mesa/CVS/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr2/brianp/local/Mesa/CVS'
gmake: *** [all-recursive-am] Error 2
% cd src
% gmake
Making all in FX
gmake[1]: Entering directory `/usr2/brianp/local/Mesa/CVS/src/FX'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr2/brianp/local/Mesa/CVS/src/FX'
Making all in GGI
gmake[1]: Entering directory `/usr2/brianp/local/Mesa/CVS/src/GGI'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr2/brianp/local/Mesa/CVS/src/GGI'
Making all in OSmesa
gmake[1]: Entering directory `/usr2/brianp/local/Mesa/CVS/src/OSmesa'
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
-I../../src -g -c osmesa.c
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -g
-Wp,-MD,.deps/osmesa.pp -c -DPIC
osmesa.c -o osmesa.lo
cc-1574 cc: ERROR
The definition of macro %sq is not valid.
cc-1005 cc: ERROR
The source file ".deps/osmesa.pp" is unavailable.
2 catastrophic errors detected in the compilation of ".deps/osmesa.pp".
Compilation terminated.
gmake[1]: *** [osmesa.lo] Error 1
gmake[1]: Leaving directory `/usr2/brianp/local/Mesa/CVS/src/OSmesa'
gmake: *** [all-recursive] Error 1
Perhaps we should take follow-ups to private email since I doubt most
readers are interested in IRIX issues.
-Brian
----------------------------------------------------------------------
Brian Paul Avid Technology / Softimage [EMAIL PROTECTED]
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev