Not (yet)possible to install on my Linux O.S.

Discussion forum for the Picoscope 6 Linux software
lassale
Newbie
Posts: 0
Joined: Tue Aug 08, 2017 5:17 pm

Re: Not (yet)possible to install on my Linux O.S.

Post by lassale »

Martyn wrote:The only non Pico package is our packaged version of Mono, PicoMono, as we were finding different versions of Mono would break our software.
Greetings,

I'm a new PicoScope owner and also a user of PCLinuxOS.

The method described above to install the picoscope software (with the Yum trick) did not quite work for me (because the picoscope package itself is in the noarch tree, which is not found by apt-get). However, downloading and installing the packages manually did work and leads to a fully functional picoscope application. :D

I also found out that PCLinuxOS' mono package could run picoscope and that picomono is therefore useless for this Linux distribution. Problem: (force)-uninstalling picomono breaks the rpm dependencies for picoscope and synaptic complains about it, insisting on "fixing" it (basically, by uninstalling picoscope).

So, I produced a fake rpm package which deprecates picomono (and depends on PCLinuxOS' mono package gtk-sharp2, so to be sure the proper mono installation is available to picoscope). Here is the fake-picomono-deps.spec file I made to build such a package:

Code: Select all

Name: fake-picomono-deps
Version: 1.0
Release: %mkrel 1
License: GPL
Group: System
Prefix: /usr
Buildroot: /tmp/%{name}.buildroot
Buildarch: noarch
Provides: picomono = 2.99
Obsoletes: picomono
Requires: gtk-sharp2

Summary: Fake dependencies for picoscope.

%description
Provides fake dependencies for picoscope using PCLinuxOS' Mono packages.

%prep
echo Nothing to do for prep stage

%build
echo Nothing to do for build stage

%install
mkdir -p %buildroot/%{_datadir}
touch %buildroot/%{_datadir}/fake-picomono-deps.installed

%clean
rm -rf %buildroot

%files
%{_datadir}
Simply make sure gtk-sharp2 is installed on your system (via synaptic), build the fake-picomono-deps package (rpmbuild -bb SPEC/fake-picomono-deps.spec) and install it manually with 'rpm -Uvh RPMS/noarch/fake-picomono-deps-1.0-1pclos2016.noarch.rpm': it will automatically uninstall picomono (if already installed) and will provide the dependency picoscope needs.

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Not (yet)possible to install on my Linux O.S.

Post by Martyn »

Thanks for the info :)
Martyn
Technical Support Manager

AnalogueMan
Newbie
Posts: 0
Joined: Tue Feb 21, 2017 11:25 am

Re: Not (yet)possible to install on my Linux O.S.

Post by AnalogueMan »

Sorry for my late response, but for some mysterious reason I did not receive a response mail concerning this thread.
Thanks Iassale for your info. I try to "digest" what you wrote and will come back on it shortly.

Post Reply