You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using jvarkit for the first time, I ran into an issue when compiling sam2tsv and wanted to let others know the solution in case they encountered a similar issue.
I kept getting an error with curl and ca certificates when trying to compile sam2tsv
$ make sam2tsv
mkdir -p /home4/user/software/jvarkit/
rm -rf /home4/user/software/jvarkit/2.0.1.zip /home4/user/software/jvarkit/htsjdk-2.0.1/
echo "Downloading HTSJDK 2.0.1 with curl"
Downloading HTSJDK 2.0.1 with curl
curl -o /home4/user/software/jvarkit/2.0.1.zip -L "https://github.com/samtools/htsjdk/archive/2.0.1.zip"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (77) error setting certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
make: *** [home4/user/software/jvarkit/htsjdk-2.0.1/build.xml] Error 77
I went and looked Makefile and found that by adding the -k option (allows insecure transfers), everything worked great. Every other time curl was in used Makefile it had the -k option.
Hi Pierre,
While using jvarkit for the first time, I ran into an issue when compiling sam2tsv and wanted to let others know the solution in case they encountered a similar issue.
I kept getting an error with curl and ca certificates when trying to compile sam2tsv
$ make sam2tsv
mkdir -p /home4/user/software/jvarkit/
rm -rf /home4/user/software/jvarkit/2.0.1.zip /home4/user/software/jvarkit/htsjdk-2.0.1/
echo "Downloading HTSJDK 2.0.1 with curl"
Downloading HTSJDK 2.0.1 with curl
curl -o /home4/user/software/jvarkit/2.0.1.zip -L "https://github.com/samtools/htsjdk/archive/2.0.1.zip"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (77) error setting certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
make: *** [home4/user/software/jvarkit/htsjdk-2.0.1/build.xml] Error 77
I went and looked Makefile and found that by adding the -k option (allows insecure transfers), everything worked great. Every other time curl was in used Makefile it had the -k option.
line 589: curl -k${curl.proxy} -o $ (dir ${htsjdk.home})${htsjdk.version}.zip -L "https://github.com/samtools/htsjdk/archive/${htsjdk.version}.zip"
The text was updated successfully, but these errors were encountered: