[postgis-devel] Compile issues on MingW trunk
Obe, Regina
robe.dnd at cityofboston.gov
Fri Jan 23 08:02:32 PST 2009
Mark,
Well copying the configure appears to work, but when I go to make I get
all sorts of errors mostly to do with the shp2pgsql changes. Note I did
not put in a --with-gui since I don't have wx loaded yet, but I assume
these errors are the core changes and not for the gui.
shp2pgsql-cli.exe
shp2pgsql-core.o: In function `pgis_logf':
d:/SVNProjects/PostGIS/trunk/loader/shp2pgsql-core.c:177: undefined
reference to `vasprintf'
shp2pgsql-core.o: In function `DropTable':
d:/SVNProjects/PostGIS/trunk/loader/shp2pgsql-core.c:1518: undefined
reference to `asprintf'
d:/SVNProjects/PostGIS/trunk/loader/shp2pgsql-core.c:1538: undefined
reference to `asprintf'
d:/SVNProjects/PostGIS/trunk/loader/shp2pgsql-core.c:1510: undefined
reference to `asprintf'
d:/SVNProjects/PostGIS/trunk/loader/shp2pgsql-core.c:1530: undefined
reference to `asprintf'
shp2pgsql-core.o: In function `LoadData':
d:/SVNProjects/PostGIS/trunk/loader/shp2pgsql-core.c:739: undefined
reference to `asprintf'
shp2pgsql-core.o:d:/SVNProjects/PostGIS/trunk/loader/shp2pgsql-core.c:74
4: more undefined references to `asprintf' follow
collect2: ld returned 1 exit status
make[1]: *** [shp2pgsql-cli.exe] Error 1
make[1]: Leaving directory `/D/SVNProjects/PostGIS/trunk/loader'
make: *** [loaderdumper] Error 2
On my OpenSUSE it compiles fine, but that is configured --with-gui
switch. Haven't tried without with-gui on that.
Also I thought I had it set last week so I could autogen under MingW for
1.4. I could have been dreaming and confusing with my GEOS autogen
experience.
For GEOS autogen I get the same warning below but without the errors and
it configures and compiles fine.
> /usr/share/aclocal/autoopts.m4:22: warning: underquoted definition of
> AG_PATH_AUTOOPTS
> run info '(automake)Extending aclocal'
> or see
> http://sources.redhat.com/automake/automake.html#Extending%20aclocal
Thanks,
Regina
-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Mark
Cave-Ayland
Sent: Friday, January 23, 2009 10:42 AM
To: PostGIS Development Discussion
Subject: Re: [postgis-devel] Compile issues on MingW trunk
Obe, Regina wrote:
> I tried doing a make clean and
>
> sh autogen.sh
>
> on MingW and I'm getting this on autogen and not sure what it means
>
> /usr/share/aclocal/autoopts.m4:22: warning: underquoted definition of
> AG_PATH_AUTOOPTS
> run info '(automake)Extending aclocal'
> or see
> http://sources.redhat.com/automake/automake.html#Extending%20aclocal
> Can't locate object method "path" via package "Request" (perhaps you
> forgot to load "Request"?) at /usr/share/autoconf/Autom4te/C4che.pm
line
> 69, <GEN1> line 111.
> aclocal: autom4te failed with exit status: 127
> Can't locate object method "path" via package "Request" (perhaps you
> forgot to load "Request"?) at /usr/share/autoconf/Autom4te/C4che.pm
line
> 69, <GEN1> line 111.
>
> Thanks,
> Regina
Hi Regina,
What if you run autogen.sh on your SuSE box to generate configure and
transfer the resulting file across? Does it work then?
ATB,
Mark.
--
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
More information about the postgis-devel
mailing list