I compiled grass62 on two computers using this sequence of commands:
1) ./configure --without-opengl
2) make
3) make install
On the computer that was upgraded from Fedora Core 5 to FC6 its fine,
On the FC5 computer I have no X monitors, eg d.mon -l gives:
GRASS 6.2.0 (usgrid):~ > d.mon -l
name description
---- -----------
PNG Create PNG Map
png1 Create PNG Map
png2 Create PNG Map
png3 Create PNG Map
png4 Create PNG Map
png5 Create PNG Map
png6 Create PNG Map
png7 Create PNG Map
gism Create PNG Map for gis.m
GRASS 6.2.0 (usgrid):~ >
How can I get X0, X1, etc. Does this have something to do with FC5.
Paul Van Deusen wrote:
I compiled grass62 on two computers using this sequence of commands:
1) ./configure --without-opengl
2) make
3) make install
On the computer that was upgraded from Fedora Core 5 to FC6 its fine,
On the FC5 computer I have no X monitors, eg d.mon -l gives:
GRASS 6.2.0 (usgrid):~ > d.mon -l
name description
---- -----------
PNG Create PNG Map
png1 Create PNG Map
png2 Create PNG Map
png3 Create PNG Map
png4 Create PNG Map
png5 Create PNG Map
png6 Create PNG Map
png7 Create PNG Map
gism Create PNG Map for gis.m
GRASS 6.2.0 (usgrid):~ >
How can I get X0, X1, etc. Does this have something to do with FC5.
This probably means that XDRIVER failed to compile. Check the
error.log file to see if that is the case; if so; examine the output
from "make -C display/drivers/XDRIVER" for clues.
--
Glynn Clements <glynn@gclements.plus.com>
That was the problem. It works if I configure like this:
./configure --without-opengl --x-includes=/usr/includes/X11 --x-libraries=/usr/lib
Glynn Clements wrote:
Paul Van Deusen wrote:
I compiled grass62 on two computers using this sequence of commands:
1) ./configure --without-opengl
2) make
3) make install
On the computer that was upgraded from Fedora Core 5 to FC6 its fine,
On the FC5 computer I have no X monitors, eg d.mon -l gives:
GRASS 6.2.0 (usgrid):~ > d.mon -l
name description
---- -----------
PNG Create PNG Map
png1 Create PNG Map
png2 Create PNG Map
png3 Create PNG Map
png4 Create PNG Map
png5 Create PNG Map
png6 Create PNG Map
png7 Create PNG Map
gism Create PNG Map for gis.m
GRASS 6.2.0 (usgrid):~ >
How can I get X0, X1, etc. Does this have something to do with FC5.
This probably means that XDRIVER failed to compile. Check the
error.log file to see if that is the case; if so; examine the output
from "make -C display/drivers/XDRIVER" for clues.
Paul Van Deusen wrote:
That was the problem. It works if I configure like this:
./configure --without-opengl --x-includes=/usr/includes/X11
--x-libraries=/usr/lib
The --x-includes= switch implies that certain X headers haven't been
installed correctly. X headers always live in a directory named "X11",
but that is part of the header name, not the search path.
E.g. for versions of X installed in /usr/X11R6, the headers are
normally found as e.g. /usr/X11R6/include/X11/Xlib.h etc. However, the
correct --x-includes= setting would be /usr/X11R6/include (which is
the default) rather than /usr/X11R6/include/X11, as the headers are
referenced as e.g. "#include <X11/Xlib.h>"
Similarly, with X installed under /usr, neither of those switches are
necessary if it has been installed correctly. Gentoo installs to /usr
(e.g. libraries as /usr/lib/libX11.so etc, headers as
/usr/include/X11/Xlib.h etc), and neither --x-includes= nor --x-libs=
are required.
--
Glynn Clements <glynn@gclements.plus.com>
This computer was set up with FC5 when new. Possibly, some packages that were added later
messed it up. In any event, everything is working at the moment. I also got opengl going
after adding these packages:
mesa-libGLU-devel libdrm-devel libXmu-devel libXext-devel
Glynn Clements wrote:
Paul Van Deusen wrote:
That was the problem. It works if I configure like this:
./configure --without-opengl --x-includes=/usr/includes/X11 --x-libraries=/usr/lib
The --x-includes= switch implies that certain X headers haven't been
installed correctly. X headers always live in a directory named "X11",
but that is part of the header name, not the search path.
E.g. for versions of X installed in /usr/X11R6, the headers are
normally found as e.g. /usr/X11R6/include/X11/Xlib.h etc. However, the
correct --x-includes= setting would be /usr/X11R6/include (which is
the default) rather than /usr/X11R6/include/X11, as the headers are
referenced as e.g. "#include <X11/Xlib.h>"
Similarly, with X installed under /usr, neither of those switches are
necessary if it has been installed correctly. Gentoo installs to /usr
(e.g. libraries as /usr/lib/libX11.so etc, headers as
/usr/include/X11/Xlib.h etc), and neither --x-includes= nor --x-libs=
are required.
--
Paul Van Deusen
NCASI
600 Suffolk St. Fifth Floor
Lowell, MA 01854
978-934-1948