Hi,
I am still unable to compiče mapserver 6.0.1. I can't find this function
(png_set_longjmpfn) defined anywhere. Can someone give me a clue? I am almost
sure I am doing some stupid mistake, but for me seems unsolvable :-(
Thanks very much
regards, dejan
On 8. ruj. 2011., at 12:12, Dejan
Can you check you are linking against the same version libpng library
as the png.h header (i.e. check you don't have multiple png versions
installed)
2011/9/12 Dejan Gambin dejan.gam...@coin.hr:
Hi,
I am still unable to compiče mapserver 6.0.1. I can't find this function
(png_set_longjmpfn)
Hi Thomas
Thanks for the help. As I said, I have system libpng installed in /usr/lib:
dgambin@coin:~/mapserver-6.0.1$ dpkg -l libpng*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/
can you try modifying mapimageio.c and replace
#include png.h
by
#include /usr/local/include/png.h
if you have both png 1.4 and 1.5 in /usr/local, you're asking for
trouble, make sure this is not the case
2011/9/12 Dejan Gambin dejan.gam...@coin.hr:
Hi Thomas
Thanks for the help. As I said, I
It doesn't help :-(
Here is the part of make compile statement with mapimageio.c, maybe this can
help you:
gcc -c -g -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT
-DNEED_STRRSTR -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_LIBXML2 -DUSE_CURL
-DUSE_CURLOPT_PROXYAUTH
2011/9/12 Dejan Gambin dejan.gam...@coin.hr:
It doesn't help :-(
Here is the part of make compile statement with mapimageio.c, maybe this can
help you:
gcc -c -g -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT
-DNEED_STRRSTR -DUSE_WMS_LYR -DUSE_WFS_LYR
I get no output, just mapimageio.o generatedI'll try again...maybe some
other option...
dejan
On 12. ruj. 2011., at 11:45, thomas bonfort wrote:
2011/9/12 Dejan Gambin dejan.gam...@coin.hr:
It doesn't help :-(
Here is the part of make compile statement with mapimageio.c, maybe this
make sure you remove the -o mapimageio.o from the call
2011/9/12 Dejan Gambin dejan.gam...@coin.hr:
I get no output, just mapimageio.o generatedI'll try again...maybe some
other option...
dejan
On 12. ruj. 2011., at 11:45, thomas bonfort wrote:
2011/9/12 Dejan Gambin
O sorry, here it is:
mapimageio.o: mapimageio.c mapserver.h /usr/include/stdio.h \
/usr/include/features.h /usr/include/sys/cdefs.h \
/usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \
/usr/include/gnu/stubs-64.h \
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/include/stddef.h \
Here is the ticket I created:
http://trac.osgeo.org/mapserver/ticket/4019
regards, dejan
On 12. ruj. 2011., at 11:45, thomas bonfort wrote:
2011/9/12 Dejan Gambin dejan.gam...@coin.hr:
It doesn't help :-(
Here is the part of make compile statement with mapimageio.c, maybe this can
help
One last check: can you run the linker command with the -t option
and post the output
2011/9/12 Dejan Gambin dejan.gam...@coin.hr:
Here is the ticket I created:
http://trac.osgeo.org/mapserver/ticket/4019
regards, dejan
On 12. ruj. 2011., at 11:45, thomas bonfort wrote:
2011/9/12 Dejan
Is this ok?
coin:/home/dgambin/mapserver-6.0.1# g++ -g -t -fPIC -Wall -DHAVE_VSNPRINTF
-DNEED_STRLCPY -DNEED_STRLCAT -DNEED_STRRSTR -DUSE_WMS_LYR
-DUSE_WFS_LYR -DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH -DUSE_KML
-DUSE_WFS_SVR -DUSE_WMS_SVR -DUSE_MYSQL -DUSE_POSTGIS
it's using the libpng.so from /usr/lib64 instead of /usr/local
try adding -L/usr/local/lib right after -o shp2img.o
2011/9/12 Dejan Gambin dejan.gam...@coin.hr:
Is this ok?
coin:/home/dgambin/mapserver-6.0.1# g++ -g -t -fPIC -Wall
-DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT
Note that even though this may make it compile, you might end up with
runtime errors as you are mixing png versions (gd is linked against
libpng from /usr/lib64)
you might try not using the system gd version, and compile your own
one using the png version of /usr/local
On Mon, Sep 12, 2011 at
Thanks Thomas,
I have suspection something might be related to gd but wasn't sure. Besides
this solution, where should I add this piece of code (-L/usr/local/lib) so it
get linked properly?
dejan
On 12. ruj. 2011., at 12:24, thomas bonfort wrote:
Note that even though this may make it
don't do that. recompile gd using the /usr/local libpng and
reconfigure mapserver with --with-gd=/usr/local
regards,
thomas
2011/9/12 Dejan Gambin dejan.gam...@coin.hr:
Thanks Thomas,
I have suspection something might be related to gd but wasn't sure. Besides
this solution, where should I
OK thanks very much
regards, dejan
On 12. ruj. 2011., at 12:29, thomas bonfort wrote:
don't do that. recompile gd using the /usr/local libpng and
reconfigure mapserver with --with-gd=/usr/local
regards,
thomas
2011/9/12 Dejan Gambin dejan.gam...@coin.hr:
Thanks Thomas,
I have
Hi,
After many trials and missings, I am still unable to compile MapServer 6.0.1
(6.0.0 also) on my Debian Lenny machine.
Here is the error I get:
./libmapserver.a(mapimageio.o): In function `savePalettePNG':
/home/dgambin/mapserver-6.0.1/mapimageio.c:274: undefined reference to
18 matches
Mail list logo