-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation error #6
Comments
You may have forgotten to follow the instructions in the README by not performing the git submodule init command. Please confirm you read the install instructions. On Feb 22, 2013, at 1:31 AM, "Maulik23" <notifications@github.commailto:notifications@github.com> wrote: I am trying to compile TMAP on ubuntu but getting following error: src/util/../seq/../io/tmap_sam_io.h:79:1: error: unknown type name ‘sam_header_t’ please guide me for installtion — |
I have encountered the same issue as above when compiling TMAP. I followed the steps listed on the site as:
At this point it hangs with the following.
The above command does not complete. I have also tried copying the samtools files into the src/ directory manually with the same results. And I have tried compiling samtools and htslib to another directory and specifying them in the ./configure script as CFlags='-I/path/to/samtools -I/path/to/htslib/include'. All of these methods have resulted in the error mentioned above. What am I missing here? Thank you. |
Hi, same problem over here. When trying to run the "git submodule update", it hangs forever and does not complete. Have tried the same workaround as msturge by copying the samtools, bcftools and htslib sources to the "src" directory but then I get the same error messages as already documented by Maulik23. Best regards Sam |
Hi, I too had the same issue with the git submodule update command hanging at the Initialization stage without any real helpful information. For me the fix was to edit the .git/config file in the TMAP directory and update the url of the [submodule "src/samtools"] section. In my case [submodule "src/samtools"] Notice the https instead of http. Once this file was saved and the git submodule update command was executed again, the repository was successfully cloned and the compile, make, etc worked fine. I also made the same adjustment to the .gitmodules file too... Credit to rolf for his post here - https://ioncommunity.thermofisher.com/thread/4618 that led me on the right path... Good luck. |
I am trying to compile TMAP on ubuntu but getting following error:
src/util/../seq/../io/tmap_sam_io.h:79:1: error: unknown type name ‘sam_header_t’
In file included from src/util/tmap_definitions.c:14:0:
src/util/../seq/tmap_seq.h:39:5: error: unknown type name ‘sam_header_record_t’
src/util/../seq/tmap_seq.h:40:5: error: unknown type name ‘sam_header_record_t’
src/util/../seq/tmap_seq.h:155:47: error: unknown type name ‘sam_header_t’
make[2]: *** [src/util/tmap_definitions.o] Error 1
make[2]: Leaving directory `/home/ubuntu/Maulik/TMAP-master'
make[1]: *** [all-recursive] Error 1
please guide me for installtion
The text was updated successfully, but these errors were encountered: