<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.PrformatHTML, li.PrformatHTML, div.PrformatHTML
        {mso-style-name:"Préformaté HTML";
        mso-style-link:"Préformaté HTML Car";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:"Courier New";}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">So there is no V8 library file? That’s a problem. It has to be somewhere on your system (I’ve never tried V8 support though) – perhaps it’s a static library?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> mapserver-users [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Jonathan Beliën<br>
<b>Sent:</b> Wednesday, September 27, 2017 4:55 AM<br>
<b>To:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> [mapserver-users] V8 MapScript Support<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><span lang="FR-BE">Hello,<o:p></o:p></span></p>
<p><span lang="FR-BE">I'm struggling with how to add v8 support in MapServer.<o:p></o:p></span></p>
<p><span lang="FR-BE">I found <a href="http://mapserver.org/installation/v8.html">
http://mapserver.org/installation/v8.html</a> but the install instructions for v8 are now different :
<a href="https://github.com/v8/v8/wiki/Building-from-Source">https://github.com/v8/v8/wiki/Building-from-Source</a>.<o:p></o:p></span></p>
<p><span lang="FR-BE">I successfully compiled v8 following the <a href="https://github.com/v8/v8/wiki/Building-from-Source">
instructions</a> ;<br>
But I have no idea now how to compile MapServer with v8 support ;<br>
I ran this command :<o:p></o:p></span></p>
<pre><code><span lang="FR-BE">cmake -DWITH_V8=yes ..</span><o:p></o:p></code></pre>
<p><span lang="FR-BE">but as excepted, I have this error : </span><code><span lang="FR-BE" style="font-size:10.0pt">V8 JavaScript support requested but not found.</span></code><span lang="FR-BE"> !</span><o:p></o:p></p>
<p><span lang="FR-BE">I try to install the v8 library and include headers as defined in
<a href="http://mapserver.org/installation/v8.html">MapServer documentation</a> but I couldn't find the
</span><code><span lang="FR-BE" style="font-size:10.0pt">libv8.so</span></code><span lang="FR-BE"> file.<o:p></o:p></span></p>
<p><span lang="FR-BE">Could someone help me or update the <a href="http://mapserver.org/installation/v8.html">
documentation</a> ?<br>
Thanks a lot !<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-BE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR-BE">Jonathan Beliën<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-BE">GEO-6<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-BE"><o:p> </o:p></span></p>
</div>
</body>
</html>