Skip to content

Not compilable #2

@monofox

Description

@monofox

Hello Guys,

i even don't know what i'm doing wrong, but i have the same issue on two different systems (Debian as well as Gentoo):

Installing collected packages: python-poppler-qt5
  Running setup.py install for python-poppler-qt5
    building 'popplerqt5' extension
    /usr/bin/sip -I /usr/share/sip -t POPPLER_V0_20_0 -c build/temp.linux-x86_64-3.4 -b build/temp.linux-x86_64-3.4/poppler-qt5.sbf -I /usr/share/sip/PyQt5 -t WS_X11 -t Qt_5_4_1 poppler-qt5.sip
    sip: QDomElement is undefined
    Can't determine version of poppler-qt5
    error: command '/usr/bin/sip' failed with exit status 1
    Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-h3ed8rd_/python-poppler-qt5/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-qufom6di-record/install-record.txt --single-version-externally-managed --compile:
    running install

    running build

    running build_ext

    building 'popplerqt5' extension

    /usr/bin/sip -I /usr/share/sip -t POPPLER_V0_20_0 -c build/temp.linux-x86_64-3.4 -b build/temp.linux-x86_64-3.4/poppler-qt5.sbf -I /usr/share/sip/PyQt5 -t WS_X11 -t Qt_5_4_1 poppler-qt5.sip

    sip: QDomElement is undefined

    Can't determine version of poppler-qt5

    error: command '/usr/bin/sip' failed with exit status 1

    ----------------------------------------
    Command "/usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-h3ed8rd_/python-poppler-qt5/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-qufom6di-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-h3ed8rd_/python-poppler-qt5

I have installed Qt 5.4.1 and also PyQt 5.4.1. For SIP i've installed version 4.16.7.

Did i missed something? How can i resolve that issue? If i'm removing the QDomElement parts (because i even don't need the annotation feature), he misses the QDomDocument and so on. But i can import these elements without any problems.

Especially on gentoo i can ensure that the qtxml part is also installed. To get it compiled i now said the setup.py that i don't have qtxml installed. But it is not really beautiful.

Thanks and Regards,
Lukas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions