[postgis-users] Cannot compile postgis on Fedora Core 4

Ethan Alpert ealpert at digitalglobe.com
Mon Aug 15 12:33:11 PDT 2005


You need to compile postgresql from source to build the postgis
extensions because postgis uses files in the source tree.

Look for a postgresql-dev perhaps if it exists you may be able to use
it. YMMV

-e

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of M.
Fioretti
Sent: Monday, August 15, 2005 1:29 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] Cannot compile postgis on Fedora Core 4


Greetings,

I have a Fedora Core 4 system with PostgreSQL installed via rpm:

# rpm -q postgresql
postgresql-8.0.3-1

I have dowloaded postgis from the website. To follow the build
instructions (cd in "contrib" of postgresql source tree etc..) I have
also installed the postgresql source rpm for fedora core 4, and then
executed the postgis instruction from the contrib directory that is
created. However, the build still fails:


##################################################################
I have set PGSQL_SRC to
/home/marco/RPM_FOUNDRY/SOURCES/postgresql-8.0.3/postgresql-8.0.3

in Makefile.config

and I get:

[marco at polaris postgis-1.0.3]$ pwd
/home/marco/RPM_FOUNDRY/SOURCES/postgresql-8.0.3/postgresql-8.0.3/contri
b/postgis-1.0.3
You have mail in /var/spool/mail/marco
[marco at polaris postgis-1.0.3]$ make
make -C lwgeom
make[1]: Entering directory
`/home/marco/RPM_FOUNDRY/SOURCES/postgresql-8.0.3/postgresql-8.0.3/contr
ib/postgis-1.0.3/lwgeom'
../Makefile.config:98:
/home/marco/RPM_FOUNDRY/SOURCES/postgresql-8.0.3/postgresql-8.0.3/src/Ma
kefile.global:
No such file or directory
Makefile:113: /src/Makefile.shlib: No such file or directory
make[1]: *** No rule to make target `/src/Makefile.shlib'.  Stop.
make[1]: Leaving directory
`/home/marco/RPM_FOUNDRY/SOURCES/postgresql-8.0.3/postgresql-8.0.3/contr
ib/postgis-1.0.3/lwgeom'
make: *** [liblwgeom] Error 2

###############################################################

I *have* seen in the postgis archive a similar message to this one, but
it doesn't seem to be the same problem I have. Any pointer?

TIA,
	Marco

-- 
Marco Fioretti                    mfioretti, at the server mclink.it
Fedora Core 3 for low memory      http://www.rule-project.org/

...the surest sign that intelligent life exists elsewhere in the
Universe is that none of it has tried to contact us. (Calvin)
_______________________________________________
postgis-users mailing list postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list