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

New Error installing from source #8

Closed
potw opened this issue Apr 28, 2015 · 5 comments
Closed

New Error installing from source #8

potw opened this issue Apr 28, 2015 · 5 comments
Labels

Comments

@potw
Copy link

potw commented Apr 28, 2015

I'm trying to install from source using the version downloaded from github 10 minutes ago. I'm installing on a linux server. I've change the GSL paths to /opt/shared/local/lib/ as that is where the admin installed the GSL library. I've also updated the location of the dmd library. I've also made sure that the new line on the maximization.d library is there (namely import std.string;). Now, I get this error which I've not been able to understand:

sbipao@axon:~/msmc-526d9d3ff68696eb68f7468972694d872cc449c9$ make -f Makefile.linux
/opt/shared/software/dmd2/linux/bin64/dmd -O /opt/shared/local/lib/libgsl.a /opt/shared/local/lib/libgslcblas.a -release -odbuild -ofbuild/msmc model/coalescence_rate.d model/data.d model/emission_rate.d model/gsl_matrix_vector.d model/msmc_hmm.d model/msmc_model.d model/propagation_core.d model/propagation_core_fastImpl.d model/propagation_core_naiveImpl.d model/rate_integrator.d model/stateVecAllocator.d model/stateVec.d model/time_intervals.d model/transition_rate.d model/triple_index.d model/triple_index_marginal.d powell.d brent.d maximization_step.d expectation_step.d msmc.d branchlength.d logger.d
model/data.d(131): Error: undefined identifier file, did you mean struct File?
make: *** [build/msmc] Error 1

any help is most welcome.
thanks!

@stschiff
Copy link
Owner

Do you use a reasonably new version of dmd? I tested it on DMD 2.065.

Best,
Stephan

Am 28.04.2015 um 23:04 schrieb potw notifications@github.com:

I'm trying to install from source using the version downloaded from github 10 minutes ago. I'm installing on a linux server. I've change the GSL paths to /opt/shared/local/lib/ as that is where the admin installed the GSL library. I've also updated the location of the dmd library. I've also made sure that the new line on the maximization.d library is there (namely import std.string;). Now, I get this error which I've not been able to understand:

sbipao@axon:~/msmc-526d9d3ff68696eb68f7468972694d872cc449c9$ make -f Makefile.linux
/opt/shared/software/dmd2/linux/bin64/dmd -O /opt/shared/local/lib/libgsl.a /opt/shared/local/lib/libgslcblas.a -release -odbuild -ofbuild/msmc model/coalescence_rate.d model/data.d model/emission_rate.d model/gsl_matrix_vector.d model/msmc_hmm.d model/msmc_model.d model/propagation_core.d model/propagation_core_fastImpl.d model/propagation_core_naiveImpl.d model/rate_integrator.d model/stateVecAllocator.d model/stateVec.d model/time_intervals.d model/transition_rate.d model/triple_index.d model/triple_index_marginal.d powell.d brent.d maximization_step.d expectation_step.d msmc.d branchlength.d logger.d
model/data.d(131): Error: undefined identifier file, did you mean struct File?
make: *** [build/msmc] Error 1

any help is most welcome.
thanks!


Reply to this email directly or view it on GitHub.

@potw
Copy link
Author

potw commented Apr 30, 2015

Hi Stephan,

my dmd version is 2.067. see below.

./dmd --version
DMD64 D Compiler v2.067.1
Copyright (c) 1999-2014 by Digital Mars written by Walter Bright

thanks,
Pablo

@stschiff
Copy link
Owner

OK, I'll need to test the version, sorry for the inconvenience, will get back to you.
Stephan

Am 30.04.2015 um 11:14 schrieb potw notifications@github.com:

Hi Stephan,

my dmd version is 2.067. see below.

./dmd --version
DMD64 D Compiler v2.067.1
Copyright (c) 1999-2014 by Digital Mars written by Walter Bright

thanks,
Pablo


Reply to this email directly or view it on GitHub.

@stschiff
Copy link
Owner

stschiff commented May 1, 2015

OK, please pull the latest update. It may be that it is solved now. It wasn't reproducible on my platform using dmd2.0.67, but I anyway changed the name of the problematic identifier "file". It could be some weird error that has to do to your system being case-insensitive somehow... anyway, try it please

@alanrogers
Copy link

I meant to open a new issue, so I'm re-posting as I should have done initially.

@stschiff stschiff added the bug label May 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants