[prev in list] [next in list] [prev in thread] [next in thread]
List: mapserver-users
Subject: Re: [mapserver-users] Configuring mapserv with Oracle on Ubuntu 22.04
From: Michael Smith <michael.smith.erdc () gmail ! com>
Date: 2022-07-21 18:13:37
Message-ID: AE67D41F-5F26-4A57-A8BA-7969D70EC339 () gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Silvia,
You generally also need to set the ORACLE_HOME env value to your client location, eg \
export ORACLE_HOME=$PREFIX/instantclient. Also make sure you have libaio installed as \
that is needed as well.
Mike
--
Michael Smith
US Army Corps of Engineers
Remote Sensing/GIS Center
From: MapServer-users <mapserver-users-bounces@lists.osgeo.org> on behalf of "Silvia \
Gatti - OSMGP.- via MapServer-users" \
<mapserver-users@lists.osgeo.org>
Reply-To: "Silvia Gatti - OSMGP.-" <gatti.silvia@osmgp.gov.ar>
Date: Thursday, July 21, 2022 at 1:48 PM
To: Mapserver Mailing List <mapserver-users@lists.osgeo.org>
Subject: [mapserver-users] Configuring mapserv with Oracle on Ubuntu 22.04
I am new for mapserv over Ubuntu 22.04.
I had Oracle Client installed ok, because sqlplus is running
I'm following instructions in \
https://mapserver.org/installation/unix.html?highlight=compiling+over+ubuntu#compiling-on-unix
After fighting several weeks I'm at this point. And I've never got mapserv to compile \
for Oracle. I had also read \
https://gis.stackexchange.com/questions/328817/mapserver-with-oracle-spatial-on-linux
I 'll apreciate any help
cmake -DCMAKE_INSTALL_PREFIX=/opt/mapserver \
-DCMAKE_PREFIX_PATH=/usr/local/pgsql/91:/usr/local:/opt:/usr/share:/usr \
/lib:/usr/lib/oracle/12.2/client64:/usr/include/oracle/12.2/client64:/usr/lib:/usr/lib64:/usr/share/gdal \
\
-DWITH_CLIENT_WFS=ON \
-DWITH_CLIENT_WMS=ON \
-DWITH_CURL=ON \
-DWITH_SOS=ON \
-DWITH_PHP=ON \
-DWITH_PERL=ON \
-DWITH_RUBY=ON \
-DWITH_JAVA=ON \
-DWITH_CSHARP=ON \
-DWITH_PYTHON=ON \
-DWITH_SVGCAIRO=OFF\
-DWITH_ORACLESPATIAL=ON \
-DWITH_MSSQL2008=ON \
-DWITH_PROTOBUFC=OFF \
-DWITH_HARFBUZZ=OFF \
-DWITH_FRIBIDI=OFF \
../ >../configure.out.txt
--
Silvia Gatti
Gestion del Cambio - Gcia. de Sistemas
Obras Sanitarias S.E. Mar del Plata - Batán
Tel. 4992900 Int 521
"Trabajando por un futuro con agua potable para todos"
_______________________________________________ MapServer-users mailing list \
MapServer-users@lists.osgeo.org \
https://lists.osgeo.org/mailman/listinfo/mapserver-users
[Attachment #5 (text/html)]
<html 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=utf-8"><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:"var\(--ff-mono\)";
panose-1:2 11 6 4 2 2 2 2 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;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
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;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink=purple \
style='word-wrap:break-word'><div class=WordSection1><p \
class=MsoNormal>Silvia,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>You generally also need to set the ORACLE_HOME env value to your \
client location, eg export ORACLE_HOME=$PREFIX/instantclient. Also make sure you have \
libaio installed as that is needed as well.<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Mike<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>-- <o:p></o:p></p><div><p class=MsoNormal>Michael \
Smith<o:p></o:p></p><p class=MsoNormal>US Army Corps of Engineers<o:p></o:p></p><p \
class=MsoNormal>Remote Sensing/GIS Center<o:p></o:p></p></div><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div \
style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p \
class=MsoNormal><b><span style='font-size:12.0pt;color:black'>From: </span></b><span \
style='font-size:12.0pt;color:black'>MapServer-users \
<mapserver-users-bounces@lists.osgeo.org> on behalf of "Silvia Gatti - \
OSMGP.- via MapServer-users" \
<mapserver-users@lists.osgeo.org><br><b>Reply-To: </b>"Silvia Gatti - \
OSMGP.-" <gatti.silvia@osmgp.gov.ar><br><b>Date: </b>Thursday, July 21, \
2022 at 1:48 PM<br><b>To: </b>Mapserver Mailing List \
<mapserver-users@lists.osgeo.org><br><b>Subject: </b>[mapserver-users] \
Configuring mapserv with Oracle on Ubuntu 22.04<o:p></o:p></span></p></div><div><p \
class=MsoNormal><o:p> </o:p></p></div><p>I am new for mapserv over Ubuntu \
22.04.<br>I had Oracle Client installed ok, because sqlplus is running<br><br>I'm \
following instructions in <a \
href="https://mapserver.org/installation/unix.html?highlight=compiling+over+ubuntu#com \
piling-on-unix">https://mapserver.org/installation/unix.html?highlight=compiling+over+ubuntu#compiling-on-unix</a><br><br>After \
fighting several weeks I'm at this point. And I've never got mapserv to compile for \
Oracle.<br>I had also read <a \
href="https://gis.stackexchange.com/questions/328817/mapserver-with-oracle-spatial-on- \
linux">https://gis.stackexchange.com/questions/328817/mapserver-with-oracle-spatial-on-linux</a><br><br>I \
'll apreciate any help<o:p></o:p></p><pre \
style='vertical-align:baseline;margin-bottom:calc(var(--s-prose-spacing) + \
0.4em);padding:var(--su12);font-variant-ligatures: normal;font-variant-caps: \
normal;font-variant-numeric: inherit;font-variant-east-asian: inherit;font-stretch: \
inherit;line-height:var(--lh-md);font-size:var(--fs-body1);box-sizing: \
inherit;max-height: 600px;background-color:var(--highlight-bg);border-radius: \
var(--br-md);overflow-wrap: normal;color:var(--highlight-color);orphans: 2;widows: \
2;-webkit-text-stroke-width: 0px;text-decoration-thickness: \
initial;text-decoration-style: initial;text-decoration-color: \
initial;overflow:auto;word-spacing:0px'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext \
1.0pt;padding:0in'>cmake -DCMAKE_INSTALL_PREFIX=/opt/mapserver \
\<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DCMAKE_PREFIX_PATH=/usr/local/pgsql/91:/usr/local:/opt:/usr/share:/usr/lib:/usr/lib/o \
racle/12.2/client64:/usr/include/oracle/12.2/client64:/usr/lib:/usr/lib64:/usr/share/gdal \
\<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_CLIENT_WFS=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_CLIENT_WMS=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_CURL=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_SOS=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_PHP=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_PERL=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_RUBY=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_JAVA=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_CSHARP=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_PYTHON=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_SVGCAIRO=OFF\<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_ORACLESPATIAL=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_MSSQL2008=ON \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_PROTOBUFC=OFF \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_HARFBUZZ=OFF \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
-DWITH_FRIBIDI=OFF \<o:p></o:p></span></code></pre><pre \
style='vertical-align:baseline'><code><span \
style='font-family:"var(--ff-mono)",serif;border:none windowtext 1.0pt;padding:0in'> \
../ >../configure.out.txt</span></code><span \
style='font-family:"var(--ff-mono)",serif'><o:p></o:p></span></pre><p \
class=MsoNormal><br><br><o:p></o:p></p><pre>-- <o:p></o:p></pre><pre>Silvia \
Gatti<o:p></o:p></pre><pre>Gestion del Cambio - Gcia. de \
Sistemas<o:p></o:p></pre><pre>Obras Sanitarias S.E. Mar del Plata - \
Batán<o:p></o:p></pre><pre>Tel. 4992900 Int 521<o:p></o:p></pre><p \
class=MsoNormal><br>"Trabajando por un futuro con agua potable para \
todos"<br><br><o:p></o:p></p><p \
class=MsoNormal>_______________________________________________ MapServer-users \
mailing list MapServer-users@lists.osgeo.org \
https://lists.osgeo.org/mailman/listinfo/mapserver-users \
<o:p></o:p></p></div></body></html>
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic