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

Cannot compile GNU Hello in outside linux filesystem image #2025

Closed
sunjoong opened this issue Apr 27, 2017 · 3 comments
Closed

Cannot compile GNU Hello in outside linux filesystem image #2025

sunjoong opened this issue Apr 27, 2017 · 3 comments

Comments

@sunjoong
Copy link

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Microsoft Windows [Version 10.0.15063]

  • What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)

It's a very simple test. I compiled GNU Hello in linux filesystem image and outside that. In linux filesystem image, I can compile it, but outside that, I cannot comile, with same condition and command but position.

CASE1: Sucess

SUNJOONG-DESKTOP ~ # cd ~
SUNJOONG-DESKTOP ~ # tar xvzf ~/hello-2.10.tar.gz
SUNJOONG-DESKTOP ~ # cd ~/hello-2.10/
SUNJOONG-DESKTOP hello-2.10 # ./configure
SUNJOONG-DESKTOP hello-2.10 # make

CASE2: Fail

SUNJOONG-DESKTOP ~ # cd /mnt/c/Users/sunjoong/Desktop
SUNJOONG-DESKTOP Desktop # tar xvzf ~/hello-2.10.tar.gz
SUNJOONG-DESKTOP ~ # cd /mnt/c/Users/sunjoong/Desktop/hello-2.10/
SUNJOONG-DESKTOP hello-2.10 # ./configure
SUNJOONG-DESKTOP hello-2.10 # make
@MikeGitb
Copy link

What is the error you get?

@sunjoong
Copy link
Author

@MikeGitb - In CASE2 only, not in CASE1;

SUNJOONG-DESKTOP hello-2.10 # make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /mnt/c/Users/sunjoong/Desktop/hello-2.10/build-aux/missing aclocal-1.14 -I
 m4
/mnt/c/Users/sunjoong/Desktop/hello-2.10/build-aux/missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [Makefile:1450: aclocal.m4] Error 127

@sunjoong
Copy link
Author

sunjoong commented Apr 28, 2017

I found why this will happen.

I did not modify 'acinclude.m4' or 'configure.ac' m4 files included by 'configure.ac'.
But, make knew those files were modified because of VFS design.
#1939 (comment)

That's worthy to be called bug because it will make many potential problems.
Now, I understand why that happened and knew @SvenGroot had been self-assigned to this bug,
so I'll close this issue.

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