Update INSTALL.md #4261

Merged
stevegdavis merged 3 commits from Update-install-doc into master 2023-01-24 16:05:25 +00:00
stevegdavis commented 2023-01-11 13:57:05 +00:00 (Migrated from github.com)

Signed-off-by: Steve Davis stevedavis@post.com

Signed-off-by: Steve Davis stevedavis@post.com
biodranik (Migrated from github.com) reviewed 2023-01-11 14:53:30 +00:00
biodranik (Migrated from github.com) commented 2023-01-11 14:52:55 +00:00
  1. What about Windows 11?
  2. How to check if it helped and enabled symlinks?
1. What about Windows 11? 2. How to check if it helped and enabled symlinks?
stevegdavis (Migrated from github.com) reviewed 2023-01-12 08:36:30 +00:00
stevegdavis (Migrated from github.com) commented 2023-01-12 08:36:30 +00:00

Will try with Win11, I have tried it on 2 Win10 machines with the same results. I only knew that it didn't work was when I built it in AS and got those 2 language files errors (Discussion #3864)

Will try with Win11, I have tried it on 2 Win10 machines with the same results. I only knew that it didn't work was when I built it in AS and got those 2 language files errors (Discussion #3864)
rtsisyk approved these changes 2023-01-12 08:57:59 +00:00
biodranik (Migrated from github.com) reviewed 2023-01-12 13:40:02 +00:00
biodranik (Migrated from github.com) commented 2023-01-12 13:40:02 +00:00

Again: these two language errors mean that symlinks in the git repo were not enabled. The main question is "why are they not enabled/not working?"

Again: these two language errors mean that symlinks in the git repo _were not enabled_. The main question is "why are they not enabled/not working?"
stevegdavis (Migrated from github.com) reviewed 2023-01-12 14:07:27 +00:00
stevegdavis (Migrated from github.com) commented 2023-01-12 14:07:26 +00:00

Works fine on Win11 (followed the current released install doc as before) and when I run the b2 stuff it says:-
Screenshot 2023-01-12 101757

where as on my Win10 pc's it says "symlinks supported : no (cached)"

