nx10 / httpgd

Asynchronous http server graphics device for R.
https://nx10.github.io/httpgd
GNU General Public License v2.0
377 stars 19 forks source link

compilation failed for package ‘httpgd’ #73

Closed f-jx closed 3 years ago

f-jx commented 3 years ago

linux version: 5.4.72-microsoft-standard-WSL2 conda version:4.10.3 R version:4.1.0

the error tips:

Selection: 25 try URL’https://mirrors.sustech.edu.cn/CRAN/src/contrib/httpgd_1.1.1.tar.gz' Content type 'application/octet-stream' length 179789 bytes (175 KB)

downloaded 175 KB

The downloaded source packages are in ‘/tmp/RtmpPu9rzA/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning message: In install.packages("httpgd") : installation of package ‘httpgd’ had non-zero exit status

f-jx commented 3 years ago

Thanks, I final installed the httpgd successfully I reinstall R 4.0, and libpng-dev in my WSL, and it's OK.!

QiangShiPKU commented 2 years ago

Thanks, I final installed the httpgd successfully I reinstall R 4.0, and libpng-dev in my WSL, and it's OK.!

the same compilation error for R 4.0.5 and R 4.1.1., but not including R 4.0.0

nx10 commented 2 years ago

Thanks, I final installed the httpgd successfully I reinstall R 4.0, and libpng-dev in my WSL, and it's OK.!

the same compilation error for R 4.0.5 and R 4.1.1., but not including R 4.0.0

Could you please post the error log and system information?

QiangShiPKU commented 2 years ago

Thanks, I final installed the httpgd successfully I reinstall R 4.0, and libpng-dev in my WSL, and it's OK.!

the same compilation error for R 4.0.5 and R 4.1.1., but not including R 4.0.0

Could you please post the error log and system information?

OS: Ubuntu 18.04.2

nx10 commented 2 years ago

I don't think this is a httpgd error but there is something wrong with the system (in your case anaconda) environment.

I found this thread which might help you.

conda upgrade -c conda-forge --all

Let me know if this works for you.

QiangShiPKU commented 2 years ago

I don't think this is a httpgd error but there is something wrong with the system (in your case anaconda) environment.

I found this thread which might help you.

conda upgrade -c conda-forge --all

Let me know if this works for you.

This does not work but reminds me. I have made it by the following steps: 1) In my conda environment, I found all packages are from conda-forge channel, except these four pairs

截屏2022-01-19 下午9 19 21

2) I created a new conda environment and installed R 4.1.1 and httpgd. According to this new environment, I updated packages above to v9.4.0 and installed httpgd in my original environment successfully

截屏2022-01-19 下午9 19 28

Thank you very much for your help!