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

error in running setup batch file on win7 #4

Closed
5k3105 opened this issue Nov 13, 2015 · 3 comments
Closed

error in running setup batch file on win7 #4

5k3105 opened this issue Nov 13, 2015 · 3 comments

Comments

@5k3105
Copy link
Contributor

5k3105 commented Nov 13, 2015

When I run setup.bat on win7 I get generate message then:

file.Save open C:\Go\bin;C:\Go\src\github.com\therecipe\qt\dbus\cgo_android_arm. go: The filename, directory name, or volume label syntax is incorrect. file.Save open C:\Go\bin;C:\Go\src\github.com\therecipe\qt\dbus\qdbusobjectpath. h: The filename, directory name, or volume label syntax is incorrect. file.MakeFolder mkdir C:\Go\bin;C:: The filename, directory name, or volume labe l syntax is incorrect. file.Save open C:\Go\bin;C:\Go\src\github.com\therecipe\qt\dbus\cgo_darwin_amd64 .go: The filename, directory name, or volume label syntax is incorrect. file.Save open C:\Go\bin;C:\Go\src\github.com\therecipe\qt\dbus\cgo_windows_386. go: The filename, directory name, or volume label syntax is incorrect. file.Save open C:\Go\bin;C:\Go\src\github.com\therecipe\qt\dbus\cgo_linux_386.go : The filename, directory name, or volume label syntax is incorrect.

and keeps repeating. I shut the console down. I then go to therecipe/qt directory (using cmder console app), list the dir and I get:

The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qdomnamednodemap.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qdomnode.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qdomnodelist.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qdomnotation.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qdomprocessinginstruction.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qdomtext.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmlattributes.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmlcontenthandler.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmldeclhandler.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmldefaulthandler.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmldtdhandler.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmlentityresolver.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmlerrorhandler.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmlinputsource.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmllexicalhandler.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmllocator.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmlnamespacesupport.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmlparseexception.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmlreader.go. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in xml/qxmlsimplereader.go. The file will have its original line endings in your working directory.

By only listing the directory!

Using windows to go to the directory or the cmd console prints the directory normally..

Btw thanks for your hard work attempting to get this ported over. This is very important work imo :)

@therecipe
Copy link
Owner

Hey

It seems like it's a GOPATH problem
Could you check if you set a correct GOPATH or a GOPATH at all?

You can lookup your GOPATH with: go env GOPATH or echo %GOPATH%
The GOPATH should be something like C:\Users\YourName\work, but it should NOT be set to C:\Go
You can then move the qt dir to C:\Users\YourName\work\src\github.com\therecipe\qt

The second issue is just a warning from git, because unix and windows use different line endings.
You can disable the warning with git config core.autocrlf true, also you can find additionally information here: http://stackoverflow.com/questions/5834014/lf-will-be-replaced-by-crlf-in-git-what-is-that-and-is-it-important

I hope, it works after these changes.

(Additionaly, if you use the go x64 version, you need to clone the repo again, because I made some changes recently)

@5k3105
Copy link
Contributor Author

5k3105 commented Nov 15, 2015

It's working now THANKS!

@therecipe
Copy link
Owner

Okay :)
Then I'm closing this now.

xpoh pushed a commit to xpoh/qt that referenced this issue Mar 18, 2023
@5k3105 5k3105 mentioned this issue Sep 3, 2024
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