[GRASSLIST:1907] RE: configuring Grass5.03 on Debian

Holger Zebner holgerzebner at gmx.de
Fri Nov 28 11:59:47 EST 2003


> There should be a file (or symlink to one) called either libz.a or
> libz.so. The usual situation on Linux is that libz.so is a symlink to
> the actual file, and the actual file includes the version number,
> e.g.:
>
> $ ls -l /usr/lib/libz.so
> lrwxrwxrwx    1 root     root           13 Apr  2  2002 /usr/lib/libz.so ->
> libz.so.1.1.3
>
> There will normally be another symlink which only contains the major
> version number, e.g.:
>
> $ ls -l /usr/lib/libz.so.?
> lrwxrwxrwx    1 root     root           13 Apr  2  2002 /usr/lib/libz.so.1
> -> libz.so.1.1.3
>
> The unversioned link (libz.so) is needed for compilation. FWIW, RedHat
> puts these links in the *-devel (development) packages (e.g.
> zlib-devel), along with the headers. The versioned link (libz.so.1) is
> needed at run-time. The actual file (e.g. libz.so.1.1.3) is needed for
> both.
>
> I don't know how Debian organises packages. If, like RedHat, it has
> separate development packages, you will need these in order to compile
> GRASS.
I don't know either how they organize the packages, yet. Sometimes in a 
non-conventional manner regarding the problems when installing from source.

I did kinda workaround:
I made a directory called links-for-install
Then I made all symlinks needed by GRASS in that dir. Like if you need 
libtiff.a and this isn't found by configure link it there and specify it in 
the ./configure --with-libtiff=/thedir

my link dir:

ls /usr/links-for-install/
insgesamt 8,0K
drwxr-xr-x    2 root     root         4,0K 2003-11-25 00:16 .
drwxr-xr-x   15 root     root         4,0K 2003-11-25 00:13 ..
lrwxrwxrwx    1 root     root           18 2003-11-25 00:15 libproj.a -> /usr/
lib/libproj.a
lrwxrwxrwx    1 root     root           19 2003-11-25 00:15 libproj.la -> /
usr/lib/libproj.la
lrwxrwxrwx    1 root     root           21 2003-11-25 00:15 libproj.so.0 -> /
usr/lib/libproj.so.0
lrwxrwxrwx    1 root     root           25 2003-11-25 00:15 libproj.so.0.4.1 
-> /usr/lib/libproj.so.0.4.1
lrwxrwxrwx    1 root     root           18 2003-11-25 00:11 libtiff.a -> /usr/
lib/libtiff.a
lrwxrwxrwx    1 root     root           19 2003-11-25 00:11 libtiff.so -> /
usr/lib/libtiff.so
lrwxrwxrwx    1 root     root           21 2003-11-25 00:11 libtiff.so.3 -> /
usr/lib/libtiff.so.3
lrwxrwxrwx    1 root     root           25 2003-11-25 00:12 libtiff.so.3.5.7 
-> /usr/lib/libtiff.so.3.5.7
lrwxrwxrwx    1 root     root           23 2003-11-25 00:16 projects.h -> /
usr/include/projects.h
lrwxrwxrwx    1 root     root           21 2003-11-25 00:12 tiffio.h -> /usr/
include/tiffio.h

Donno if this is a good manner of system administartion but I got GRASS 
installed through this.

Greetings
Holger




More information about the grass-user mailing list