[postgis-users] Compilation Error - postgis-1.0.0-rc4
strk at refractions.net
strk at refractions.net
Mon Mar 21 11:20:41 PST 2005
On Mon, Mar 21, 2005 at 10:22:03AM -0800, Tomeh, Husam wrote:
>
> Thanks. I created the patch file and placed it on postgis. I ran "patch
> < Makefile.patch" and got this error:
>
> Looks like a unified context diff.
> I can't seem to find a patch in there anywhere.
>
>
> Was this the right procedure to install your patch?
> Thanks,
Do it manually.. it basically quotes grep argument:
grep -v ^#
becomes:
grep -v '^#'
--strk;
>
> --
> 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: Monday, March 21, 2005 9:30 AM
> To: PostGIS Users Discussion
> Subject: Re: [postgis-users] Compilation Error - postgis-1.0.0-rc4
>
> On Mon, Mar 21, 2005 at 09:23:37AM -0800, Tomeh, Husam wrote:
> >
> > Since I'm still having problems with rc3, I downloaded rc4. I get the
> > following error when running make:
> >
> >
> > cpp -P -traditional-cpp -DUSE_VERSION=80 lwpostgis.sql.in | sed -e
> > 's:@MODULE_FILENAME@:\$libdir/liblwgeom.so.1.0:g;s:@POSTGIS_VERSION@:1
> > .0
> > USE_GEOS=1 USE_PROJ=1
> > USE_STATS=1:g;s:@POSTGIS_SCRIPTS_VERSION@:0.2.1:g;s/@POSTGIS_BUILD_DAT
> > E@
> > /2005-03-21 17:13:03/g' | grep -v ^# > lwpostgis.sql
>
> Apply this patch and see what happen:
>
> Index: lwgeom/Makefile
> ===================================================================
> RCS file: /home/cvs/postgis/postgis/lwgeom/Makefile,v
> retrieving revision 1.72
> diff -U2 -r1.72 Makefile
> --- lwgeom/Makefile 18 Mar 2005 12:43:23 -0000 1.72
> +++ lwgeom/Makefile 21 Mar 2005 17:46:41 -0000
> @@ -139,5 +139,5 @@
>
> lwpostgis.sql: lwpostgis.sql.in
> - cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) $< | sed -e
> 's:@MODULE_FILENAME@:$(MODULE_FILENAME):g;s:@POSTGIS_VERSION@:$(POSTGIS_
> VERSION):g;s:@POSTGIS_SCRIPTS_VERSION@:$(SCRIPTS_VERSION):g;s/@POSTGIS_B
> UILD_DATE@/$(POSTGIS_BUILD_DATE)/g' | grep -v ^# > $@
> + cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) $< | sed -e
>
> + 's:@MODULE_FILENAME@:$(MODULE_FILENAME):g;s:@POSTGIS_VERSION@:$(POSTGI
> + S_VERSION):g;s:@POSTGIS_SCRIPTS_VERSION@:$(SCRIPTS_VERSION):g;s/@POSTG
> + IS_BUILD_DATE@/$(POSTGIS_BUILD_DATE)/g' | grep -v '^#' > $@
>
> install: all installdirs install-lwgeom-lib install-lwgeom-scripts
>
>
> --strk;
>
> > cp lwpostgis.sql ..
> > Usage: grep -hblcnsviw pattern file . . .
> > cp: cannot access lwpostgis.sql
> > make[1]: *** [../lwpostgis.sql] Error 2
> > make[1]: Leaving directory
> > `/p01/postgresql-8.0.1/contrib/postgis-1.0.0-rc4/lwgeom'
> > make: *** [liblwgeom] Error 2
> >
> > Any thoughts?
> >
> > Thanks,
> >
> > --
> > 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: Friday, March 18, 2005 9:18 AM
> > To: PostGIS Users Discussion
> > Subject: Re: [postgis-users] Unusual Make/Compilation Error -
> > postgis-1.0.0-rc3
> >
> > On Fri, Mar 18, 2005 at 08:24:05AM -0800, Tomeh, Husam wrote:
> > >
> > > 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?
> >
> > Try current CVS, it contains the parser files already so you don't
> > have to generate them again.
> > --strk;
> >
> > >
> > > 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
> > >
> > >
> > > _______________________________________________
> > > 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