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

html build process tries to run bash code on Windows #1480

Closed
lefth opened this issue Aug 31, 2017 · 6 comments
Closed

html build process tries to run bash code on Windows #1480

lefth opened this issue Aug 31, 2017 · 6 comments

Comments

@lefth
Copy link
Contributor

lefth commented Aug 31, 2017

Environment: Windows 10, and the build tools from both Strawberry Perl and MSYS.

Steps: I cloned the p6doc repository to a local directory (the result is the same if I use "zef look p6doc"), entered the directory with the windows command shell, and ran "gmake html".

Result:

  • Lots of output about pods being successfully processed:
    "processed ./doc\Type\X\Role\Initialization.pod6"
  • several warnings about duplicate index entries were printed
  • The following linux shell code and error were printed:
ATOMDIR="./highlights/atom-language-perl6";  \
if [ -d "$ATOMDIR" ]; then (cd "$ATOMDIR" && git pull); \
else git clone https://github.com/perl6/atom-language-perl6 "$ATOMDIR"; \
fi; cd highlights; npm install .
'ATOMDIR' is not recognized as an internal or external command,
operable program or batch file.
makefile:11: recipe for target 'init-highlights' failed
gmake: *** [init-highlights] Error 1
@lefth lefth changed the title html build process tries to run linux shell code on Windows html build process tries to run bash code on Windows Aug 31, 2017
@JJ
Copy link
Contributor

JJ commented Feb 9, 2018

Can someone who uses Windows take care of this? Maybe port to powershell?

@coke
Copy link
Collaborator

coke commented Feb 22, 2018

if we move this part of the build into perl6, that will also cover it.

@JJ
Copy link
Contributor

JJ commented Mar 30, 2018

@coke Are we going to do that? Is that in another issue?

@JJ JJ added the TPF Grant label Mar 30, 2018
@coke
Copy link
Collaborator

coke commented Mar 30, 2018

No, there is no other issue specifically devoted to my particular suggestion here.

@JJ JJ removed the JJ TPF Grant label May 14, 2018
@JJ
Copy link
Contributor

JJ commented Jan 30, 2019

Can someone who uses Windows check this out?

@coke
Copy link
Collaborator

coke commented Nov 16, 2022

This will be obsolete (or at least a whole different problem on Windows) with the new site; we'll do the build there and get it working on windows if possible.

@coke coke closed this as completed Nov 16, 2022
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

4 participants