<p style="margin-bottom:0in;font-style:normal;font-weight:normal">
I have tried to find how I compile gdal 1.9.2 with ESRIs FileGDB_API, but I'm are very <span lang="en"><span>uncertain how it work.</span></span>
 I
have Ubuntu 10.04LTS 32-bit with PAE. I another step I downloaded source-code for gdal-1.9.2 and added needed packed with:</p><p style="margin-bottom:0in;font-style:normal;font-weight:normal"><b>cd ~/Desktop/gdal-mod</b> <span style="color:rgb(255,0,0)"><--move cursor to the created folder.</span><br>
<b>apt-get source gdal-bin </b><span style="color:rgb(255,0,0)"><--download
 source-cod from my respositories (same as my binary installed on my 
system, into the folder I stand in ~/Desktop/gdal-mod)</span><br>


<b>sudo apt-get build-dep gdal</b> <span style="color:rgb(255,0,0)"><--geting dependencies so my system can build the package gdal.</span></p><p style="margin-bottom:0in;font-style:normal;font-weight:normal"><br></p>
<p style="margin-bottom:0in">
</p>
<p style="margin-bottom:0in;font-weight:normal"><font color="#000000">From
<a href="https://github.com/usgin/ncgmp/wiki/Installation-Example" target="_blank">https://github.com/usgin/ncgmp/wiki/Installation-Example</a> I found
this example</font></p>
<p style="margin-bottom:0in"><font color="#666666"><b>
</b></font></p>
<ol><li><p style="margin-bottom:0in;text-decoration:none"><font color="#666666"><i><b>cd
        ~/downloads </b></i><font><span style="color:rgb(255,0,0)"><--change to the folder with the downloaded driver from ESRI</span></font><i><b><br></b></i></font></p>
        </li><li><p style="margin-bottom:0in;text-decoration:none"><font color="#666666"><i><b>tar
        xzf FileGDB_API_1_2-64.tar.gz </b></i><span style="color:rgb(255,0,0)"><--unpacking</span></font></p>
        </li><li><p style="margin-bottom:0in;text-decoration:none"><font color="#666666"><i><b>cd
        ~/downloads/FileGDB_API/lib </b></i><span style="color:rgb(255,0,0)"><--goes to a file in the unpacked FileGDB</span><i><b><br></b></i></font></p>
        </li><li><p style="margin-bottom:0in;text-decoration:none"><font color="#666666"><i><b>ln
        -s libfgdbunixrtl.so libfgdblinuxrtl.so
 </b><font color="#ff0000"><span style="font-weight:normal"><--made
        a symbolic link in the folder lib because ESRI change the name.</span></font></i></font></p>
        </li><li><p style="margin-bottom:0in;text-decoration:none"><font color="#666666"><i><b>cd
        ../..</b></i><span style="color:rgb(204,0,0)"><span style> <--up 2 levels</span></span><i><b><span style="color:rgb(204,0,0)"><span style><span></span></span></span><br>
</b></i></font></p>
        </li><li><p style="margin-bottom:0in;text-decoration:none"><font color="#666666"><i><b>tar
        xvf gdal-1.9.0.tar.gz </b></i><span style="color:rgb(255,0,0)"><--unpacking, I have a newer file</span><i><b><br></b></i></font></p>
        </li><li><p style="margin-bottom:0in;text-decoration:none"><font color="#666666"><i><b>cd
        gdal-1.9.0
</b></i></font></p>
        </li><li><p style="margin-bottom:0in;text-decoration:none"><font color="#666666"><i><b>./configure
        --with-pg=/usr/bin/pg_config
        --with-fgdb=/home/ubuntu/downloads/FileGDB_API
        --with-geos=/usr/local/bin/geos-config
        --with-static-proj4=/usr/local/lib/libproj.a --with-python
</b></i></font></p>
        </li><li><p style="margin-bottom:0in;text-decoration:none"><font color="#666666"><i><b>make
</b></i></font></p>
        </li><li><p style="margin-bottom:0in;text-decoration:none"><font color="#666666"><i><b>sudo
        make install</b></i></font></p>
</li></ol>

