For MacOSX users, the homebrew package manager has recently moved a bunch of their specialized formulas into separate "taps", including a science tap. There's a lot of good stuff there, but does not seem to be a Formula for the SRA SDK.
I noticed an old thread on a problem compiling version 1.0.0 of the SRA SDK, which is now up to 2.2.0. The new version also fails to compile straight out of the box, at least on my machine, but for different reasons. It would be useful to get a working homebrew formula for the SRA SDK. Has anyone on the board successfully compiled 2.2.0? Any particular settings to make make work? I'd be happy to put together a brew Formula with a patch.
Here's the first error in 2.2.0. The directory structure is highly modified from 1.0.0. I've tried to address this error by removing the static and putting some include guard macros around the inline definition, but I still get a lot of linker errors about duplicate _strndup. Any input would be appreciated.
I noticed an old thread on a problem compiling version 1.0.0 of the SRA SDK, which is now up to 2.2.0. The new version also fails to compile straight out of the box, at least on my machine, but for different reasons. It would be useful to get a working homebrew formula for the SRA SDK. Has anyone on the board successfully compiled 2.2.0? Any particular settings to make make work? I'd be happy to put together a brew Formula with a patch.
Here's the first error in 2.2.0. The directory structure is highly modified from 1.0.0. I've tried to address this error by removing the static and putting some include guard macros around the inline definition, but I still get a lot of linker errors about duplicate _strndup. Any input would be appreciated.
[...]
In file included from /private/tmp/sra_sdk-cS2F/sra_sdk-2.2.0/libs/klib/vector_namelist.c:36:
/private/tmp/sra_sdk-cS2F/sra_sdk-2.2.0/interfaces/os/mac/os-native.h:50: error: static declaration of ‘strndup’ follows non-static declaration
make[3]: *** [vector_namelist.pic.o] Error 1
make[3]: *** Waiting for unfinished jobs....
brew: superenv removed: -m64
make[2]: *** [all] Error 2
make[1]: *** [klib] Error 2
make: *** [libs] Error 2
In file included from /private/tmp/sra_sdk-cS2F/sra_sdk-2.2.0/libs/klib/vector_namelist.c:36:
/private/tmp/sra_sdk-cS2F/sra_sdk-2.2.0/interfaces/os/mac/os-native.h:50: error: static declaration of ‘strndup’ follows non-static declaration
make[3]: *** [vector_namelist.pic.o] Error 1
make[3]: *** Waiting for unfinished jobs....
brew: superenv removed: -m64
make[2]: *** [all] Error 2
make[1]: *** [klib] Error 2
make: *** [libs] Error 2