Skip to content

configure script cannot change prefix, leading to difficulties porting without patches. #109

Open
@2403772980ygy

Description

@2403772980ygy

The configure script pretty much hardcodes /usr as its install prefix.

In the configure.ac script, it has this snippet:

  20   │ AC_MSG_NOTICE([Running qmake to generate the makefile...])
  21   │ $QT_QMAKE "die_source.pro" -spec $X_QMAKE_SPEC

while the die_source.pro file decides to use /usr as a backup, which is always the case, which in turn tries to run bash -x install.sh /usr when doing make-install

This leads to problems when porting this package to some distros such as NixOS without patching the qmake instructions.

Actually, I can run make install_subtargets and bash -x install.sh $prefix instead, but this is kind of annoying, I hope this can be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions