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

the clang compiler does not support -pg option on versions of OS X 10.9 and later #60

Closed
TommySchooner opened this issue Jun 29, 2020 · 4 comments

Comments

@TommySchooner
Copy link

Hi there,

I was trying to install bamUtil.

However, it shows the following error:

clang: error: the clang compiler does not support -pg option on versions of OS X 10.9 and later
make[1]: *** [../bin/profile/bam] Error 1
make: *** [src] Error 2

I wonder what should I do?

Thank you!

@jonathonl
Copy link
Contributor

Presumably, you don't need a profile build. Run make instead of make all.

@TommySchooner
Copy link
Author

Sorry, sorry for not making it clear.

I ran "make" and it went okay. Then I ran make install INSTALLDIR=/Users/apple/bamUtil-master

But the above error appeared.

Sorry I am a newbie to bioinformatics and coding and may need some guidances..

Thank you!

@jonathonl
Copy link
Contributor

I see... I'm guessing the 'install' target is dependent on the 'all' target. You should be able to get away with simply running make && cp bin/bam /Users/apple/bamUtil-master/bin/.

@TommySchooner
Copy link
Author

Thank you very much for helping! It is working now without any problem! Thank you!

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