You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Single quote character in path name breaks compilation #10
Tim Streater reported on the sqlite-users mailing list:
Warn folks not to have a single-quote (') in their path, it causes
the make of sqlitebrowser to fail. I moved the folder elsewhere and
redid the qmake, make, steps and it completed.
In testing here:
$ mkdir foo\'
$ cd foo\'
$ pwd
/Users/jc/tmp/foo'
$ git clone https://github.com/sqlitebrowser/sqlitebrowser.git
Cloning into 'sqlitebrowser'...
remote: Reusing existing pack: 4556, done.
remote: Counting objects: 19, done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 4575 (delta 7), reused 0 (delta 0)
Receiving objects: 100% (4575/4575), 6.23 MiB | 572 KiB/s, done.
Resolving deltas: 100% (2757/2757), done.
$ cd sqlitebrowser/
$ qmake
$ make
cd libs/antlr-2.7.7/ && /usr/local/bin/qmake /Users/jc/tmp/foo'/sqlitebrowser/libs/antlr-2.7.7/antlr.pro -o Makefile.antlr
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [libs/antlr-2.7.7/Makefile.antlr] Error 2
changed the title [-]Single quota character in path name breaks compilation[/-][+]Single quote character in path name breaks compilation[/+]on May 21, 2014
Hmm, there doesn't seem to be an easy way of solving this problem. In my opionion this should be fixed in qmake - but that's just what I think :)
I was able to fix this issue half way but in the end it doesn't seem to be feasible without complex changes to the project files. Or maybe it's not possible at all with our project structure of 3 libraries and the application.
For MacOS users I'd suggest falling back to another path name, for users of all other Unixes using cmake (assuming cmake handles this better).
I'm closing this issue as there is no way we'll be able to fix this in the qmake build process. cmake on the other hand works just fine with single quotes in the path name. So if somebody really wants to have them in their path name, that's fine - just make sure you use cmake.
Activity
[-]Single quota character in path name breaks compilation[/-][+]Single quote character in path name breaks compilation[/+]MKleusberg commentedon May 22, 2014
Hmm, there doesn't seem to be an easy way of solving this problem. In my opionion this should be fixed in qmake - but that's just what I think :)
I was able to fix this issue half way but in the end it doesn't seem to be feasible without complex changes to the project files. Or maybe it's not possible at all with our project structure of 3 libraries and the application.
For MacOS users I'd suggest falling back to another path name, for users of all other Unixes using cmake (assuming cmake handles this better).
MKleusberg commentedon Jul 31, 2014
I'm closing this issue as there is no way we'll be able to fix this in the qmake build process. cmake on the other hand works just fine with single quotes in the path name. So if somebody really wants to have them in their path name, that's fine - just make sure you use cmake.