Linux and Max users are supposed to build Spatialite by themselves 
http://www.gaia-gis.it/gaia-sins/linux_how_to.html or install from packages. It 
will probably take some time before mod_spatialite 4.2.1 will be available as 
stable package. I have no idea about what Mac/Ubuntu/Debian etc. users should 
do for making mod_spatialite available from OpenJUMP.

Windows is the most popular OS for OpenJUMP 
http://sourceforge.net/projects/jump-pilot/files/stats/os?dates=2014-01-01%20to%202014-11-27
 but Max and Linux and Unknown are also quite popular. Perhaps it is not 
appropriate to bundle binaries for Windows only? The file size is not too huge 
and should not be a hinder: Win 32 and Win 64 binaries make together about 5 MB 
as zipped.
Perhaps a better approach is to write a blog post and update the Spatialite 
section on OpenJUMP wiki. Hopefully somebody learns and shares how-to 
instructions also for Linux and Mac users.  I can take at least the wiki update 
task.

-Jukka-




> -----Alkuperäinen viesti-----
> Lähettäjä: edgar.sol...@web.de [mailto:edgar.sol...@web.de]
> Lähetetty: 27. marraskuuta 2014 13:32
> Vastaanottaja: OpenJump develop and use
> Aihe: Re: [JPP-Devel] About native library detection
> 
> are there builds for our other platforms? should we maybe bundle it with PLUS?
> 
> ..ede
> 
> On 27.11.2014 06:49, Rahkonen Jukka (Tike) wrote:
> > The v. 4.2.1 RC1 ones from last weekend
> > http://www.gaia-gis.it/gaia-sins/windows-bin-x86-test/
> > http://www.gaia-gis.it/gaia-sins/windows-bin-amd64-test/
> >
> > -Jukka-
> >
> >
> > ________________________________________
> > edgar soldin wrote:
> >
> > sweet. what spatialite packages did you use? ..ede
> >
> > On 26.11.2014 22:55, Rahkonen Jukka (Tike) wrote:
> >> Hi, and thanks.
> >>
> >> Documentation and installation method for native binaries are quite
> understandable now at least on Windows with Spatialite binaries I used for
> testing.
> >>
> >> -Jukka-
> >>
> >> ________________________________________
> >> edgar soldin wrote:
> >>
> >> Jukka,
> >>
> >> i did some more changes. documented in the lib/native/readme.txt .
> >>
> >> to minimize the amount of folders i streamlined java arch support over
> platforms. essentially it means that all os place their java32 libs into
> lib/native/x86 and java64 libs into lib/native/x64.
> >>
> >> windows additionally can have some more special folders.
> >>
> >> can you please try if that works for you with the latest snapshot. possibly
> with PLUS and test included ECW support (only java32) as well?
> >>
> >> thanks ..ede
> >>
> >> On 25.11.2014 19:40, Rahkonen Jukka (Tike) wrote:
> >>> It is close, however JAVA_ARCH is either -x64 or -x32 if DEFINED
> >>> JAVA_X64 (
> >>>   set "JAVA_ARCH=-x64"
> >>> ) else (
> >>>   set "JAVA_ARCH=-x32"
> >>> )
> >>>
> >>> but the default directories in lib\native are -x64 and -x86 Either
> >>> rename  "JAVA_ARCH=-x86" or rename the 32-bit directory into "-x32"
> >>>
> >>> -Jukka-
> >>>
> >>>
> >>>
> >>> ________________________________________
> >>> Lähettäjä: edgar.sol...@web.de <edgar.sol...@web.de>
> >>> Lähetetty: 25. marraskuuta 2014 17:19
> >>> Vastaanottaja: OpenJump develop and use
> >>> Aihe: Re: [JPP-Devel] About native library detection
> >>>
> >>> well, not genius, but elaborate ;)
> >>>
> >>> right general java arch support was missing. past tense because i just 
> >>> hacked
> it. please try rev.4126 .
> >>> read
> >>>  lib/native/readme.txt
> >>> first.
> >>>
> >>> ..ede
> >>>
> >>> On 25.11.2014 14:02, Rahkonen Jukka (Tike) wrote:
> >>>> Hi,
> >>>>
> >>>> I was looking at the genius OJ start script and thinking about if the 
> >>>> result of
> the detection of native library path is useful or not. Now the native library 
> is set
> on Windows according to processor architecture and OS version strings. The
> resolution is better than anywhere else I have seen. Usually there are Windows
> downloads only for x86 and amd64 but OJ can resolve not only processor
> architecture but also if OS is XP, Vista, Win 7, Win 8, or Win 8.1.
> >>>>
> >>>> For GDAL binaries there is an override that detects the jre version 
> >>>> first and
> uses only two alternatives for native library locations:
> >>>> if DEFINED JAVA_X64 (
> >>>> set "GDAL_FOLDER=gdal-win-x64"
> >>>> ) else (
> >>>>  set "GDAL_FOLDER=gdal-win-x86"
> >>>>
> >>>> Spatialite binaries which I have been playing with are built in a 
> >>>> similar way
> than GDAL binaries. If 32 bit jre requires 32 bit versions from the binaries 
> and 64
> bit jre requires 64 bit binaries.
> >>>>
> >>>> The problem is that if I run 32-bit jre on 64 bit Win 7 then OpenJUMP is
> searching native binaries from directory \lib\native\seven64\. As a 
> workaround I
> can place the 32 bit binaries there or into \lib\native\ which is also on the 
> search
> path. But if I plan to plan to run sometimes OJ with 32 bit jre and sometimes
> with 64 bit jre both these options are poor and I must move some dll files 
> before
> starting OJ with another jre.
> >>>>
> >>>> BTW. I have experienced the dll hell: Native GDAL and Spatialite binaries
> can't be used simply together with OpenJUMP because Spatialite depends on
> GDAL and versions do not match.
> >>>>
> >>>> How about making the search path as follows:
> >>>> 1:  jre specific general dll path, either win-x86 or win-amd64
> >>>> 2: special folder for GDAL binaries, search from gdal-win-86 or
> >>>> gdal-win-x64 (Ede has used names x86 and x64; should be decided
> >>>> which names to use and unify the batch file)
> >>>> 3: Operating system + processor architecture based fine grained
> >>>> native folders
> >>>>
> >>>> An untested modification to oj_windows.bat starting from row 142:
> >>>>
> >>>> rem -- set general win32 / win64 vars -- rem -- set GDAL vars -- if
> >>>> DEFINED JAVA_X64 (
> >>>>   set "WIN_DLL_FOLDER=win-amd64"
> >>>>   set "GDAL_FOLDER=gdal-win-x64"
> >>>> ) else (
> >>>>   set "WIN_DLL_FOLDER=win-x86"
> >>>>  set "GDAL_FOLDER=gdal-win-86"
> >>>> )
> >>>> set "GDAL_FOLDER=lib\native\%GDAL_FOLDER%"
> >>>> set "WIN_DLL_FOLDER=lib\native\%WIN_DLL_FOLDER%"
> >>>> if EXIST "%GDAL_FOLDER%" (
> >>>>   set "GDAL_DATA=%GDAL_FOLDER%\bin\gdal-data"
> >>>>   set "GDAL_DRIVER_PATH=%GDAL_FOLDER%\bin\gdal\plugins"
> >>>>   rem --- prioritize jre version specific binaries in the path ---
> >>>>   set "PATH=% WIN_DLL_PATH
> %;%GDAL_FOLDER%\bin;%GDAL_FOLDER%\bin\gdal\java;%PATH%"
> >>>>   rem --- gdal binding is version specific, prioritize the one delivered 
> >>>> with
> native libs ---
> >>>>   set
> "CLASSPATH=%GDAL_FOLDER%\bin\gdal\java\gdal.jar;%CLASSPATH%"
> >>>> )
> >>>>
> >>>> -Jukka-
> >>>>
> >>>> -------------------------------------------------------------------
> >>>> ----------- Download BIRT iHub F-Type - The Free Enterprise-Grade
> >>>> BIRT Server from Actuate! Instantly Supercharge Your Business
> >>>> Reports and Dashboards with Interactivity, Sharing, Native Excel
> >>>> Exports, App Integration & more Get technology previously reserved
> >>>> for billion-dollar corporations, FREE
> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/os
> >>>> tg.clktrk _______________________________________________
> >>>> Jump-pilot-devel mailing list
> >>>> Jump-pilot-devel@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>>>
> >>>
> >>> --------------------------------------------------------------------
> >>> ---------- Download BIRT iHub F-Type - The Free Enterprise-Grade
> >>> BIRT Server from Actuate! Instantly Supercharge Your Business
> >>> Reports and Dashboards with Interactivity, Sharing, Native Excel
> >>> Exports, App Integration & more Get technology previously reserved
> >>> for billion-dollar corporations, FREE
> >>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ost
> >>> g.clktrk _______________________________________________
> >>> Jump-pilot-devel mailing list
> >>> Jump-pilot-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>>
> >>> --------------------------------------------------------------------
> >>> ---------- Download BIRT iHub F-Type - The Free Enterprise-Grade
> >>> BIRT Server from Actuate! Instantly Supercharge Your Business
> >>> Reports and Dashboards with Interactivity, Sharing, Native Excel
> >>> Exports, App Integration & more Get technology previously reserved
> >>> for billion-dollar corporations, FREE
> >>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ost
> >>> g.clktrk _______________________________________________
> >>> Jump-pilot-devel mailing list
> >>> Jump-pilot-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> --------- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT
> >> Server from Actuate! Instantly Supercharge Your Business Reports and
> >> Dashboards with Interactivity, Sharing, Native Excel Exports, App
> >> Integration & more Get technology previously reserved for
> >> billion-dollar corporations, FREE
> >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg
> >> .clktrk _______________________________________________
> >> Jump-pilot-devel mailing list
> >> Jump-pilot-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>
> >> ---------------------------------------------------------------------
> >> --------- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT
> >> Server from Actuate! Instantly Supercharge Your Business Reports and
> >> Dashboards with Interactivity, Sharing, Native Excel Exports, App
> >> Integration & more Get technology previously reserved for
> >> billion-dollar corporations, FREE
> >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg
> >> .clktrk _______________________________________________
> >> Jump-pilot-devel mailing list
> >> Jump-pilot-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>
> >
> > ----------------------------------------------------------------------
> > -------- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT
> > Server from Actuate! Instantly Supercharge Your Business Reports and
> > Dashboards with Interactivity, Sharing, Native Excel Exports, App
> > Integration & more Get technology previously reserved for
> > billion-dollar corporations, FREE
> > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.
> > clktrk _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> > ----------------------------------------------------------------------
> > -------- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT
> > Server from Actuate! Instantly Supercharge Your Business Reports and
> > Dashboards with Interactivity, Sharing, Native Excel Exports, App
> > Integration & more Get technology previously reserved for
> > billion-dollar corporations, FREE
> > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.
> > clktrk _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from
> Actuate! Instantly Supercharge Your Business Reports and Dashboards with
> Interactivity, Sharing, Native Excel Exports, App Integration & more Get
> technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktr
> k
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to