Comments (6)
Check if sys/stat.h exists (probably in /usr/include/sys/stat.h). If it doesn't, install the appropriate development package for your distribution.
If this doesn't help, could you please provide the following information:
- the output of 'gcc --version'
- the output of 'uname -a'
- the top 50 lines of the output of the configure script
Thanks,
Come
from isaac_aligner.
I have been able to solve the problem by explicitly setting all the:
export LIBRARY_PATH=$LIBRARY_PATH:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=$C_INCLUDE_PATH:$LD_LIBRARY_PATH
export CPATH=$C_PATH:$LD_LIBRARY_PATH
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$LD_LIBRARY_PATH
set to my LD_LIBRARY_PATH
However, I now got the following error while make:
[ 38%] Building CXX object c++/lib/options/CMakeFiles/isaac_options.dir/AlignOptions.cpp.o
In file included from /home/sam/programmes/sequencing_general/isaac_aligner_src/src/c++/include/workflow/alignWorkflow/BclBgzfDataSource.hh:35:0,
from /home/sam/programmes/sequencing_general/isaac_aligner_src/src/c++/include/workflow/alignWorkflow/SelectMatchesTransition.hh:54,
from /home/sam/programmes/sequencing_general/isaac_aligner_src/src/c++/include/workflow/AlignWorkflow.hh:55,
from /home/sam/programmes/sequencing_general/isaac_aligner_src/src/c++/lib/workflow/AlignWorkflow.cpp:34:
/home/sam/programmes/sequencing_general/isaac_aligner_src/src/c++/include/rta/BclBgzfTileReader.hh: In member function ‘unsigned int isaac::rta::BclBgzfTileReader::loadCompressedBcl(std::istream&, const boost::filesystem::path&, const isaac::rta::CycleBciMapper::VirtualOffset&, char_, std::size_t)’:
/home/sam/programmes/sequencing_general/isaac_aligner_src/src/c++/include/rta/BclBgzfTileReader.hh:146:17: error: cannot bind bitfield ‘tileOffset.isaac::rta::CycleBciMapper::VirtualOffset::compressedOffset’ to ‘long unsigned int&’
make[3]: *_* [c++/lib/workflow/CMakeFiles/isaac_workflow.dir/AlignWorkflow.cpp.o] Error 1
make[2]: *** [c++/lib/workflow/CMakeFiles/isaac_workflow.dir/all] Error 2
make[1]: *** [c++/bin/CMakeFiles/isaac-align.dir/rule] Error 2
make: *** [isaac-align] Error 2
Our gcc version is:
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
and the uname -a is
Linux statgenpro.psychiatry.hku.hk 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:35:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I suspect there is something to do with the gcc version?
Thank you for your help
from isaac_aligner.
Setting the include paths to the library paths seems strange.
It might be good to try from fresh with a clean environment (with none of these variables set). Or are any of these needed (e.g. to support some ubuntuesque feature like multiarch or something like that)?
Do you have another version of boost installed on your system? Or are you using the version of boost packaged with iSAAC?
Can you also provide:
echo $LIBRARY
echo $LD_LIBRARY_PATH
echo $LIBRARY_PATH
echo $C_INCLUDE_PATH
echo $C_PATH
echo $CPLUS_INCLUDE_PATH
env | grep -i boost
from isaac_aligner.
I have the same problem even if I have deactivated the boost library (mine was 1.55.0) and used the one provided by ISSAC, I have clean up my environment a bit and the output of the commands are:
sam@statgenpro:~$ echo $LD_LIBRARY_PATH
/home/sam/programmes/sequencing_general/bamtools/lib/:/home/sam/programmes/lib/boost_lib/lib:/usr/include/x86_64-linu x-gnu:
sam@statgenpro:~$ echo $LIBRARY_PATH
:/home/sam/programmes/sequencing_general/bamtools/lib/:/home/sam/programmes/lib/boost_lib/lib:/usr/include/x86_64-lin ux-gnu:
sam@statgenpro:~$ echo $C_INCLUDE_PATH
:/home/sam/programmes/sequencing_general/bamtools/lib/:/home/sam/programmes/lib/boost_lib/lib:/usr/include/x86_64-lin ux-gnu:
sam@statgenpro:~$ echo $C_PATH
sam@statgenpro:~$ echo $CPLUS_INCLUDE_PATH
:/home/sam/programmes/sequencing_general/bamtools/lib/:/home/sam/programmes/lib/boost_lib/lib:/usr/include/x86_64-lin ux-gnu:
sam@statgenpro:~$ env | grep -i boost
CPLUS_INCLUDE_PATH=:/home/sam/programmes/sequencing_general/bamtools/lib/:/home/sam/programmes/lib/boost_lib/lib:/usr/include/x86_64-linux-gnu:
LIBRARY_PATH=:/home/sam/programmes/sequencing_general/bamtools/lib/:/home/sam/programmes/lib/boost_lib/lib:/usr/include/x86_64-linux-gnu:
LD_LIBRARY_PATH=/home/sam/programmes/sequencing_general/bamtools/lib/:/home/sam/programmes/lib/boost_lib/lib:/usr/include/x86_64-linux-gnu:
CPATH=:/home/sam/programmes/sequencing_general/bamtools/lib/:/home/sam/programmes/lib/boost_lib/lib:/usr/include/x86_64-linux-gnu:
C_INCLUDE_PATH=:/home/sam/programmes/sequencing_general/bamtools/lib/:/home/sam/programmes/lib/boost_lib/lib:/usr/include/x86_64-linux-gnu:
(My sys/stat.h was located at /usr/include/x86_64-linux-gnu instead of /usr/include)
Also, I cannot arrive the part of the error using the boost library provided. I need to use my personal boost library in order to get to the error part. Else, I will get stuck at:
-- Doxygen: DOXYGEN_EXECUTABLE-NOTFOUND. Dot: /usr/bin/dot.
-- Could NOT find Markdown (missing: MARKDOWN_EXECUTABLE)
-- Markdown: MARKDOWN_EXECUTABLE-NOTFOUND.
-- Configuring incomplete, errors occurred!
Couldn't configure the project:
from isaac_aligner.
Looks like Roman has already fixed and pushed the issue. Can you please pull the new version and try again?
Thanks
from isaac_aligner.
Thank you, the new version has solved all the problems.
from isaac_aligner.
Related Issues (20)
- Rev boost libraries (compilation error) HOT 4
- License is not OSI Approved HOT 4
- isaac seems to run out of memory in the findNeighbors step. HOT 2
- Configure command must be run twice in order to succeed HOT 4
- iSAAC triggers compiler error in GCC 4.8 HOT 4
- execution error -- libgomp: Thread creation failed: Resource temporarily unavailable HOT 5
- Alignment from fastq-gz gives small bams HOT 6
- isaac-aligner: too many positional options have been specified on the command line HOT 1
- isaac-align is stuck at "Determining memory capacity for Fastq data" HOT 10
- how to stop isaac _aligner from renaming reads HOT 1
- fine-tuning with parameters to improve low concordance in vcfs produced by isaac HOT 1
- Aligning fastqs from different runs HOT 1
- xmlTextReaderRead failed HOT 1
- Which license? HOT 1
- Error: isac alighner HOT 6
- realign issues HOT 2
- Version 1.14.02.06 HOT 2
- the use of isaac HOT 6
- xmlTextReaderRead failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isaac_aligner.