walaj / VariantBam

Filtering and profiling of next-generational sequencing data using region-specific rules
Other
74 stars 10 forks source link

Can't build in boost static libs from default install locations #6

Closed maplesond closed 8 years ago

maplesond commented 8 years ago

The system works fine if --with-boost is specified. However, if boost is installed into the default system locations: /usr/local for example, then the Makefile won't try to link against the static libs. Instead it tries to find the libraries off the root "/".

walaj commented 8 years ago

Hoping it works now. I had some issues with linking the unit test libraries, and I guess it made it not as portable as it should be. If GCC knows to look by default in /usr/local, I think this will work

maplesond commented 8 years ago

Ok, cool. I'll check it out next time I recompile. I can your interested I have modified a version of ax_boost m4 macros to handle boost static libraries. See here: https://github.com/TGAC/KAT/tree/develop/m4. I found this the easiest way to check for boost binaries, without requiring dynamic linking. May or may not be useful for you.

walaj commented 8 years ago

Thanks for the macros and for the very helpful suggestions on how to improve the software. I'll definitely look into how to use these for easier builds.

walaj commented 8 years ago

Finally marking this as solved. I have removed all dependencies on Boost.