morrislab / pairtree

Pairtree is a method for reconstructing cancer evolutionary history in individual patients, and analyzing intratumor genetic heterogeneity. Pairtree focuses on scaling to many more cancer samples and cancer cell subpopulations than other algorithms, and on producing concise and informative interactive characterizations of posterior uncertainty.
MIT License
37 stars 11 forks source link

‘for’ loop initial declarations are only allowed in C99 mode #13

Closed karini925 closed 1 year ago

karini925 commented 3 years ago

Hi Jeff, just wanted to share that when I tried installing pairtree on our cluster, I ran into an issue during bash make.sh. My gcc version is 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) and when I ran the command as is I got the error: ‘for’ loop initial declarations are only allowed in C99 mode. I added -std=c99 following all instances of $CC and it seemed to resolve the issue for me. Thanks!

Karina