[Mapserver-users] proj.pm build problem
Steve Lime
steve.lime at dnr.state.mn.us
Mon Jun 9 09:57:28 PDT 2003
It's probably an issue with Swig and perl 5.8. I remember seeingthe
issue
come up on the SWIG mailing list. Using the latest version of Swig
(from
www.swig.org) may help. You can install that code and rebuild the
module
by running 'swig -perl5 -shadow proj.i' and building as normal. I'll be
looking
into it on this end cause we're upgrading all of our RedHat machines
but
that may not happen for a couple of weeks.
Steve
>>> Dana Quinn <dana at nextbus.com> 06/05/03 11:51AM >>>
This is a little bit obscure, but I'll give it a
try. I'm trying to build the proj.pm that Steve
Lime released a while back, and I getting a strange
message that's keeping it from building. I
haven't seen this before, and thought I'd ask about
it here.
(I'm building on a RH 8.0/Perl 5.8 system)
so after I do 'perl Makefile.PL', I do a make and get
this:
$ make
cp proj.pm blib/lib/proj.pm
gcc -c -I/u1/src/ms/proj/include -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -DVERSION=\"\"
-DXS_VERSION=\"\" -fpic
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" proj_wrap.c
proj_wrap.c: In function `_swig_create_magic':
proj_wrap.c:416: warning: assignment from incompatible pointer type
proj_wrap.c:417: warning: assignment from incompatible pointer type
proj_wrap.c: At top level:
proj_wrap.c:750: conflicting types for `boot_proj'
proj_wrap.c:431: previous declaration of `boot_proj'
make: *** [proj_wrap.o] Error 1
Does anyone have any ideas what could be going on here? My
normal troubleshooting technique (pasting the error message into
google), didn't return any matches (sort of amazing). I must
be doing something wrong. I am running a different version
of glibc than another RH8.0 system that this worked on - is
it possible that it could cause a problem?
Any help would be appreciated!
Dana
PS I also re-swig'd, which didn't help, and kind of made things
worse actually.
PPS Wish I could be with you all there at the users conference!
Have fun!
--
Dana Quinn, dana at nextbus.com
NextBus Information Systems
(510) 420-3117
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list