[ccp4bb] Building static libs.

2015-03-14 Thread Ian Tickle
Hello All I want to build static libs (libccp4.a etc.), basically to avoid hassle when deploying executables of my own programs to other machines that are not on my LAN and don't have up-to-date compilers or system libraries. I downloaded the CCP4 sources followed instructions in the README,

Re: [ccp4bb] Building static libs.

2015-03-14 Thread Alastair Fyfe
Having struggled through similar build problems, I'd like to suggest augmenting the existing source and binary distributions with a distribution that includes header files and static libraries. thanks, Alastair Fyfe UCSC On 03/14/2015 05:17 AM, Ian Tickle wrote: Hello All I want to build

Re: [ccp4bb] Building static libs.

2015-03-14 Thread Harry Powell
Weird. I did my best to follow the instructions and - [andrew-mac-3:~/ccp4-6.5.0/ccp4-src-6.5-gfortran-4.5.0] harry% find . -name libccp4f.a ./builddir/libccp4/fortran/.libs/libccp4f.a ./ccp4-6.4.9/lib/libccp4f.a I *might* have changed shell to bash when I did the build (I can't remember).

Re: [ccp4bb] Building static libs.

2015-03-14 Thread Marcin Wojdyr
Dear Ian, Hard to tell without more details. What options are passed to the configure scripts in mmdb2 and libccp4? (you can find it in the output) The options include either --disable-shared --enable-static or the other way around. Maybe you built it before setting BUILD_STATIC, and then when

Re: [ccp4bb] Building static libs.

2015-03-14 Thread Ian Tickle
Yes that was it, I had built it previously forgot. Forcing it fixes it. Thanks! Cheers -- Ian On 14 March 2015 at 18:00, Marcin Wojdyr marcin.woj...@diamond.ac.uk wrote: Dear Ian, Hard to tell without more details. What options are passed to the configure scripts in mmdb2 and libccp4?