Skip to content
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

Not able to compile/install Bio::DB::HTS in conda environment #105

Open
zuber-bioinfo opened this issue Aug 12, 2023 · 1 comment
Open

Comments

@zuber-bioinfo
Copy link

I have created an environment for seal and want to link VEP with it.
./vep_install not working.
Then, I have manually installed API. added them to PERL5LIB environment specific to conda_prefix. installed gcc, g++, cpanm in conda also.
cpanm method is not working, same error.
Error as below,

*** Building Bio::DB::HTS ***
CMD : env HTSLIB_DIR=/tmp/HcSxsEQ4FZ/htslib perl Build.PL
/home/genexp/miniconda3/envs/seal/bin/x86_64-conda-linux-gnu-ld: unrecognized option '-Wl,-O2'
/home/genexp/miniconda3/envs/seal/bin/x86_64-conda-linux-gnu-ld: use the --help option for usage information
Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Bio-DB-HTS' version '3.01'
Building Bio-DB-HTS
Error: no compiler detected to compile 'lib/Bio/DB/HTS.c'. Aborting
Error: no compiler detected to compile 'lib/Bio/DB/HTS.c'. Aborting
Build test failed. Not continuing at INSTALL.pl line 201.
cannot remove path when cwd is /tmp/HcSxsEQ4FZ/Bio-DB-HTS for /tmp/HcSxsEQ4FZ: at /home/genexp/miniconda3/envs/seal/lib/perl5/core_perl/File/Temp.pm line 916.

Please help.

@sgiorgetti
Copy link
Contributor

Hello @zuber-bioinfo - thanks for raising this.
From what you posted, I am not sure the issue is related to Bio::DB::HTS.
I am under the impression something is not quite right with your environment: it seems the installer/your session cannot find the compiler and/or something is wrong with the linker.

I would suggest to reach out to our Ensembl Outreach team, by following instructions at the following link http://www.ensembl.org/info/about/contact/index.html

Eventually, you'll be redirected to me ;-) but we'll be able to discuss details thoroughly.

Shall keep this issue open to report back results and possibly suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants