ctSkennerton / crass

The CRISPR assembler
http://ctskennerton.github.io/crass
GNU General Public License v3.0
35 stars 11 forks source link

installation error (Xerces-c) #92

Closed maureenbug closed 6 years ago

maureenbug commented 6 years ago

Hi,

So I've read through the other similar issues, and it doesn't appear that I lack g++ (#69), and I tried specifying where my xerces package is location (#64). I'm installing these dependencies via conda on a linux cluster, btw. I haven't tried downloading and building xerces from the source, I'd rather keep everything I can in conda.

when I run ./configure (both with and without specifying where xerces is installed), then I get this type of error: ... checking dependency style of gcc... (cached) gcc3 checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for Xerces C++ Parser... no configure: error: Cannot find Xerces-c

(btw if I try to install libcrispr, I get this error): ... checking dependency style of gcc... (cached) gcc3 checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for Xerces C++ Parser... no configure: error: Cannot find Xerces-c

Any suggestions would be appreciated (as I'm probably missing something small). Thanks in advance!

maureenbug commented 6 years ago

ha, well I figured it out. I had to specify my entire conda environment directory, not just the xerces-c directory.