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

Randy James rjames57 at yahoo.com
Mon Aug 15 13:13:23 PDT 2005


I had a problem like this the postgresql rpms do not always contain the full
source files, download the source.

--- "M. Fioretti" <mfioretti at mclink.it> wrote:

> On Mon, Aug 15, 2005 13:33:11 PM -0600, Ethan Alpert
> (ealpert at digitalglobe.com) wrote:
> 
> > You need to compile postgresql from source to build the postgis
> > extensions because postgis uses files in the source tree.
> > 
> 
> This is why I installed the source RPM, as described in the original
> message. A source RPM *is* a copy of the whole source tree of the
> original package, plus all the patches needed for that distribution.
> Isn't it enough?
> 
> > Look for a postgresql-dev perhaps if it exists you may be able to use
> > it.
> 
> See above. I thought that the source RPM was all that I needed, and in
> fact when you "install" it it creates a src/contrib subdirectory. See
> the paths I mentioned in the original message.
> 
> Or maybe I am completely missing something else?
> 
> 
> > 
> > -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 SUN TROPIC beauty farm reopens today: featuring exotic swimming
>  pools, and, under the palm trees, **UVA lamps**"
> (unluckily for humankind, a REAL ad that I read in a real magazine)
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the postgis-users mailing list