<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 03/05/2013 07:40 PM, Helmut Seidel
M.A. wrote:<br>
</div>
<blockquote cite="mid:51362E1F.9090005@knowhow-la.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hello again,<br>
<br>
I proceeded a little further now. I can run make generate and
Makefile.PL now and dmake starts compiling until the
error-message:<br>
<br>
osr_wrap.cpp:1581:24: fatal error: cpl_string.h: No such file or
directory<br>
compilation terminated.<br>
dmake.exe: Error code 129, while making 'osr_wrap.o'<br>
<br>
The file is there - but how do I include the path - I altered the
path-variable and user the perl -I ... switch to the same result
...<br>
</blockquote>
<br>
Where cpl_string.h is in your system - did you install GDAL or are
you building within the GDAL source tree? <br>
<br>
Makefile.PL should add the include path to the Makefile_Geo__OSR,
which is used for compiling osr_wrap.cpp. You may need to edit
Makefile.PL a bit. See how it tests where GDAL and gdal-config is.
It adds to the $INC variable include paths depending on where is
finds gdal-config.<br>
<br>
Ari<br>
<br>
<blockquote cite="mid:51362E1F.9090005@knowhow-la.de" type="cite"> <br>
Can anybody help?<br>
<br>
Thanks Helmut<br>
<br>
<div class="moz-cite-prefix">Am 01.03.2013 09:30, schrieb Helmut
Seidel M.A.:<br>
</div>
<blockquote cite="mid:5130672A.5030704@knowhow-la.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hello again,<br>
<br>
Thank you for your answers, which guided me through my first
steps. Yesterday I was quite happy to succeed compiling
mapserver with perl which is a first step. In compiling gdal I
was not that lucky but got a few millimeters forward.<br>
<br>
I tried compiling with MinGW and mysys - and the --with-perl
option. gdal itself compiles ok but the perl-portion breaks up
with a file not found error (perl.h). I guess MinGW gets
confused with the perl installations (it tries to use the one
that comes with mysys not the one I installed in C:\Perl. Is
there a way how to tell configure/make which Perl to use?<br>
<br>
I then tried the visualc option - which succeeded aswell, but
without perl. So here are two more questions (sorry for that):<br>
<ol>
<li>Is it possibible to tell Visualc to compile with perl (as
in the --with-perl - option in MinGW)?</li>
<li>Is it possible to first build gdal without perl and then
install perl later?</li>
</ol>
<p>Thanks again.<br>
</p>
<p>Helmut<br>
</p>
<div class="moz-cite-prefix">Am 27.02.2013 14:57, schrieb Helmut
Seidel M.A.:<br>
</div>
<blockquote cite="mid:512E10E4.5040001@knowhow-la.de"
type="cite">Hello everybody, <br>
<br>
in my comming up perl-project I need to use the Geo::Gdal -
module. As I understand I need to compile gdal from sources
first and then build the perl bindings. So far so good, but as
I'm not a C/C++ developer I ran into a host of problems. The
first thing I tried, was to install MinGW and compile gdal
with the "--with-perl" option, which ran for about two hours
but broke of with a message complaining that perl 5.8 was not
found on my system (I have ActivePerl 5.16 installed) - as far
as I could decipher the message - I tried gdal 1.90 and gdal
1.92. <br>
I then tried to compile it using VC 10 which seemed to work
but I didn't find a possibility where to put the "--with-perl"
option - anyway I tried to compile perl using perl Makefile.PL
which imediately complained about being not able to find
gdal-conf (which I couldn't find either). I guess there would
be lots of complaints after that, but I only got that far. <br>
I'm sure my errors have something to do with setting up paths
and compilation options, but I dont't know which and where to
set them. <br>
So here's my question: has anybody a blow by blow account for
C/C++ dummies how to set up Geo::Gdal? That would be great! <br>
Another question is how to deploy the finished application to
other computers. <br>
<br>
I hope you could understand all of my English and my questions
are not too stupid - but I spend two working days on it so far
so I'm a little desperate now. <br>
<br>
Thanks and regards <br>
_______________________________________________ <br>
gdal-dev mailing list <br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
</body>
</html>