[GRASSLIST:7388] grass_I error

in the ps.map dir when making binaries, i get this error:

/usr/bin/ld: cannot find -lgrass_I
collect2: ld returned 1 exit status
make: *** [/drive/rpms/grass-6.0.0/dist.i686-pc-linux-gnu/bin/ps.map] Error 1

i recently upgraded to FC4 and cant seem to get grass to work on
it.... any suggestions? =D

need fftw 2.1.5, tcl/tk 8.3, gdal 2.6.x, latest X11 libs. Rebuild all of
those, then try rebuilding grass.

in the ps.map dir when making binaries, i get this error:

/usr/bin/ld: cannot find -lgrass_I
collect2: ld returned 1 exit status
make: *** [/drive/rpms/grass-6.0.0/dist.i686-pc-linux-gnu/bin/ps.map]
Error 1

i recently upgraded to FC4 and cant seem to get grass to work on
it.... any suggestions? =D

--
Thomas Colson
Center For Earth Observation
North Carolina State University
Raleigh, NC
(919)515 3434
(919)673 8023
tom_colson@ncsu.edu

welll i have fftw 2.15, tcl/tk 8.4, gdal 2.6, and i presume i have
the latest X11 libs because i just upgraded to FC4...

any other suggestions?

On 6/30/05, Thomas Colson <tom_colson@ncsu.edu> wrote:

need fftw 2.1.5, tcl/tk 8.3, gdal 2.6.x, latest X11 libs. Rebuild all of
those, then try rebuilding grass.
> in the ps.map dir when making binaries, i get this error:
>
> /usr/bin/ld: cannot find -lgrass_I
> collect2: ld returned 1 exit status
> make: *** [/drive/rpms/grass-6.0.0/dist.i686-pc-linux-gnu/bin/ps.map]
> Error 1
>
>
> i recently upgraded to FC4 and cant seem to get grass to work on
> it.... any suggestions? =D
>
>

--
Thomas Colson
Center For Earth Observation
North Carolina State University
Raleigh, NC
(919)515 3434
(919)673 8023
tom_colson@ncsu.edu

go back to tcl/tk 8.3 there is a requirement that nviz will not work with
8.4, but I have found (after days of builds, posts, and throwing chairs)
that nothing on FC4 will work with tcl/tk 8.4

the dependencies are very specific for grass6 and it will generally not
work correctly if you upgrade to the next version of even one of
them...it's best to stick with the versions listed in the requirements.

compile each of the requirements and scan the config logs for any errors
before compiling grass. Most of them include test apps (fftw had many
tests) run those to make sure all installed correctly.

Are you aware of the ldconfig trick? Update your path(s) and then run
ldconf...sometimes that helps grass compile correctly.

I went thru this pain with FC4 last week. Good luck.

welll i have fftw 2.15, tcl/tk 8.4, gdal 2.6, and i presume i have
the latest X11 libs because i just upgraded to FC4...

any other suggestions?

On 6/30/05, Thomas Colson <tom_colson@ncsu.edu> wrote:

need fftw 2.1.5, tcl/tk 8.3, gdal 2.6.x, latest X11 libs. Rebuild all of
those, then try rebuilding grass.
> in the ps.map dir when making binaries, i get this error:
>
> /usr/bin/ld: cannot find -lgrass_I
> collect2: ld returned 1 exit status
> make: *** [/drive/rpms/grass-6.0.0/dist.i686-pc-linux-gnu/bin/ps.map]
> Error 1
>
>
> i recently upgraded to FC4 and cant seem to get grass to work on
> it.... any suggestions? =D
>
>

--
Thomas Colson
Center For Earth Observation
North Carolina State University
Raleigh, NC
(919)515 3434
(919)673 8023
tom_colson@ncsu.edu

--
Thomas Colson
Center For Earth Observation
North Carolina State University
Raleigh, NC
(919)515 3434
(919)673 8023
tom_colson@ncsu.edu

On Thu, Jun 30, 2005 at 04:15:03PM -0400, Thomas Colson wrote:

go back to tcl/tk 8.3 there is a requirement that nviz will not work with
8.4, but I have found (after days of builds, posts, and throwing chairs)
that nothing on FC4 will work with tcl/tk 8.4

GRASS works with tcl/tk 8.4 on various platforms/distros
(except for Debian).

>> > in the ps.map dir when making binaries, i get this error:
>> >
>> > /usr/bin/ld: cannot find -lgrass_I
>> > collect2: ld returned 1 exit status
>> > make: *** [/drive/rpms/grass-6.0.0/dist.i686-pc-linux-gnu/bin/ps.map]
>> > Error 1

please try this:

cd grass-6.0.0/lib/imagery/
make

Which error do you get?

And: do you use gcc4 (run gcc -v)? If so, you need to update
the GRASS source code as related issues have been fixed in
GRASS 6.1-CVS. In this case download either from CVS directly
or get a recent 6.1-CVS snapshot.

Markus

please try this:

cd grass-6.0.0/lib/imagery/
make

Which error do you get?

============================================
/usr/bin/ld: cannot find -lgrass_I
collect2: ld returned 1 exit status
make[1]: *** [/drive/rpms/grass-6.0.0/dist.i686-pc-linux-gnu/bin/i.zc] Error 1
make[1]: Leaving directory `/drive/rpms/grass-6.0.0/imagery/i.zc'

And: do you use gcc4 (run gcc -v)?

===========================================
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=i386-redhat-linux
Thread model: posix
gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)

> cd grass-6.0.0/lib/imagery/

..

> And: do you use gcc4 (run gcc -v)?

..

gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)

GRASS 6.0.0 is not compatible with gcc 4.0. Please try the weekly
CVS snapshot of the (future) 6.0.1 bugfix version of GRASS:

http://grass.ibiblio.org/grass60/source/snapshot/

Do let us know how you get on -- we need to know that 6.0.1 supports
gcc 4.0 before it is released.

Hamish