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

net/http/cgi: compilation problems when MiKTeX bin in PATH #4708

Closed
matrixik opened this issue Jan 25, 2013 · 4 comments
Closed

net/http/cgi: compilation problems when MiKTeX bin in PATH #4708

matrixik opened this issue Jan 25, 2013 · 4 comments
Milestone

Comments

@matrixik
Copy link

What steps will reproduce the problem?
1. Install MiKTeX 2.9
2. Add `C:\MiKTeX2.9\miktex\bin` to system PATH
3. Run src\all.bat

What is the expected output?
All tests complete successfully

What do you see instead?
Can't locate loadable object for module Win32 in @INC (@INC contains:
C:/MiKTeX2.9/miktex/lib .) at C:/MiKTeX2.9/miktex/lib/Cwd.pm line 758
Compilation failed in require at C:/MiKTeX2.9/miktex/lib/Cwd.pm line 758.
BEGIN failed--compilation aborted.
Can't locate loadable object for module Win32 in @INC (@INC contains:
C:/MiKTeX2.9/miktex/lib .) at C:/MiKTeX2.9/miktex/lib/Cwd.pm line 758
Compilation failed in require at C:/MiKTeX2.9/miktex/lib/Cwd.pm line 758.
BEGIN failed--compilation aborted.
--- FAIL: TestDirWindows (0.22 seconds)
host_test.go:76:        for key "cwd" got ""; expected
"c:\\Go\\src\\pkg\\net\\http\\cgi"
host_test.go:76:        for key "cwd" got ""; expected
"C:\\MiKTeX2.9\\miktex\\bin"
Can't locate loadable object for module Win32 in @INC (@INC contains:
C:/MiKTeX2.9/miktex/lib .) at C:/MiKTeX2.9/miktex/lib/Cwd.pm line 758
Compilation failed in require at C:/MiKTeX2.9/miktex/lib/Cwd.pm line 758.
BEGIN failed--compilation aborted.
--- FAIL: TestEnvOverride (0.11 seconds)
host_test.go:76:        for key "cwd" got ""; expected
"c:\\Go\\src\\pkg\\net\\http\\cgi"
FAIL
FAIL    net/http/cgi    1.068s

Which compiler are you using (5g, 6g, 8g, gccgo)?
8g

Which operating system are you using?
Windows 7 x32

Which version are you using?  (run 'go version')
go version devel +f50a112bfe3b Fri Jan 25 10:06:18 2013 +1100 windows/386

Please provide any additional information below.
To compile Go properly I need to remove MiKTeX from PATH every time, and put it back
after compilation end.

Best regards,
Dobrosław Żybort
@minux
Copy link
Member

minux commented Jan 25, 2013

Comment 1:

it should be a bug of perl included in the MikTeX package.
Can't locate loadable object for module Win32 in @INC (@INC contains:
C:/MiKTeX2.9/miktex/lib .) at C:/MiKTeX2.9/miktex/lib/Cwd.pm line 758
Compilation failed in require at C:/MiKTeX2.9/miktex/lib/Cwd.pm line 758.
It's miktex's Cwd.pm that doesn't compile properly, and we can't fix that.
I don't think we should detect miktex's broken perl either.
you can ignore this test failure for now, until MikTeX fixes its perl.

@matrixik
Copy link
Author

Comment 2:

Thank you for reply.
I submitted issue to MiKTeX: https://sourceforge.net/p/miktex/bugs/2209/
Best regards

@matrixik
Copy link
Author

Comment 3:

Can be closed.
Looks like I somehow installed to many things for MiKTeX (I don't know how). It's
working OK now.
Best regards,
Dobrosław Żybort

@minux
Copy link
Member

minux commented Jan 28, 2013

Comment 4:

Status changed to Retracted.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants