[GRASS5] Grass51 compile error

Radim Blazek blazek at itc.it
Fri Feb 28 07:55:01 EST 2003


On Friday 28 February 2003 10:56 am, Harald Wehr wrote:
> I wanted to try the new vector features in grass51 but I get following
> error during the make-process:
>
> ------
> postgres
> make[3]: Wechsel in das Verzeichnis
> »/home/harald/sourcen/grass51/db/drivers/postgres«
> 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
> »/home/harald/sourcen/grass51/db/drivers/postgres«
> make[2]: *** [subdirs] Fehler 1
> make[2]: Verlassen des Verzeichnisses
> »/home/harald/sourcen/grass51/db/drivers«
> 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?

Update grass51/db/drivers/postgres/Makefile from CVS
or remove "$(LIBES)" from "$(DRIVER): $(ARCH_OBJS) $(LIBES)"

Radim




More information about the grass-dev mailing list