WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pyqt5 picore 13.0.3 rpi 4  (Read 4705 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #15 on: November 15, 2021, 04:29:33 AM »
It is there, maybe perl5 is not actually loaded - check with "tce-status -i | grep perl"

Offline ketank

  • Newbie
  • *
  • Posts: 40
  • learning ...
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #16 on: November 15, 2021, 04:50:27 AM »
perl5
perl_xml_parser

Offline ketank

  • Newbie
  • *
  • Posts: 40
  • learning ...
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #17 on: November 15, 2021, 04:51:36 AM »
Code: [Select]
tc@box:~/temp/qt5$ /usr/local/bin/perl
-sh: /usr/local/bin/perl: not found
tc@box:~/temp/qt5$ /usr/local/perl
-sh: /usr/local/perl: not found


Code: [Select]
tc@box:~/temp/qt5$ which perl
tc@box:~/temp/qt5$

    [EDIT]: Added code tags.  Rich
« Last Edit: November 15, 2021, 06:27:44 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #18 on: November 15, 2021, 05:00:27 AM »
I double checked on an RPi3 and /usr/local/bin/perl is present.

What does "ls /tmp/tcloop/perl5/usr/local/bin" give?

Offline ketank

  • Newbie
  • *
  • Posts: 40
  • learning ...
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #19 on: November 15, 2021, 05:06:04 AM »
Code: [Select]
tc@box:~$ ls /tmp/tcloop/perl5/usr/local/bin
ls: cannot access '/tmp/tcloop/perl5/usr/local/bin': No such file or directory
tc@box:~$ ls /tmp/tcloop/perl5/
tc@box:~$

There is nothing inside this folder.

I checked for perl_xml_parser .. it has usr folder.

    [EDIT]: Added code tags.  Rich
« Last Edit: November 15, 2021, 06:26:48 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #20 on: November 15, 2021, 06:06:43 AM »
Maybe your perl5 extension download is corrupted, you could check its size and md5sum against the repo version.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #21 on: November 15, 2021, 06:24:59 AM »
Hi ketank
Please use  Code Tags  when posting commands and responses seen in a terminal. To use  Code Tags  click on the  #  icon
above the reply box and paste your text between the  Code Tags  as shown in this example:

Quote
[code][   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]

It will appear like this in your post:
Code: [Select]
[   36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[   36.176536] pcm512x 1-004d: Failed to get supplies: -517
[   36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517

Code Tags  serve as visual markers between what you are trying to say and the information you are posting. They also preserve
spacing so column aligned data displays properly. Code tags also automatically add horizontal and or vertical scrollbars
to accommodate long lines and listings.

Offline ketank

  • Newbie
  • *
  • Posts: 40
  • learning ...
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #22 on: November 15, 2021, 06:28:29 AM »
Juanito - will try again.

The SD card crashed... need to start again ...

Hi Rich,
I will follow the instructions... Thank you

Offline ketank

  • Newbie
  • *
  • Posts: 40
  • learning ...
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #23 on: November 15, 2021, 09:43:32 AM »
Maybe your perl5 extension download is corrupted, you could check its size and md5sum against the repo version.

looks like that was the case.
On the fresh install, perl seems to be working ..

now building qt5

Offline ketank

  • Newbie
  • *
  • Posts: 40
  • learning ...
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #24 on: November 15, 2021, 02:27:18 PM »
Tired....

going off to sleep... hope there is some help on the other side in the morning

Code: [Select]

CMake Error at /usr/local/lib/cmake/clang/ClangConfig.cmake:10 (find_package):
  Could not find a package configuration file provided by "LLVM" with any of
  the following names:

    LLVMConfig.cmake
    llvm-config.cmake

  Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
  "LLVM_DIR" to a directory containing one of the above files.  If "LLVM"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  qttools/cmake/FindWrapLibClang.cmake:14 (find_package)
  qtbase/cmake/QtFindPackageHelpers.cmake:130 (find_package)
  qttools/configure.cmake:19 (qt_find_package)
  qtbase/cmake/QtFeature.cmake:573 (include)
  qttools/src/CMakeLists.txt:21 (qt_feature_evaluate_features)


-- Configuring incomplete, errors occurred!
See also "/tmp/sda/qt5/CMakeFiles/CMakeOutput.log".
See also "/tmp/sda/qt5/CMakeFiles/CMakeError.log".
CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:928 (message):
  CMake exited with code 1.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #25 on: November 15, 2021, 08:25:07 PM »
You could try "sudo cp /tmp/tcloop/llvm-dev/usr/local/lib/llvm-config /usr/local/bin"

Alternatively "export LLVM_DIR=/usr/local/lib/cmake/llvm"

Offline ketank

  • Newbie
  • *
  • Posts: 40
  • learning ...
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #26 on: November 15, 2021, 09:00:07 PM »
You could try "sudo cp /tmp/tcloop/llvm-dev/usr/local/lib/llvm-config /usr/local/bin"

Alternatively "export LLVM_DIR=/usr/local/lib/cmake/llvm"

Thank you.

I will try it and get back to you.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #27 on: November 15, 2021, 10:23:02 PM »
btw, why are you using cmake/make rather than configure/make?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #28 on: November 15, 2021, 11:59:31 PM »
I made a quick test, albeit with piCore64 - you need:

Code: [Select]
$ sudo rm /usr/local/bin/llvm-config
$ sudo cp /tmp/tcloop/llvm-dev/usr/local/bin/llvm-config /usr/local/bin

Offline ketank

  • Newbie
  • *
  • Posts: 40
  • learning ...
Re: pyqt5 picore 13.0.3 rpi 4
« Reply #29 on: November 16, 2021, 05:26:20 AM »
You could try "sudo cp /tmp/tcloop/llvm-dev/usr/local/lib/llvm-config /usr/local/bin"

Alternatively "export LLVM_DIR=/usr/local/lib/cmake/llvm"

The above export worked for me.