-
Notifications
You must be signed in to change notification settings - Fork 18
Mac install fails #7
Comments
Any progress on this? |
@pichot Unfortunately not on our end. PR's graciously accepted :). |
I cloned this program with macOS Sierra 10.12.5. I used brew to install maven, |
Thanks @3vivekb! Can you define "more or less correctly"? |
Perhaps I should have just said it works? |
either the source is targetting java 1.5 or you have java 1.5 installed and need a minimum of 1.6 |
@james2432 - any recs on how to rectify this situation? I've tried uninstalling/reinstalling java via homebrew and get the same error. Here's the version I'm running |
https://github.com/CUTR-at-USF/gtfs-osm-sync/blob/master/GO_Sync/nbproject/project.properties#L44 Can't guarantee it will work thought, I'm not familiar how homebrew is packaged. There is something in the source code that is telling your compiler(java 9) to compile to the 1.5 standard(java5) |
From https://code.google.com/p/gtfs-osm-sync/issues/detail?id=17:
When installing on Mac OS 10.6.8, I get as far as step 7 of 9, where it quits with the error:
Error executing
/bin/chmod +x /Applications/GO-Sync/GO-Sync/bin/compile
Note that there is no 'bin' directory in /Applications/GO-Sync/GO-Sync/ when I check afterwards.
I'm thinking this has to do with any POSIX environment and not just MacOS. Rationale: installer seems to be using a hardcoded \ separator for directories, resulting in failed installs on any operating system not stuck in the 1970s.
running the jar file directly also shows up the hard coded path separators:
Error: java.io.FileNotFoundException: /Users/andrew/GTFS_Temp/\routes.txt (No such file or directory)
Error: java.io.FileNotFoundException: /Users/andrew/./GTFS_Temp\routes.txt (No such file or directory)
Error: java.io.FileNotFoundException: /Users/andrew/./GTFS_Temp\trips.txt (No such file or directory)
Error: java.io.FileNotFoundException: /Users/andrew/./GTFS_Temp\stop_times.txt (No such file or directory)
Error: java.io.FileNotFoundException: /Users/andrew/./GTFS_Temp\stops.txt (No such file or directory)
Lon, Lat format = -0.0040,-0.0040 0.0040,0.0040
Initializing...
compared to
[andrew@skidmark GTFS_Temp]$ ls
agency.txt calendar_dates.txt feed_info.txt shapes.txt stops.txt
calendar.txt custom_landmarks.txt routes.txt stop_times.txt trips.txt
The text was updated successfully, but these errors were encountered: