0.9.1 won't install a correctly made binary (patch enclosed)

Forums

At my site, `make install` (issued as root) stops with the following error, despite a successful build:

lupdate: could not find a Qt installation of ''
make: *** [Makefile:102: translations_lupdate] Error 1

This perplexing error message from `lupdate` seems to concern the provided translations (which personally I wouldn't use anyway).

Enclosed is a trivial patch for the Makefile to let `make` proceed with the installation.

I'm on Devuan Linux/amd64, GNU Make 4.2.1, Qt 5.11.3 ... more specs on request if needed.

Permalink

Hello and thanks for your reply. I installed the package you mention, but I still get the same error while trying to `make install` qjackctl this time (as with qsynth, the build itself succeeds).

In both cases, the `make install` output contains a bunch of errors like this:

install: cannot stat 'src/translations/qsynth_XX.qm': No such file or directory

So maybe I'm missing some Qt program that makes .qm files from .ts files (I know nothing about Qt so I'm guessing). If that's the case, the `configure` script should probably check for that program and IMO disable translation support if it's missing (thus allowing for an installation without translations).

In the end, I went with the same workaround: alter the Makefile to ignore the error and carry on.

Permalink

they are lupdate and lrelease and should be provided in qttools5-dev-tools package, please check it out.

have you restarted the builds from a clean slate, after installing the qttools5-dev-tools? you should! try this:

./autogen.sh clean
./autogen.sh
./configure ...
make
sudo make install

byee

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.