<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Hiroshi,</p>
<p>I think that anyhow the current logic of makefile mast be
transfer to CMake. See the
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/blob/trunk/gdal/configure.ac">https://github.com/OSGeo/gdal/blob/trunk/gdal/configure.ac</a> or how
I did it in lib_gdal repository. This logic is rather complicated!<br>
</p>
<p>About vagrant:</p>
<p>$ vagrant up<br>
bash: vagrant: command not found<br>
</p>
<p>Vagrant is not documented dependency and I don't understand how
it will help me in may building environment and what additional
benefits vagrant provide to me in compare with autoconf? <br>
</p>
<p> I'm sure all steps in any environment, as Mateusz Łoskot wrote,
should be:</p>
<p><span style="color: rgb(106, 115, 125); font-family:
-apple-system, system-ui, "Segoe UI", Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI
Emoji", "Segoe UI Symbol"; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">git clone .../gdal</span><br
style="box-sizing: border-box; color: rgb(106, 115, 125);
font-family: -apple-system, system-ui, "Segoe UI",
Helvetica, Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">
<span style="color: rgb(106, 115, 125); font-family:
-apple-system, system-ui, "Segoe UI", Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI
Emoji", "Segoe UI Symbol"; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">mkdir build</span><br
style="box-sizing: border-box; color: rgb(106, 115, 125);
font-family: -apple-system, system-ui, "Segoe UI",
Helvetica, Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">
<span style="color: rgb(106, 115, 125); font-family:
-apple-system, system-ui, "Segoe UI", Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI
Emoji", "Segoe UI Symbol"; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">cd build</span><br style="box-sizing:
border-box; color: rgb(106, 115, 125); font-family:
-apple-system, system-ui, "Segoe UI", Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI
Emoji", "Segoe UI Symbol"; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">
<span style="color: rgb(106, 115, 125); font-family:
-apple-system, system-ui, "Segoe UI", Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI
Emoji", "Segoe UI Symbol"; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">cmake ..</span><br style="box-sizing:
border-box; color: rgb(106, 115, 125); font-family:
-apple-system, system-ui, "Segoe UI", Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI
Emoji", "Segoe UI Symbol"; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial;">
<span style="color: rgb(106, 115, 125); font-family:
-apple-system, system-ui, "Segoe UI", Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI
Emoji", "Segoe UI Symbol"; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">apps/gdalinfo --version</span></p>
<p><span style="color: rgb(106, 115, 125); font-family:
-apple-system, system-ui, "Segoe UI", Helvetica,
Arial, sans-serif, "Apple Color Emoji", "Segoe UI
Emoji", "Segoe UI Symbol"; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;"><br>
</span></p>
<pre class="moz-signature" cols="72">Best regards,
Dmitry</pre>
<div class="moz-cite-prefix">29.10.17 17:27, Hiroshi Miura пишет:<br>
</div>
<blockquote type="cite"
cite="mid:efccd600-9d16-7234-8448-fa6b8f843c29@linux.com">
<pre wrap="">Hi Dmitry,
On 2017年10月29日 07:21, Dmitry Baryshnikov wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Hi Hiroshi,
I tried to test you solution:
</pre>
</blockquote>
<pre wrap="">
Thank you for testing and sharing your experience.
It is working in progress status. And it is based on different policy with your solution.
Now I don't write document about a policy and how-to.
In current script assumes 'configuration has a priority over dependency libraries'
So when user/developer ON the driver, user/developer should install libraries on their own.
I have not done every dependencies clean yet, but I've been improved.
You can use vagrant script that prepares environment to pass the build.
$ vagrant up
I've tested with LXC container environment on Linux.
</pre>
<blockquote type="cite">
<pre wrap="">
The QHULL is not mandatory for GDAL build and should not stop configuring at that moment.
</pre>
</blockquote>
<pre wrap="">
It is hard work for me to determine which driver is mandatory and which is optional. Also I need to determine which driver should be ON in default.
It would be a simple rule that driver which does not require 3rd party library is ON in default. Otherwise optional.
Every your feedback is valuable to improve script. It would be good PoC activity to know which approach is preferable for GDAL dev community.
I think your solution is to jump to highest level. My trial is to realize an intermediate step from current source tree.
Hiroshi
</pre>
</blockquote>
<br>
</body>
</html>