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 件のコメント

Amir Tadayon
Amir Tadayon 2016 年 5 月 20 日
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 2016 年 5 月 27 日
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.

サインインしてコメントする。

回答 (1 件)

Amir Tadayon
Amir Tadayon 2016 年 5 月 31 日
編集済み: Amir Tadayon 2016 年 5 月 31 日

2 投票

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

1 件のコメント

Daniel OMalley
Daniel OMalley 2016 年 6 月 2 日
This procedure worked perfectly. Thank you.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2016 年 5 月 15 日

コメント済み:

2016 年 6 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by