-
Notifications
You must be signed in to change notification settings - Fork 7
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
[BUG] QtVipster binary missing after (local) build #49
Comments
Hi Andrew, jfyi, the CI pipelines produce binary artifacts that should contain moltemplate support (and should even bundle it, if i recall correctly). Would be thankful if you could give them a try :) About the issue at hand, my first guess would be a missing/ill-configured Qt installation. Thanks for reporting this! |
Thanks.
Sure! Here are the messages generated by the second call to "cmake" (step 2): ...And here are the messages from the third (final) call to "cmake" (step 3): None of the messages contain: "ekstop", "Qt", or "qt".
Andrew |
Also, here is the Makefile generated by cmake (renamed to Makefile.txt) |
There should be a list of artifacts below the build-graph from which you can choose the relevant architecture.
Thanks for the logs! The issue at hand is still that you do not seem to have a Qt development environment installed or it can't be found, for e.g. Ubuntu this means |
Updated master-branch, please let me know if this makes things more clear! |
Hi Sebastian
That is a big improvement. -Andrew DetailsFor completeness, here is a log of the commands I typed in to generate the messages above. sudo apt-get install qtbase5-dev package for ubuntu # (probably unnecessary)
cd ~/vipster # I previously downloaded vipster here using git
git pull
rm -rf build # get rid of the old "build/" directory
mkdir build
cd build
SOURCE_DIR=$HOME/vipster
BUILD_DIR=$HOME/vipster/build
# step 1
cmake $SOURCE_DIR -DCMAKE_INSTALL_PREFIX=$HOME/.local -DVIPSTER_DESKTOP=ON |
Incidentally, I just tried using the binary from the most recent artifact. Unfortunately it generated this error message: $ chmod 755 ./Vipster-Linux-x86_64.AppImage
$ ./Vipster-Linux-x86_64.AppImage
/tmp/.mount_VipsteepTSBB/AppRun: 13: /tmp/.mount_VipsteepTSBB/AppRun: 12: python3.10: not found
python3.10: not found I was surprised that the program requires a specific version of python. I have python 3.8.12 installed instead. If I get around to upgrading my python version, I'll try again. (This will probably happen when I upgrade my OS later this year. Doing that will make it easier to upgrade my Qt version as well.) Meanwhile, the binary for the 1.19.1b release is working fine on my computer (although it lacks the recent moltemplate features you added). Thank you for all your efforts. |
Describe the bug
Hi Sebastian
I am following the instructions here to build QtVipster from source. But after I am done, I cannot find the QtVipster binary. I don't know if this is a bug. Perhaps it is present somewhere. But if so, I don't have enough clue to figure out where it is or what it is called. Please change the documentation so that it clarifies where the QtVipster binary is located after a build, and how to invoke it.
To Reproduce
Here's what I did:
(Note: I built vipster on a different computer where I have admin privileges. Then I took photos of the terminal with my phone. Then I retyped it here. There may be typos. But hopefully, you get the idea.)
The compilation completes with no error messages during steps 1,2,3.
Then I start a new terminal and type:
(I knew this probably wouldn't work, but I tried it anyway.)
Then I use the unix "find" command to search for files containing "vipster" in ~/.local
(I did not attempt to install PyVipster or WebVipster.)
Expected behavior
I was expecting to see a binary file (perhaps something in the ~/.local/bin directory). I could only find the library and some include files. If the QtVipster binary is there, I think the documentation could provide more instructions so that users can find it.
Your system/installation (please complete the following information):
Additional context
I am trying to build vipster from source because I wanted to try the new moltemplate export capabilities that you kindly added in issue #35. (Thank you so much for adding this. I am starting to get questions about this feature by moltemplate users. I feel bad that it took me this long to try this out.)
Forgive me for taking so long to followup on this and don't feel obligated to respond. If you don't have time to deal with this now, I completely understand. (I often feel that way when people ask me moltemplate questions.)
The text was updated successfully, but these errors were encountered: