-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
**Installation** on Linux (Ubuntu) #150
Comments
I have followed through the installtion file, but did not manage to successfully install the Beginning of Traceback error message:
End of Traceback error message:
My
Installing
This might be relevant:
|
So, the problem is the gdal library. This post is also about rgdal and Ubuntu 17.04: https://stackoverflow.com/questions/44543935/trouble-installing-rgdal-package-on-r-3-4-in-ubuntu-17-04 @djvanderlaan Do you know if my tmap Ubuntu script (see initial post) also works on 17.04? More specifically, did you also install the dev version of gdal from the ubuntugis-unstable repository? |
I am currently working on 17.10. On 17.04, I used the default version of libgdal-dev to install the rgdal package. The one that ships with Ubuntu 17.04. I had no problems with that. I hadn't installed tmap, so I don't know if that worked. I just installed tmap on ubuntu 17.10 and had to install the following packages, besides the libgdal-dev (and possible other packages) that was already installed:
So, that maps nicely with your script. I don't think it is necessary to use the ppa's, and think the default versions should work (if so, I prefer the ones that ship with ubuntu). As for the v8-dev, I would leave out the version number, as that will change. I have no clue what causes the error message above. The session info includes a lot of attached packages. Perhaps, try with a clean R session? |
Thx! I've borrowed all the ppa's and specific version definitions from other installation procedures. It works for me with Ubuntu 16.04 Does it make sense to specify the current script for Ubuntu 16.X and yours for Ubuntu 17.X? |
I tried your code in a ubuntu 16.04 docker container. I got it working with the following Docker script:
I don't have time to clean it up to a shell script, but I believe the main changes with your script are:
|
Using ubuntu 16.04 , can't install tmap using your script:
which translates into something like don't know if it helps, but some days ago, rgdal was updated to 2.2.1 and broke my previously working |
@ccamara : I had this same issue so I decided to manually install liblwgeom-2.3 (together with liblwgeom-dev). This line should solve this issue:
|
I can confirm that adding this line tmap is installed perfectly on ubuntu 16.04 LTR |
I had tmaps running on Ubuntu 17.04, but could not make it runon Ubuntu 17.10. All Ubuntu-packages you recommend were installed, but I kept getting the following error for install.packages('tmaps'):
My solution might be obvious, but kept me searching for long time: HTH |
I have moved on to Ubuntu 17.10. but still can't get Traceback error message:
Session info
|
Here's one. I shortened the output message.
I'm using Kubuntu 18.04.3. I already have all packages in the installation script installed. I'm able to install and load the
Session info:
|
Please check installation of |
I installed the |
@mtennekes the link in the first post is broken |
Apologies if this is an obvious question, but I'm having trouble installing |
@darribas try: remotes::install_version(package = "XML", version = "3.99-0.3") |
In the end I did not try this approach @Robinlovelace and instead followed your advice to jump on 4.0. I swapped the branch for the install and now it all works again. Working code available at: |
Great to see @darribas, thanks for sharing. |
Pretty sure this issue is well-and-truly fixed with most people upgrading to R 4.0.0 or more recent versions of Linux distros such as Ubuntu 20.04, so taking the liberty of closing this - lack of activity also. Amazing work @mtennekes, loving your package for my work atm: |
I've created an installation file for Ubuntu: see https://github.com/mtennekes/tmap/tree/master/ubuntu_installation.sh
Could you check if this scripts works? If not, we can use this thread to improve it.
The text was updated successfully, but these errors were encountered: