[GRASS5] Grass51 compile error

Harald Wehr hwehr at hs-harz.de
Fri Feb 28 04:56:34 EST 2003

I wanted to try the new vector features in grass51 but I get following
error during the make-process:

make[3]: Wechsel in das Verzeichnis
make[3]: *** Keine Regel vorhanden, um das Target »-lpq«,
    benötigt von
»/home/harald/sourcen/grass51/dist.i686-pc-linux-gnu/driver/db/pg«, zu
erstellen.  Schluss.
make[3]: Verlassen des Verzeichnisses
make[2]: *** [subdirs] Fehler 1
make[2]: Verlassen des Verzeichnisses
make[1]: *** [subdirs] Fehler 1
make[1]: Verlassen des Verzeichnisses »/home/harald/sourcen/grass51/db«
make: *** [default] Fehler 1
harald at laptop:~/sourcen/grass51>

I think it is due to the message "no rule to make target -lpq". What can
I do here?

Here are some information about my system:

-SuSE Linux 8.1
-Grass50 snapshot experimental from 2003_02_22 (compiled and installed
without any problems)
-Postgres 7.3

Here is how i call the configure-script of grass51:
CFLAGS="-g -Wall" ./configure
    --prefix=/home/harald/programs/grass_exp \
    --with-postgres-libs=/home/mobiharz/programme/postgres/lib \
    --with-tcltk-includes=/home/harald/programs/tcltk/include \
    --with-tcltk-libs=/home/harald/programs/tcltk/lib \

The output of configure looks like this:
GRASS is now configured for i686-pc-linux-gnu

    Source directory:          /home/harald/sourcen/grass51
    Build directory:           /home/harald/sourcen/grass51
    Installation directory:    /home/harald/programs/grass_exp/grass5
    C compiler:                gcc -g -O2
    FORTRAN compiler:

    NVIZ:                       yes

    X11 support:                yes
    DBM support:                no
    JPEG support:               yes
    TIFF support:               yes
    PNG support:                yes
    GD support:                 yes
    Tcl/Tk support:             yes
    PostgreSQL support:         yes
    MySQL support:              no
    OpenGL(R) support:          yes
    ODBC support:               yes
    FFTW support:               yes
    BLAS support:               no
    LAPACK support:             no
    Motif support:              no
    FreeType support:           no
    GLw support:                no
    NLS support:                no
    Readline support:           no

Can you help me?



More information about the grass-dev mailing list