Opened 10 years ago
Last modified 4 years ago
#46578 new defect
Spatialite @4.2.0_0 has different header files than SQLite3 @3.8.7.4_0
Reported by: | jeabraham | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | landonf (Landon Fuller), mww@…, petrrr, Veence (Vincent), Dave-Allured (Dave Allured) | |
Port: | spatialite sqlite3 spatialite-tools |
Description
I install spatialite @4.2.0_0 and SQLite3 @3.8.7.4_0 and spatialite-tools @4.1.1_0. Then when I try to run spatialite commands such as
spatialite sqlite3.db "SELECT InitSpatialMetaData();"
I get
SQLite header and source version mismatch 2014-12-09 01:34:36 f66f7a17b78ba617acde90fc810107f34f1a1f2e 2014-10-29 13:59:56 3b7b72c4685aa5cf5e675c2c47ebec10d9704221
Change History (10)
comment:1 Changed 10 years ago by jeabraham
comment:2 follow-up: 3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | landonf@… mww@… added; jea@… removed |
---|---|
Port: | spatialite-tools added; spatiality-tools removed |
MacPorts does not have the capability to express version dependencies, nor the ability to install specific versions of ports.
comment:3 follow-up: 4 Changed 10 years ago by jeabraham
Replying to ryandesign@…:
MacPorts does not have the capability to express version dependencies, nor the ability to install specific versions of ports.
Hmm, is there a way to force a recompile? Or, what about a notice in the SQLite3 portfile to anyone that is updating SQLite3, telling them they should also tag Spatialite as updated so that Spatiallite gets recompiled too?
comment:4 follow-up: 5 Changed 10 years ago by jeabraham
Replying to jea@…:
Replying to ryandesign@…:
MacPorts does not have the capability to express version dependencies, nor the ability to install specific versions of ports.
Hmm, is there a way to force a recompile? Or, what about a notice in the SQLite3 portfile to anyone that is updating SQLite3, telling them they should also tag Spatialite as updated so that Spatiallite gets recompiled too?
Or, what about adding spatialite as a variant of SQLite3, instead of having it as its own port?
comment:5 Changed 10 years ago by Veence (Vincent)
Replying to jea@…:
Or, what about adding spatialite as a variant of SQLite3, instead of having it as its own port?
Not a good idea. SQLite and SpatiaLite are not developed by the same team. They are as different as PostGreSQL and PostGIS can be. My bad I didn't upgrade spatialite_tools. I wonder if that’s what causes the problem.
comment:7 Changed 9 years ago by petrrr
Cc: | vince@… added |
---|
This looks just like a missing revision bump, I see that the revision was bumped in r133984. So can the problem should be gone. So can we close this ticket?
comment:10 Changed 4 years ago by Dave-Allured (Dave Allured)
Cc: | Dave-Allured added |
---|
If I activate sqlite3 @3.8.7.1_0+universal it seems to work with spatialite.
Can we add a version dependency to the port file?