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

Configuration file on mingw/msys put in different place from where looks #14

Open
mohawk2 opened this issue Aug 28, 2014 · 1 comment
Open

Comments

@mohawk2
Copy link
Owner

mohawk2 commented Aug 28, 2014

I built dmake on Windows using mingw and msys. Used a patch similar to the msys patch listed here. I'm trying to work with the FHS standard to determine where files are placed under msys. When I built dmake, it placed the .mk files under usr\local\share\startup which makes sense and follows the FHS standard. When I run dmake, it's looking for the files in startup subdirectory beneath the bin directory where the dmake executable is (usr\local\bin\startup).

There's a line in configure that switches it to look for DMAKEROOT at $datarootdir/share/startup, but it's only set to work for unix like machines:

if test x$OS_TYPE = xunix; then
DMAKEROOT_H_LINE1='"DMAKEROOT := '${dmakerootprefix}'/startup",'
fi

Had to work around the issue with:

export MAKESTARTUP=\\mingw\\msys\\usr\\local\\share\\startup\\startup.mk

I like the fact that it installs support files in $datarootdir/share/. However, it would be even nicer if it could actually find the files that it installs to that directory. Thanks.

@mohawk2 mohawk2 changed the title Configuration file not found Configuration file on mingw/msys put in different place from where looks Aug 29, 2014
@mohawk2
Copy link
Owner Author

mohawk2 commented Aug 30, 2014

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