-
I am trying to install openhantek in Sparkylinux. I used the install script and I get a Cpack error. It says cannot install 60-hantek.rules in /lib/udeve/rules.d/ directory does not exist. However if I open rules.d it is there. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
Which script? The normal way to install for a debian based distro is to use the *.deb, in best case built on your system, but you can also use the deb package from a release.
Please show the complete script call and the actual error message instead of just paraphrasing it. |
Beta Was this translation helpful? Give feedback.
-
WHY??? The file is still there in your local git repo - you made a local clone from your fork - didn't you? I hate to repeat myself - you are not talking about current OpenHantek6022!
Please do me - and especially you - a favour and start with a clean install, either from my repo or from your fork:
If you use a different shell, e.g.
I will not provide any further support until you have performed this test exactly as described! |
Beta Was this translation helpful? Give feedback.
-
OK I appreciate your helping me and will give that a go.
This is what I have been looking at in the open hantek 6022 repo and ran linuxsetup_asroot and Linux build scripts
Main
Folder githubFolder cmakeFolder docsFolder openhantekFolder utils
editorconfig . gitmore . gitmodules . travis_inactive changelog cmakelists. txt copying doxyfile license linuxbuild linuxsetup_asroot readme readme. md appveyor_inactive
On Thursday, May 27, 2021, 01:11:09 PM CDT, Martin ***@***.***> wrote:
I am using the Linuxbuild script listed in Openhantek-master code. Copy and paste in terminal in the Openhantek-master folder without root.
WHY??? The file is still there in your local git repo - you made a local clone from your fork - didn't you?
I hate to repeat myself - you are not talking about current OpenHantek6022!
- OpenHantek6022 does not use STGZ, only TGZ packaging:
git grep TGZ
cmake/CPackInfos.cmake: set(CPACK_GENERATOR TGZ)
STGZ packaging was removed on 1-Mar-2019
- OpenHantek6022 does not have a branch named master - the trunk is called main.
- If you download the zip from your fork instead of cloning (WHY???) it expands to the directory OpenHantek6022-main and not openhantek-master. Obviously you're talking about openhantek, but unfortunately this project is currently unmaintained.
Please do me - and especially you - a favour and start with a clean install, either from my repo or from your fork:
cd
mkdir OpenHantekTest
cd OpenHantekTest
git clone https://github.com/rdfry/OpenHantek6022.git
cd OpenHantek6022
bash LinuxBuild
If you use a different shell, e.g. /bin/dash then you should change line 5
fromif [ $(id -u) == 0 ]; then to if [ $(id -u) = 0 ]; then.
You should end up with three files in build/packages:
-rw-r--r-- 1 horo horo 5111054 Mai 27 09:09 openhantek-20210527_ab9a649-1.x86_64.rpm
-rw-r--r-- 1 horo horo 5105123 Mai 27 09:09 openhantek_20210527-ab9a649-1_x86_64.tar.gz
-rw-r--r-- 1 horo horo 5106898 Mai 27 09:09 openhantek_20210527-ab9a649_amd64.deb
I will not provide any further support until you have performed this test exactly as described!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Followed your instructions and have the three build packages.
We had a miscommunication previously, I never used a forked version it was OpenHantek 6022 from your Repo. For some reason LinuxBuild was trying to use Stgz that is what is confusing
On Thursday, May 27, 2021, 01:11:09 PM CDT, Martin ***@***.***> wrote:
I am using the Linuxbuild script listed in Openhantek-master code. Copy and paste in terminal in the Openhantek-master folder without root.
WHY??? The file is still there in your local git repo - you made a local clone from your fork - didn't you?
I hate to repeat myself - you are not talking about current OpenHantek6022!
- OpenHantek6022 does not use STGZ, only TGZ packaging:
git grep TGZ
cmake/CPackInfos.cmake: set(CPACK_GENERATOR TGZ)
STGZ packaging was removed on 1-Mar-2019
- OpenHantek6022 does not have a branch named master - the trunk is called main.
- If you download the zip from your fork instead of cloning (WHY???) it expands to the directory OpenHantek6022-main and not openhantek-master. Obviously you're talking about openhantek, but unfortunately this project is currently unmaintained.
Please do me - and especially you - a favour and start with a clean install, either from my repo or from your fork:
cd
mkdir OpenHantekTest
cd OpenHantekTest
git clone https://github.com/rdfry/OpenHantek6022.git
cd OpenHantek6022
bash LinuxBuild
If you use a different shell, e.g. /bin/dash then you should change line 5
fromif [ $(id -u) == 0 ]; then to if [ $(id -u) = 0 ]; then.
You should end up with three files in build/packages:
-rw-r--r-- 1 horo horo 5111054 Mai 27 09:09 openhantek-20210527_ab9a649-1.x86_64.rpm
-rw-r--r-- 1 horo horo 5105123 Mai 27 09:09 openhantek_20210527-ab9a649-1_x86_64.tar.gz
-rw-r--r-- 1 horo horo 5106898 Mai 27 09:09 openhantek_20210527-ab9a649_amd64.deb
I will not provide any further support until you have performed this test exactly as described!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Thanks I appreciate you. And for your work on this application
On Monday, May 31, 2021, 02:25:25 AM CDT, Martin ***@***.***> wrote:
Followed your instructions and have the three build packages.
We had a miscommunication previously, I never used a forked version it was OpenHantek 6022 from your Repo. For some reason LinuxBuild was trying to use Stgz that is what is confusing
This shows the importance (for everyone who asks for support) to clearly state what was done and especially what is your intention, e.g.:
- Intention: I want OpenHantek6022 installed on my SparkyLinux system.
Solution: As SparkyLinux is based on Debian just use the pre built *.deb release package.
- Intention: I want to modify some features of OH6022.
Solution: Clone this repo locally, do the change and use the build script.
- Intention: I'm sure I found an error in OH6022.
Solution: Describe exactly what you did to trigger the error - use the provided issue template.
- Intention: I want to install the old openhantek because it has support for other scopes not supported in OH6022.
Solution: Sorry, no support for other HW here, you have to investigate how the project works (this is what I did to fully support Hantek6022 more than 2 years ago).
Otherwise we end up in an XY problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Purchased your Hscope app so Thankyou for that too
On Monday, May 31, 2021, 02:25:25 AM CDT, Martin ***@***.***> wrote:
Followed your instructions and have the three build packages.
We had a miscommunication previously, I never used a forked version it was OpenHantek 6022 from your Repo. For some reason LinuxBuild was trying to use Stgz that is what is confusing
This shows the importance (for everyone who asks for support) to clearly state what was done and especially what is your intention, e.g.:
- Intention: I want OpenHantek6022 installed on my SparkyLinux system.
Solution: As SparkyLinux is based on Debian just use the pre built *.deb release package.
- Intention: I want to modify some features of OH6022.
Solution: Clone this repo locally, do the change and use the build script.
- Intention: I'm sure I found an error in OH6022.
Solution: Describe exactly what you did to trigger the error - use the provided issue template.
- Intention: I want to install the old openhantek because it has support for other scopes not supported in OH6022.
Solution: Sorry, no support for other HW here, you have to investigate how the project works (this is what I did to fully support Hantek6022 more than 2 years ago).
Otherwise we end up in an XY problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
WHY??? The file is still there in your local git repo - you made a local clone from your fork - didn't you?
I hate to repeat myself - you are not talking about current OpenHantek6022!
git grep TGZ
cmake/CPackInfos.cmake: set(CPACK_GENERATOR TGZ)
STGZ packaging was removed on 1-Mar-2019
master
- the trunk is calledmain
.OpenHantek6022-main
and notopenhantek-…