RTL-SDR Support package installer failure on mac

I have a ML R2016a installed on my mac with the OS version 10.11.4. When I want to install CST SPKG for RTL-SDR (Communication System Toolbox Support Package for RTL-SDR), I encounter this error in the Support Package Installer window. Here is the error log:
Download Failed: sun.security.validator.ValidatorException: PKIS path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Please let me know why this error occurs while it did not happen before, and how I can resolve this stopping-work issue.

2 comentarios

Amir Tadayon
Amir Tadayon el 20 de Mayo de 2016
Surprisingly, this error happens only when I want to install the support package for RTL-SDR. For example, I'm able to install SPKG for Arduino from internet.
Daniel OMalley
Daniel OMalley el 27 de Mayo de 2016
This appears to be a problem with the certificate of one of the dependencies, probably from the freedesktop.org site. I have the same problem.

Iniciar sesión para comentar.

Respuestas (1)

Amir Tadayon
Amir Tadayon el 31 de Mayo de 2016
Editada: Amir Tadayon el 31 de Mayo de 2016

2 votos

I found the problem. The JAVA version that MATLAB uses does not recognize the SSL certificate authority (CA) for the https://pkg-config.freedesktop.org website as a legitimate CA. However, I can download the pkg-config source code using a web browser (e.g. Safari). The following workaround let's me download and install the RTL-SDR support package successfully.
1. Go through all steps for installing the RTL-SDR support package until getting the error message mentioned.
2. In Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download, a few xml files have been downloaded.
3. Find the file whose name starts with pkgconfig_version_maci64.xml. The file to be downloaded is specified between xml tags "downloadUrl" ... "/downloadUrl" in the xml file.
4. Download pkg-config manually using a web browser from https://pkg-config.freedesktop.org/releases/pkg-config-0.28.tar.gz.
5. Save .gz file in Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download.
6. Redo step 1.
These steps should resolve the issue.
HTH

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Preguntada:

el 15 de Mayo de 2016

Comentada:

el 2 de Jun. de 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by