Works fine on Win11 (followed the current released install doc as before) and when I run the b2 stuff it says:- ![Screenshot 2023-01-12 101757](https://user-images.githubusercontent.com/15140454/212086974-953cc19e-e675-4be2-9d62-6eab32b202a7.png) where as on my Win10 pc's it says "symlinks supported : no (cached)"
biodranik (Migrated from github.com) reviewed 2023-01-12 21:38:48 +00:00
biodranik (Migrated from github.com) commented 2023-01-12 21:38:48 +00:00

Does it mean that you did not enable symlinks in your Git installation? https://stackoverflow.com/a/52097145

Does it mean that you did not enable symlinks in your Git installation? https://stackoverflow.com/a/52097145
rtsisyk reviewed 2023-01-15 11:02:38 +00:00

+1 for enabling symlinks for Git installation

+1 for enabling symlinks for Git installation
biodranik (Migrated from github.com) reviewed 2023-01-15 14:40:14 +00:00
biodranik (Migrated from github.com) commented 2023-01-15 14:40:14 +00:00

@stevegdavis can you please investigate what exactly git does if you set that checkmark "enable symlinks" during git installation? Does it set the same global config flag? Or does something else? It may be more reliable to do the same action as git installation does manually, so people won't need to reinstall the git again.

Can you please confirm that the original instruction did not work for you with that "symlinks" flag enabled during the git installation?

@stevegdavis can you please investigate what exactly git does if you set that checkmark "enable symlinks" during git installation? Does it set the same global config flag? Or does something else? It may be more reliable to do the same action as git installation does manually, so people won't need to reinstall the git again. Can you please confirm that the original instruction did not work for you with that "symlinks" flag _enabled_ during the git installation?
stevegdavis (Migrated from github.com) reviewed 2023-01-16 11:22:55 +00:00
stevegdavis (Migrated from github.com) commented 2023-01-16 11:22:55 +00:00

OK will do. Over the weekend I ran it all again on Win10, reinstalling Git for Windows but without checking the symlinks on install checkbox now if I run git config --global core.symlinks without the true param it actually returns true which seems strange, however during the boost build step I can see messages something like hardlink and junction created but no symlinks created, that as expected fails the AS build with those language files. I will now try it again from scratch but this time checking the symlinks on install checkbox to see if that works, sorry it takes a few hours to do the full cycle as my Win10 machine is quite old.

OK will do. Over the weekend I ran it all again on Win10, reinstalling Git for Windows but **without** checking the symlinks on install checkbox now if I run git config --global core.symlinks without the true param it actually returns true which seems strange, however during the boost build step I can see messages something like hardlink and junction created but no symlinks created, that as expected fails the AS build with those language files. I will now try it again from scratch but this time checking the symlinks on install checkbox to see if that works, sorry it takes a few hours to do the full cycle as my Win10 machine is quite old.
stevegdavis (Migrated from github.com) reviewed 2023-01-18 12:03:14 +00:00
stevegdavis (Migrated from github.com) commented 2023-01-18 12:03:13 +00:00

@biodranik - I feel that it would after all not necessary to alter the install doc at all. I have tried all possible options and found if at least 1 symlinks option is enabled it will work. Installing Git from scratch has the symlinks checkbox ticked but if a user unticks it or Git is already installed possibly without symlinks checkbox ticked then of course running the 'git config --global core.symlinks true' would be needed.
Running 'dir /AL /S c:' from the command line will tell a user if symlinks are supported.
No other user has come forward with the same problem so I feel that changes are not needed.
Tests done on Win10 and 11.

@biodranik - I feel that it would after all not necessary to alter the install doc at all. I have tried all possible options and found if at least 1 symlinks option is enabled it will work. Installing Git from scratch has the symlinks checkbox ticked but if a user unticks it or Git is already installed possibly without symlinks checkbox ticked then of course running the 'git config --global core.symlinks true' would be needed. Running 'dir /AL /S c:\' from the command line will tell a user if symlinks are supported. No other user has come forward with the same problem so I feel that changes are not needed. Tests done on Win10 and 11.
biodranik (Migrated from github.com) reviewed 2023-01-18 14:00:29 +00:00
biodranik (Migrated from github.com) commented 2023-01-18 14:00:29 +00:00

Non-working symlinks are now at the top of all requests, so it makes sense to clarify it in the details in the install.md.

Non-working symlinks are now at the top of all requests, so it makes sense to clarify it in the details in the install.md.
stevegdavis (Migrated from github.com) reviewed 2023-01-24 11:59:52 +00:00
stevegdavis (Migrated from github.com) commented 2023-01-24 11:59:52 +00:00

I noticed that this PR has been approved but it has not been merged maybe due to a DCO missing. I did originally create a PR but didn't do a DCO but then I closed it and opened another PR that I did add the DCO to so I don't know if that is the problem?

I noticed that this PR has been approved but it has not been merged maybe due to a DCO missing. I did originally create a PR but didn't do a DCO but then I closed it and opened another PR that I did add the DCO to so I don't know if that is the problem?
biodranik (Migrated from github.com) requested changes 2023-01-24 15:52:08 +00:00
biodranik (Migrated from github.com) commented 2023-01-24 15:50:17 +00:00
For _Windows_, enable [symlinks](https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks) support in git first. The easiest way is to reinstall the latest [Git for Windows](https://gitforwindows.org/) with the "Enable Symlinks" checkbox checked. If you don't want to reinstall Git, then you can add `-c core.symlinks=true` parameter to the clone command below to enable symlinks for the repository.
```suggestion For _Windows_, enable [symlinks](https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks) support in git first. The easiest way is to reinstall the latest [Git for Windows](https://gitforwindows.org/) with the "Enable Symlinks" checkbox checked. If you don't want to reinstall Git, then you can add `-c core.symlinks=true` parameter to the clone command below to enable symlinks for the repository. ```
biodranik (Migrated from github.com) commented 2023-01-24 15:52:02 +00:00
git clone --recurse-submodules https://github.com/organicmaps/organicmaps.git
```suggestion git clone --recurse-submodules https://github.com/organicmaps/organicmaps.git ```
biodranik (Migrated from github.com) approved these changes 2023-01-24 16:05:01 +00:00
biodranik (Migrated from github.com) left a comment

Thanks!

Thanks!
stevegdavis (Migrated from github.com) reviewed 2023-01-24 16:05:17 +00:00
stevegdavis (Migrated from github.com) left a comment

Changes suggested applied.

Changes suggested applied.
stevegdavis commented 2023-01-24 16:07:54 +00:00 (Migrated from github.com)

No problem, I see your belt and braces approach is a much better way. Should work for everyone. Thanks.

No problem, I see your belt and braces approach is a much better way. Should work for everyone. Thanks.
This repo is archived. You cannot comment on pull requests.
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#4261
No description provided.