<p style="margin-bottom:0in;font-style:normal;font-weight:normal;text-decoration:none"><font color="#000000">First
a question! If I make a 'make install', and if it don't work, how can i
change back to my original gdal-bin?</font></p><p style="margin-bottom:0in;font-style:normal;font-weight:normal;text-decoration:none"><font color="#000000">Second. Does this install libFileGDBAPI.so (Read a tut<font>o</font>rial, there th<font>e</font>y said that </font><font color="#000000">libFileGDBAPI.so should be install in it default directory, which I <font>don't know where it is...</font><br>

</font></p>
<p style="margin-bottom:0in;text-decoration:none"><br>
</p>
<p style="margin-bottom:0in;font-style:normal;font-weight:normal;text-decoration:none">
<font color="#000000">6. I have a newer version of gdal (1.9.2)
and I have the 32-bit version on this machine. The swift '--with' in
this example above are not so accurate for my system, I think? What does '--with' really do? Does it create links in gdal or does it more?<br></font></p>

<p style="margin-bottom:0in">
<font color="#000000"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">Does
someone know w</span></span></span></font><font color="#000000"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">h</span></span></span></font><font color="#000000"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">ich
</span></span></span></font><font color="#000000"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">swift
'--with ' </span></span></span></font><font color="#000000"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">I
s</span></span></span></font><font color="#000000"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">h</span></span></span></font><font color="#000000"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">ould
have or are </span></span></span></font><span lang="en">necessary</span><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">
or good to have? Do the FileGDB also get compiled at the same time?</span></span></span></span></font>
</p>

<p style="margin-bottom:0in"><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">I
seach my system and change </span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">the
path </span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">in
the example: first </span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">where</span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">
I have my FileGDB_API and </span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">then
</span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">some
</span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">other
</span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">files
have also a different path? Do I need all this --with, or does a
default file add </span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">it?</span></span></span></span></font></p>

<p style="margin-bottom:0in"><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">My modified '--with', if it's needed?<br>
</span></span></span></span></font></p>



<p style="margin-bottom:0in"><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">./configure
</span></span></span></span></font><font color="#ff0000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">--with-pg=/usr/bin/pg_config</span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">
</span></span></span></span></font><font color="#008000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">--with-fgdb=/home/Joni/Desktop/gdal-mod/FileGDB_API</span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">
</span></span></span></span></font><font color="#2300dc"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">--with-geos=/usr/bin/geos-config</span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">
</span></span></span></span></font><font color="#663300"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">--with-static-proj4=/usr/lib/libproj.a</span></span></span></span></font><font color="#000000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">
</span></span></span></span></font><font color="#ff0000"><span lang="en"><span style="font-style:normal"><span style="text-decoration:none"><span style="font-weight:normal">--with-python</span></span></span></span></font></p>




<p style="margin-bottom:0in;font-style:normal;font-weight:normal"><font color="#000000"><span lang="en"><span style="text-decoration:none">If I don't add anything more than, my FilGDB_API, there the source-code are, does there are any 'Default setting', so It work as now? I
had a Postgis config-file as in the example</span></span><font color="#008000"><span lang="en"><span style="text-decoration:none"><font color="#000000">.</font> </span></span></font><span lang="en"><span style="text-decoration:none">In </span></span><span lang="en"><span style="text-decoration:none">this
example they had compiled a geos package, but my system did have
libgeos and a geos-config file in above blue directory.</span></span><span lang="en"><span style="text-decoration:none">
The '</span></span><font color="#666666"><span lang="en"><i><span style="text-decoration:none"><b>--with-static-proj4=<u>/usr/</u><u>local/lib/libproj.a</u></b></span></i></span></font><u><font color="#666666"><span lang="en"><i><span style="text-decoration:none"><b>'
</b></span></i></span></font></u><span lang="en"><span style="text-decoration:none">have
I changed to another <u>path</u>, there I find a</span></span><font color="#666666"><span lang="en"><i><span style="text-decoration:none"><b>
</b></span></i></span></font><font color="#804c19"><span lang="en"><i><span style="text-decoration:none"><b>libproj.a</b></span></i></span></font><font color="#666666"><span lang="en"><i><span style="text-decoration:none"><b>
</b></span></i><span style><span style="text-decoration:none">file.</span></span></span></font></font></p><p style="margin-bottom:0in;font-style:normal;font-weight:normal">Hope someone can explain little..</p>
<p style="margin-bottom:0in;font-style:normal;font-weight:normal">/Cheers <br></p><p style="margin-bottom:0in;font-style:normal;font-weight:normal">Johan<br><font color="#000000"><font color="#666666"><span lang="en"><span style><span style="text-decoration:none"></span></span></span></font></font></p>

<p style="margin-bottom:0in;font-style:normal;font-weight:normal"><font color="#000000"><font color="#666666"><span lang="en"><span style><span style="text-decoration:none"><br></span></span></span></font></font></p>