[GRASS-user] Re: ./configure error with gdal-grass-1.3.1.2
David
dpleydel at univ-fcomte.fr
Fri Jun 30 13:30:50 EDT 2006
Thanks Jacolin, I never knew this directory was created so things are
advancing 8^)
I tried what you said. I filled /usr/local/grass-6.1.cvs/include/ with
links to all the files in /usr/local/grass-6.1.cvs/include/grass/
...but the problem persists.
Then I editing ld.so.conf to point to the /usr/local/grass-6.1.cvs and
not the source directory, ran ldconif and then
./configure --with-gdal=/usr/local/bin/gdal-config
--with-grass=/usr/local/grass-6.1.cvs/include
but again the same errors in the terminal and the config.log file.
checking for G_asprintf in -lgrass_gis... no
configure: error: --with-grass=/usr/local/grass-6.1.cvs requested, but libraries not found!
configure:1999: $? = 0
configure:2002: test -s conftest.o
configure:2005: $? = 0
configure:2023: result: none needed
configure:2041: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:2047: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2493: g++ -c -g -O2 conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:13: error: 'exit' was not declared in this scope
configure:2499: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
By the way I am using Debian Etch AMD64. Could that have anything to
do with the the difficulty I'm having getting the plugin to work?
cheers
Dave
On Fri, Jun 30, 2006 at 05:42:50PM +0200, Jacolin Yves wrote:
> Because it is not the right directory. I have to give you the one created
> during installation of grass. You gave me the one in the source, ie the one
> used to install grass ! And I use it ;-)
> After doing ./configure, make and make install, you wil have this directory
> (by default) :
> /usr/local/grass-6.1.cvs/include/grass/
> and you have to link file to
> /usr/local/grass-6.1.cvs/include/
>
> Sorry forthe mistake,
More information about the grass-user
mailing list