[GRASSLIST:990] Re: redhat8 compiling problems
Glynn Clements
glynn.clements at virgin.net
Thu Aug 21 20:01:01 EDT 2003
stef wrote:
> I have finally gotten to the point of compiling--with
> some success due to hamish_nospam. I am able to
> compile without the FLAGS but when I
> #gcc test.c
> I get a compile error of "no gis.h file"..any
> suggestions? I have checked the read permissions
> everything is find.
>
> I then tried to recompile with hamish_nospam's
> suggestion of:
>
> CFLAGS="-03 -march=i686 -wall" LDFLAGS="-s"
> ./configure
> CFLAGS="-03 -march=athlon -wall" LDFLAGS="-s"
> ./configure
> --with-postgres-includes=/usr/include/pgsql/server/
> --with-motif
> --with-motif-includes=/usr/X11R6/LessTif/Motif1.2/include/
> --with-motif-libs=/usr/X11R6/LessTif/Motif1.2/lib
> --with-blas
> --with-lapack
> --with-glw
> --with-dbm
> --with-dbm-includes=/usr/include/gdbm
> --with-freetype
> --with-freetype-includes=/usr/include/freetype2
> --with-readline
>
> but, I get these errors:
>
> configure: warning: CFLAGS=-03 -march=athlon -wall:
> invalid host type
> configure: warning: LDFLAGS=-s: invalid host type
> configure: error: can only configure for one host and
> one target at a time
1. Remove the first two lines from the above command.
2. "-wall" should be "-Wall" (upper-case "W").
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-user
mailing list