[postgis-users] Unusual Make/Compilation Error - postgis-1.0.0-rc3

Tomeh, Husam htomeh at firstam.com
Fri Mar 18 08:24:05 PST 2005


 
Although I did run configure before; however, running it again did help.

I ran into another error (see below). Is setting up postgis on a Linux
more straightforward than Solaris? Or it does not matter really?

Thanks..
---
anadev10 /p01/postgresql-8.0.1/contrib/postgis-1.0.0-rc3 :) make make -C
lwgeom
make[1]: Entering directory
`/p01/postgresql-8.0.1/contrib/postgis-1.0.0-rc3/lwgeom'
sh ../geos_version.sh /usr/local > postgis_geos_version.h bison -y -vd
-p lwg_parse_yy wktparse.y
make[1]: *** [wktparse.tab.c] Broken Pipe
make[1]: Leaving directory
`/p01/postgresql-8.0.1/contrib/postgis-1.0.0-rc3/lwgeom'
make: *** [liblwgeom] Error 2 
--
  Husam

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of
strk at refractions.net
Sent: Wednesday, March 16, 2005 11:16 AM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Unusual Make/Compilation Error -
postgis-1.0.0-rc3

On Wed, Mar 16, 2005 at 11:14:26AM -0800, Tomeh, Husam wrote:
> 
> Under src subdirectory, I see only Makefile.global.in , not 
> Makefile.global.

This usually means you didn't run ./configure from within
/p01/postgresql-8.0.1

--strk;

> And under src directory, there's a "makefile" subdirectory which has 
> Makefile.solaris ; but I can see Makefile.port.
> 
> 
> 
> Yes I did set up PGSQL_SRC to /p01/postgresql-8.0.1
> 
> --
>  Husam
> 
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of 
> strk at refractions.net
> Sent: Wednesday, March 16, 2005 9:39 AM
> To: PostGIS Users Discussion
> Subject: Re: [postgis-users] Unusual Make/Compilation Error -
> postgis-1.0.0-rc3
> 
> On Wed, Mar 16, 2005 at 09:25:44AM -0800, Tomeh, Husam wrote:
> > Hello,
> > 
> > According to the sysadmin, the make I used is a GNU make. 
> 
> Weird... do you have the PGSQL_SRC variable set ?
> Does setting it to base source of postgresql help ?
> Is your postgresql source tree configured ?
> 
> --strk;
> 
> > 
> > Thanks,
> > 
> > 
> > 
> > anadev10#pkginfo -l SMCmake
> >    PKGINST:  SMCmake
> >       NAME:  make
> >   CATEGORY:  application
> >       ARCH:  sparc
> >    VERSION:  3.80
> >    BASEDIR:  /usr/local
> >     VENDOR:  Free Software Foundation
> >     PSTAMP:  Steve Christensen
> >   INSTDATE:  Mar 15 2005 13:51
> >      EMAIL:  steve at smc.vnet.net
> >     STATUS:  completely installed
> >      FILES:       50 installed pathnames
> >                    5 shared pathnames
> >                    7 directories
> >                    1 executables
> >                 4661 blocks used (approx)
> >  
> > 
> > --
> > 
> > 
> > -----Original Message-----
> > From: postgis-users-bounces at postgis.refractions.net
> > [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of 
> > strk at refractions.net
> > Sent: Friday, March 11, 2005 10:24 PM
> > To: postgis-users at postgis.refractions.net
> > Subject: Re: [postgis-users] Unusual Make/Compilation Error -
> > postgis-1.0.0-rc3
> > 
> > On Fri, Mar 11, 2005 at 04:11:17PM -0800, Tomeh, Husam wrote:
> > > I have installed PostgreSQL 8 on my Solaris 2.8 dev machine. I 
> > > installed
> > > Proj.4 and GEOS spatial libraries and have been trying to install 
> > > the PostGIS library with no luck so far. I downloaded and 
> > > extracted
> > > postgis-1.0.0-rc3 under the the contrib subdirectory. When I run 
> > > "make", I get errors not finding other Making.* files under "src".

> > > I
> 
> > > checked for these Making.* files and they do exist!! However; I 
> > > keep
> 
> > > getting the following errors when I run "make":
> > 
> > You need GNU make, try 'gmake' instead of 'make' and see if it fixes

> > the problem.
> > 
> > --strk;
> > 
> > >  
> > >  
> > > anadev10 /p01/postgresql-8.0.1/contrib/postgis-1.0.0-rc3 :) make 
> > > make -C lwgeom
> > > make[1]: Entering directory
> > > `/p01/postgresql-8.0.1/contrib/postgis-1.0.0-rc3/lwgeom'
> > > ../Makefile.config:90: /src/Makefile.global: No such file or 
> > > directory
> > > Makefile:98: /src/Makefile.shlib: No such file or directory
> > > make[1]: *** No rule to make target `/src/Makefile.shlib'.  Stop.
> > > make[1]: Leaving directory
> > > `/p01/postgresql-8.0.1/contrib/postgis-1.0.0-rc3/lwgeom'
> > > make: *** [liblwgeom] Error 2
> > > 
> > > Any idea is highly appreciated. Thanks,
> > >  
> > > --
> > >    Husam
> > > 
> > > ******************************************************************
> > > **
> > > ** This message contains confidential information intended only 
> > > for the use of the addressee(s) named above and may contain 
> > > information that is legally privileged.  If you are not the 
> > > addressee, or the person responsible for delivering it to the 
> > > addressee, you are hereby notified that reading, disseminating, 
> > > distributing or copying
> 
> > > this message is strictly prohibited.  If you have received this 
> > > message by mistake, please immediately notify us by replying to 
> > > the message and delete the original message immediately
thereafter.
> > > 
> > > Thank you.                                       FADLD Tag
> > > ******************************************************************
> > > **
> > > **
> > 
> > > _______________________________________________
> > > postgis-users mailing list
> > > postgis-users at postgis.refractions.net
> > > http://postgis.refractions.net/mailman/listinfo/postgis-users
> > 
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-users
> > 
> > 
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-users
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________
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