[GRASS-user] error in grass 7.0 configure file

Hi
There is a problem with grass configure sript:
....
checking whether to use Motif... yes
checking for location of Motif includes...
checking for Xm/Xm.h... no

configure: error: *** Unable to locate Motif includes

while

Xm.h is located in /usr/include/Xm

and --with-motif-includes is added to ./configure command
what is wrong??

in earlier compilation (few weeks ago) --with-motif-includes wasn't necesarry

Jarek

Jarekj:

There is a problem with grass configure sript:
....
checking whether to use Motif... yes
checking for location of Motif includes...
checking for Xm/Xm.h... no

configure: error: *** Unable to locate Motif includes

while

Xm.h is located in /usr/include/Xm

and --with-motif-includes is added to ./configure command
what is wrong??

in earlier compilation (few weeks ago)
--with-motif-includes wasn't necesarry

check what failed at the end of config.log

Hamish

Jarekj wrote:

There is a problem with grass configure sript:
....
checking whether to use Motif... yes
checking for location of Motif includes...
checking for Xm/Xm.h... no

configure: error: *** Unable to locate Motif includes

Note that Motif is only used by xganim.

while

Xm.h is located in /usr/include/Xm

From that compiler's perspective, it's more accurate to say that

<Xm/Xm.h> is located in /usr/include.

and --with-motif-includes is added to ./configure command
what is wrong??

You shouldn't be specifying --with-motif-includes= if <Xm/Xm.h> is in
/usr/include (as above).

in earlier compilation (few weeks ago) --with-motif-includes wasn't
necesarry

It still shouldn't be necessary.

Look in config.log for the actual error message.

--
Glynn Clements <glynn@gclements.plus.com>

Thanks for hint.

...
In file included from configure:13431:
/usr/include/Xm/Xm.h:59:34: error: X11/extensions/Print.h: No such file or directory
configure: failed program was:
....

but print.h also exist in /usr/include/X11/extension

but its seems looks like my linux problem

thanks again
Jarek

Hamish pisze:

Jarekj:
  

There is a problem with grass configure sript:
....
checking whether to use Motif... yes
checking for location of Motif includes...
checking for Xm/Xm.h... no

configure: error: *** Unable to locate Motif includes

while

Xm.h is located in /usr/include/Xm

and --with-motif-includes is added to ./configure command
what is wrong??

in earlier compilation (few weeks ago)
--with-motif-includes wasn't necesarry
    
check what failed at the end of config.log

Hamish

Jarekj wrote:

In file included from configure:13431:
/usr/include/Xm/Xm.h:59:34: error: X11/extensions/Print.h: No such file
or directory
configure: failed program was:
....

but print.h also exist in /usr/include/X11/extension

print.h or Print.h? Case matters. It should be Print.h, with a capital
"P".

FWIW, the file is part of the XPrint extension (the relevant package
is usually named "printproto").

--
Glynn Clements <glynn@gclements.plus.com>

Glynn Clements pisze:

Jarekj wrote:

In file included from configure:13431:
/usr/include/Xm/Xm.h:59:34: error: X11/extensions/Print.h: No such file or directory
configure: failed program was:
....

but print.h also exist in /usr/include/X11/extension
    
print.h or Print.h? Case matters. It should be Print.h, with a capital
  
Of course Print.h, type mismatch :wink:
"P".

FWIW, the file is part of the XPrint extension (the relevant package
is usually named "printproto").

well, I have both printproto and printporto-dev installed and from april 08 (Hardy Heron) i compile grass70 regularly and nothing happens so I'm little surprised...

very thinks for your suggestions

Jarek