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

Installation issue on MacOS #80

Open
goeckeritz opened this issue Dec 29, 2024 · 0 comments
Open

Installation issue on MacOS #80

goeckeritz opened this issue Dec 29, 2024 · 0 comments

Comments

@goeckeritz
Copy link

goeckeritz commented Dec 29, 2024

Hi there,

I am struggling to install MCScanX on MacOS. My current OS is Sequoia 15.1.1, and my chip is a Apple M1 Max.

I've tried both downloading the zip, unzipping the file, going to the directory, and running make, as well as using git clone then going to the directory and running make.

I get the same error in both cases:

make
c++ struct.cc mcscan.cc read_data.cc out_utils.cc dagchainer.cc msa.cc permutation.cc -o MCScanX
In file included from struct.cc:5:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from mcscan.cc:9:
In file included from ./mcscan.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from read_data.cc:16:
In file included from ./read_data.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from out_utils.cc:11:
In file included from ./out_utils.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from dagchainer.cc:15:
In file included from ./dagchainer.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
In file included from msa.cc:4:
./msa.h:1:10: fatal error: 'iostream' file not found
1 | #include
| ^~~~~~~~~~
1 error generated.
In file included from permutation.cc:26:
In file included from ./permutation.h:4:
./struct.h:8:10: fatal error: 'cstdio' file not found
8 | #include
| ^~~~~~~~
1 error generated.
make: *** [mcscanx] Error 1

I'm honestly not entirely sure what to make of this error. When I run sudo find ./ -name cstdio from the highest directory on my computer, cstdio does exist here: /Library/Developer/CommandLineTools/SDKs/MacOSX15.2.sdk/usr/include/c++/v1

I have tried adding this directory to my $PATH, but I still get the same error. Notably, I don't see a c++ executable anywhere in this directory. But when I run which c++, I receive /usr/bin/c++, which is of course short for '/Library/Developer/CommandLineTools/usr/bin'. So.. the executable is nearby, at least.

In case this is relevant, the command c++ --version outputs the following info:
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: arm64-apple-darwin24.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

I know this has nothing to do with the software itself, but do you have any idea why this is occurring?? I'm truly unsure where the disconnect in my system is here...

Thanks so much for your time, and for the wonderful tool!

Kindly,
Charity

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

1 participant