cole-trapnell-lab / cicero-release

https://cole-trapnell-lab.github.io/cicero-release/
MIT License
56 stars 14 forks source link

Problem installing cicero in CentOS 7.9 #100

Open massonix opened 6 months ago

massonix commented 6 months ago

Hi,

Thanks for developing this package. I'm trying to install cicero in our CentOS 7.9 cluster, running R 4.3.1. I execute the following command:

remotes::[install_github](https://remotes.r-lib.org/reference/install_github.html)("cole-trapnell-lab/cicero-release", ref = "monocle3")

And get the following error:

collect2: error: ld returned 1 exit status

configure: Install failure: compilation and/or linkage problems.

configure: error: GDALAllRegister not found in libgdal.

ERROR: configuration failed for package ‘sf’

removing ‘/gpfs/commons/home/rmassoni/R/x86_64-conda-linux-gnu-library/4.3/sf’
ERROR: dependency ‘sf’ is not available for package ‘spdep’

removing ‘/gpfs/commons/home/rmassoni/R/x86_64-conda-linux-gnu-library/4.3/spdep’

The downloaded source packages are in

‘/tmp/RtmpvDa2TR/downloaded_packages’

── R CMD build ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

✔  checking for file ‘/tmp/RtmpvDa2TR/remotes136a3492c676d/cole-trapnell-lab-monocle3-e658515/DESCRIPTION’ (449ms)

─  preparing ‘monocle3’:

✔  checking DESCRIPTION meta-information ...

─  cleaning src

─  checking for LF line-endings in source and make files and shell scripts

─  checking for empty or unneeded directories

   Omitted ‘LazyData’ from DESCRIPTION

─  building ‘monocle3_1.3.5.tar.gz’

   Warning: invalid uid value replaced by that for user 'nobody'

Installing package into ‘/gpfs/commons/home/rmassoni/R/x86_64-conda-linux-gnu-library/4.3’

(as ‘lib’ is unspecified)

ERROR: dependencies ‘sf’, ‘spdep’ are not available for package ‘monocle3’

removing ‘/gpfs/commons/home/rmassoni/R/x86_64-conda-linux-gnu-library/4.3/monocle3’
Downloading GitHub repo cole-trapnell-lab/monocle3@HEAD

Skipping monocle3, it is already being installed

I previously loaded the gdal module available in the cluster. Any help troubleshooting this would be much appreciated!

This is my session Info:

R version 4.3.1 (2023-06-16)
Platform: x86_64-conda-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS/LAPACK: /nfs/sw/miniconda3/miniconda3-3.22.0/envs/R-4.2.3/lib/libopenblasp-r0.3.24.so;  LAPACK version 3.11.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

time zone: America/New_York
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.3.1
hpliner commented 2 weeks ago

Sorry for the long delay. Is this still an issue? Looks like it's an issue with the sf install. Have you had a look at the installation instructions here? https://github.com/r-spatial/sf#multiple-gdal-geos-andor-proj-versions-on-your-system