./build.py succeeds on branch master ./build.sh fails on branch 1.9.8 with src/qt/bin/qmake: No such file or directory
#13871
Comments
src/qt/bin/qmake: No such file or directory
Switching between 1.x and 2.x branches are not recommended due to various complications (new submodule in 2.x etc). You may get it away by doing |
I'll try that. I declared success a little too early. The build endlessly looped over the inability to find qt/src/3rdparty/webkit/Source/WebCore/generated/InspectorBackendStub.qrc I had tried your suggestion earlier when I found it in another post yet I didn't have success. I must have missed something. Your suggestion of switching branches and then calling Thank you for your help and for creating PhantomJS. |
Your suggestion seems to be working on this machine:
Update: Success!
And it seems to be working on this machine:
I am getting the
I installed all the requisite packages on all the machines with the same command. |
Qt 5 doesn't support PowerPC. If you really need it, you have to create your own mkspec for Qt to compile it for PowerPC arch. |
@vitallium Thank you! That solves that. Nothing like chasing red herrings. It will teach me to stick on one machine until I get it working. Fortunately version 2.0.0 built successfully on my PowerPC machine. |
I was able to successfully build version 2.0.0 on
using the instructions for building PhantomJS.
I then wanted to try version 1.9.8 of PhantomJS so I did the following:
The following error was returned:
src/qt/bin/qmake: No such file or directory
Knowing very little about these sorts of things I turned to Google and found that others had had the same error returned.
I did not find a solution in a discussion I found here.
I found my own solution, however. Granted, it is not likely the most elegant solution; it did, however, work.
I am a newbie so please comment on how this could be done more elegantly! This is a hack because I do not really grok why my solution succeeded. I pieced together other hacks I found while googling. Though I think I have a sense of what is going on.
S̶u̶c̶c̶e̶s̶s̶!̶
NB: I tried using the source code from a non-git source. I ran
./build.sh
and had the samesrc/qt/bin/qmake: No such file or directory
error.The text was updated successfully, but these errors were encountered: