Find the answer to your Linux question:
Results 1 to 4 of 4
When I emerge PyQT so i can get the hplip drivers i get this error: Code: sip/qt/qstringlist.sip: In function 'PyObject* slot_QStringList___getitem__(PyObject*, PyObject*)': sip/qt/qstringlist.sip:189: error: cannot convert 'ssize_t*' to 'int*' for ...
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24

    PyQT error



    When I emerge PyQT so i can get the hplip drivers i get this error:
    Code:
    sip/qt/qstringlist.sip: In function 'PyObject* slot_QStringList___getitem__(PyObject*, PyObject*)':
    sip/qt/qstringlist.sip:189: error: cannot convert 'ssize_t*' to 'int*' for argument '3' to 'int PySlice_GetIndicesEx(PySliceObject*, int, int*, int*, int*, int*)'
    sip/qt/qstringlist.sip: In function 'int slot_QStringList___delitem__(PyObject*, PyObject*)':
    sip/qt/qstringlist.sip:161: error: cannot convert 'ssize_t*' to 'int*' for argument '3' to 'int PySlice_GetIndicesEx(PySliceObject*, int, int*, int*, int*, int*)'
    sip/qt/qstringlist.sip: In function 'int slot_QStringList___setitem__(PyObject*, PyObject*)':
    sip/qt/qstringlist.sip:118: error: cannot convert 'ssize_t*' to 'int*' for argument '3' to 'int PySlice_GetIndicesEx(PySliceObject*, int, int*, int*, int*, int*)'
    distcc[16609] ERROR: compile sipqtQStringList.cpp on localhost failed
    make[1]: *** [sipqtQStringList.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    sip/qt/qstring.sip: In function 'PyObject* slot_QString___getitem__(PyObject*, PyObject*)':
    sip/qt/qstring.sip:753: error: cannot convert 'ssize_t*' to 'int*' for argument '3' to 'int PySlice_GetIndicesEx(PySliceObject*, int, int*, int*, int*, int*)'
    distcc[16613] ERROR: compile sipqtQString.cpp on localhost failed
    make[1]: *** [sipqtQString.o] Error 1
    make[1]: Leaving directory `/var/tmp/portage/PyQt-3.14.1-r2/work/PyQt-x11-gpl-3.14.1/qt'
    make: *** [all] Error 2
    
    !!! ERROR: dev-python/PyQt-3.14.1-r2 failed.
    Call stack:
      ebuild.sh, line 1546:   Called dyn_compile
      ebuild.sh, line 937:   Called src_compile
      PyQt-3.14.1-r2.ebuild, line 46:   Called die
    
    !!! emake failed
    !!! If you need support, post the topmost build error, and the call stack if relevant.
    TIA


  2. #2
    Linux User gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    480
    http://forums.gentoo.org/search.php?...3c3dc07b7d296a

    Just unmask the PyQT from unstable, and install it. This is a known bug in bugzilla.

    For future compile problems with portage, it would be better if you searched in the gentoo forums or the gentoo bugzilla. You will more than likely get instant answers and fixes.

    Linux User #376741
    Preferred Linux Distro: Debian
    Just because you use a distribution, doesn't mean everyone uses the same one.
    There is no need to login to the GUI as root!

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    24
    Thanx again gruven.....

    i searched the forums and found duplicates of the same bug linked in the forums...

    It worked thanx I should probably search the gentoo forums before asking here or up on the gentoo forums. How long have u been using gentoo ive been using it 4 about 1 year.



  4. #4
    Linux User gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    480
    About 3 - 4 years. I started with SUSE, and then went straight to Gentoo within the week. I have never looked back. I just can't get what I want with other distros (ie...customization, options, control). Plus, I have been on it so long that the Gentoo way just feels right.

    Linux User #376741
    Preferred Linux Distro: Debian
    Just because you use a distribution, doesn't mean everyone uses the same one.
    There is no need to login to the GUI as root!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •