thank you Marcin,
[sorry I should have specified the question related to Linux builds]
- the CCP4 source downloads page references "v6.4.0" whereas the binary
downloads page references "v6.4.0.1". However, from your reply it sounds
as if the two correspond to same sources snapshot. Augmenting the
binary distribution with an "onlylibs" build from the source
distribution seems fine, particularly if only a small group of users is
involved.
- If using the "JHBuild" approach to do this, how does one specify no
updates should be pulled beyond the sources used to build the last
binary distribution?
Alastair
On 08/04/2014 11:11 AM, Marcin Wojdyr wrote:
On Thu, Jul 31, 2014 at 08:08:32PM -0700, Alastair Fyfe wrote:
2)6.4.0 binary bundles no longer include header files or static libraries.
Thus to build local utilities the binary installation must be supplemented
with a source build (at least of the libraries).
[I think it's about Linux]
We had complaints from 2 or 3 people regarding this.
Static libraries are not included because:
- they are not used to build CCP4
- Fortran and C++ libraries have compiler-specific ABI
(in particular, Intel Fortran and GFortran binaries are not compatible)
- during the last 2 years we've added dozens libraries (mostly 3rd-party
ones), some of them are used by python extensions and must be
compiled as DSOs. So we'd need to decide for which ones we provide
static versions.
If more people need it, we could include header files and maybe
static libraries built with the most popular compiler (GCC) for libccp4,
mmdb, clipper (what else?).
Is a source distribution
available that matches the file versions used to build a given binary
install ?
source tarball is available from the CCP4 download page
I've built libraries via JHBuild but this seems oriented towards
building the current development sources rather than those from the last
release.
It's for both. If you use static libraries you can use the latest
version as well. But if you prefer version 6.4.0 the easiest way
is to download the source tarball.
Marcin