-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
No targets specified and no makefile found #38
Comments
Which operating system are you using? |
Mac OS X 10.9.3 |
Interesting. Homebrew is installed, and both qt and sqlite installed from it fine? |
Also, can you show the output of |
Qt and Sqlite is installed but homebrew was not. I tried again after installing Homebrew, but still there is same error. Here is output of ls - la in sqlitebrowser directory: maciyepson:sqlitebrowser kutay$ ls -la |
k. Looking at that, your "qmake" isn't generating the Makefile (which it should be). Try running "qmake -d". That '''should''' spit out a bunch of information to say what it's doing. Are you able to cut-n-paste that here (in monospace for readability), or email it to me? (justin@postgresql.org) Or maybe put it in a GitHub gist if you're more comfortable with that. eg whatever works 😄 Lastly, what did you use to install Qt and SQLite3? |
qmake -d result: https://gist.github.com/0e5a3b7085d16dd634b6 Note: At the beginning 'antlr.xcodeproj' in Users/kutay/foo/sqlitebrowser/libs/antlr-2.7.7 has not current extension.(3 or 4 more file had same stiuation) When i was running qmake, terminal says ¨can't find 'antlr.xcodeproj' ¨ or something like that. Then i change *.pro to *.xcodeproj .. It may be important to know. |
Yeah, I'm not sure. I'm not a C++ coder, so I'm mostly just guessing here. 😉 Here's the output of qmake -d for me (with a fresh git clone of the sqlitebrowser repo): https://gist.github.com/justinclift/8b71f6dde186150b616f It looks like your system is using gcc to compile with, and mine is using clang. Ummm... would it be feasible for you to install Qt and sqlite3 using Homebrew, as that's known to work? |
I can only grope about in the dark as well here as I don't have a macOS system available. However, the interesting information seems to be in line 8 where it says 'MAKEFILE_GENERATOR: :=: (XCODE)'. According to [1] this is a qmake internal variable which defines the tool used for generating the makefiles, in your case Xcode which also explains the missing xcodeproj extension. On my system it's set to 'UNIX' and you seem to be able to override the qmake configuration file which defines this variable. Provided you have the g++ compiler installed you could try this:
If you use LLVM/Clang try this:
If you have neither of them installed (and don't want to) manipulating line 7 of your /usr/local/Qt4.8/mkspecs/default/qmake.conf file, changing it from XCODE to UNIX, might work but will probably cause problems later on. [1] https://stackoverflow.com/questions/11569495/using-os-scope-before-setting-makefile-generator-in-qt |
I had the same issue installing. I definitely had both Qt and SQLite3 installed with brew with no problems. This worked for me: |
Thanks @metalrecker, that's really good info. 😄 |
I found another way to accomplish my duty. When i have free time i'm gonna try your recommendations. Thanks for now :) |
😄 |
@kytekoz Do you have a few minutes to try out @metalrecker's suggestions? |
I was also experiencing this problem on my Mac OS X 10.9.4: $ qmake
WARNING: Ignored (not found) '/Users/username/Documents/sqlitebrowser/libs/antlr-2.7.7/antlr.xcodeproj'
WARNING: Ignored (not found) '/Users/username/Documents/sqlitebrowser/libs/qhexedit/qhexedit.xcodeproj'
WARNING: Ignored (not found) '/Users/username/Documents/sqlitebrowser/libs/qcustomplot-source/qcustomplot.xcodeproj'
WARNING: Ignored (not found) '/Users/username/Documents/sqlitebrowser/src/sqlitebrowser.xcodeproj' but this suggestion helped: qmake -spec macx-llvm
make Thanks @MKleusberg ! |
Just added this workaround info in dea0a65. Guessing we can close this issue now? |
Closing this now, as the new instructions seem to be working for everyone. 😄 |
maciyepson:~ kutay$ cd foo
maciyepson:foo kutay$ cd sqlitebrowser
maciyepson:sqlitebrowser kutay$ qmake
maciyepson:sqlitebrowser kutay$ make
make: *** No targets specified and no makefile found. Stop.
How can i solve this error?
The text was updated successfully, but these errors were encountered: