Hi
im a neewb trying to install r-studio. i get this error :
-> Extracting v0.93.35 with bsdtar
==> Starting build()...
which: no ant in (/home/zeltak/bin/scrot:/home/zeltak/bin:/home/zeltak/bin/scrot:/home/zeltak/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/lib/perl5/site_perl/bin:/usr/bin/vendor_perl:/usr/lib/perl5/vendor_perl/bin:/usr/bin/core_perl)
Aborting...
The build failed
is there someway to fix it?
thx
Z.
Search Criteria
Package Details: rstudio-desktop 2024.04.1.748-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/rstudio-desktop.git (read-only, click to copy) |
---|---|
Package Base: | rstudio-desktop |
Description: | A powerful and productive integrated development environment (IDE) for R programming language |
Upstream URL: | https://www.rstudio.com/products/rstudio/ |
Licenses: | AGPL3 |
Submitter: | None |
Maintainer: | trap000d (xiota) |
Last Packager: | trap000d |
Votes: | 72 |
Popularity: | 0.81 |
First Submitted: | 2011-03-04 15:02 (UTC) |
Last Updated: | 2024-05-19 22:20 (UTC) |
Dependencies (31)
- boost-libs (boost-libs-gitAUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR)
- hunspell-en_US (hunspell-en_us)
- mathjax2
- pandoc (pandoc-binAUR, pandoc-sile-gitAUR, pandoc-static-gitAUR, pandoc-cli)
- postgresql-libs (postgresql13-libsAUR, postgresql-libs-gitAUR, postgresql-libs-12AUR)
- qt5-sensors (qt5-sensors-gitAUR)
- qt5-svg (qt5-svg-gitAUR)
- qt5-webengine
- qt5-xmlpatterns (qt5-xmlpatterns-gitAUR)
- r (r352AUR, r-mklAUR)
- sociAUR (soci-gitAUR)
- sqlite3 (sqlite)
- yaml-cpp
- apache-ant (ant-gitAUR, ant) (make)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- desktop-file-utils (desktop-file-utils-gitAUR) (make)
- git (git-gitAUR) (make)
- jdk8-openjdk (make)
- libcups (libcups-gitAUR, libcups-gssapiAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- pam (pam-selinuxAUR) (make)
- patchelf (patchelf-gitAUR) (make)
- unzip (unzip-natspecAUR, unzip-zstdAUR) (make)
- wget (wget-gitAUR) (make)
- yarn (corepackerAUR, yarn-pnpm-corepackAUR, yarn-berryAUR) (make)
- git (git-gitAUR) (optional) – for git support
- openssh-askpassAUR (optional) – for a git ssh access
- quarto (quarto-cli-gitAUR, quarto-cliAUR, quarto-cli-binAUR, quarto-cli-bin-pre-releaseAUR, quarto-cli-pre-releaseAUR) (optional) – for Quarto projects support
- subversion (optional) – for subversion support
Required by (0)
Sources (5)
Latest Comments
« First ‹ Previous 1 .. 16 17 18 19 20 21 22 Next › Last »
zeltak commented on 2011-03-16 16:16 (UTC)
jelly commented on 2011-03-15 11:12 (UTC)
export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
before ./configure, to fix the boost errors
jelly commented on 2011-03-15 11:01 (UTC)
did you notice GWT is in AUR?
<deleted-account> commented on 2011-03-14 21:07 (UTC)
I was working on a way to check for ant and java and the method reztho is what first occurred to me, but it doesn't quite work as expected since makepkg will now exit immediately upon an error. So if we test the exit code for an error and then output a message, makepkg will exit immediately upon the error and the message will never get printed. This is the compromise I think works well:
# Check if ant and java can be found
msg "Checking if java and ant are on the PATH...."
which ant > /dev/null
which java > /dev/null
This will output nothing if ant and java are found (stdout goes to /dev/null), but if they are not found an error message will be printed by "which" to stderr and then makepkg will exit as a result of which not returning 0.
<deleted-account> commented on 2011-03-14 19:42 (UTC)
The ant link was my fault :P It was a hack to get it working the first time, but I did not include it in my rstudio git pkbuild, I should have noted on the forum that it was a bad idea. The warning is a much more sane way to handle this, I only have a note in the comments of the git pkgbuild.
<deleted-account> commented on 2011-03-10 20:24 (UTC)
Thanks reztho, I've altered it and it'll be uploaded later when it's no longer peak time here. I did wonder about it, because it was included in the forum dedicated to this, but when I built the package manually first hand from source, the first time it worked I didn't do anything about ant.
reztho commented on 2011-03-10 17:21 (UTC)
# link apache ant?
if [ ! -e /usr/bin/ant ] ; then
msg "Creating a link so that make can find apache ant"
ln -s /usr/share/java/apache-ant/bin/ant /usr/bin/ant
fi
For god's sake, do not do that. Makepkg isn't supposed to be run under a root account. And those people who do it are going to have an unmanaged symbolic link by pacman which can make problems in the future.
Instead just check ant is accesible and if it's not, throw a warning message to the user if you want to and exit gracefully. Something like this should work:
which ant &> /dev/null
if [ $? -gt 0 ]; then
msg "whatever"
exit 1
fi
Apache-ant package comes with a bash script (/etc/profile.d/apache-ant.sh) which needs to be sourced before doing anything the first time is installed or the user just needs to relogin for it being sourced automatically.
Makepkg just fakes root perms; it doesn't make a chroot. AUR isn't supposed to be user friendly and it's your responsibility not to mess with people's filesystem, that's why there aren't any AUR helper in community.
<deleted-account> commented on 2011-03-09 05:19 (UTC)
As of boost v 1.46 it breaks the compile, suggesting some major compatibility issue between R-Studio and the latest boost, this has been raised on their support site.
<deleted-account> commented on 2011-03-08 18:01 (UTC)
I believe the current java-runtime dependency should work (i.e. jre or openjdk6 both should be fine). I think the issue you are having might be that the jre package does not put the 'java' executable on the path (I believe it puts it at /opt/java/jre/bin/java by default. You need to add this location to your path if you are using the jre package, otherwise cmake will not be able to find your java installation. The openjdk package however puts the executable right in /usr/bin which is on most everyone's path already, so things will work out of the box.
<deleted-account> commented on 2011-03-07 22:20 (UTC)
It is possible that openjdk6 is required, it is not listed as a dependency however in the PKGBUILD, as it is unclear from experience building it, whether it is required or not, and how it is required. Thus if you have issues, a first stop might be to look at installing openjdk6 if you don't already have it. At the next major version release, a neater tarball and source will make dependencies clearer.
Pinned Comments
trap000d commented on 2024-05-16 21:42 (UTC)
A note for users.
This package is quite complex. It MAY not be built because of OTHER issues. I always build, install and test it on at least two different machines. Only after that I would push a new version to AUR.
Please try some generic solutions before reporting of build problems:
1) Update all other packages (sudo pacman -Syu),
2) Clean up yay and/or makepkg caches ('yay -Sc', 'rm -rf /var/tmp/makepkg'),
3) Be sure you've got enough RAM (8 GB or more is highly recommended) and space on disk (at least 3 GB).
4) Is your Internet connection is stable, fast and not blocked somewhere?
trap000d commented on 2022-07-05 20:32 (UTC) (edited on 2022-10-03 06:28 (UTC) by trap000d)
PLEASE READ THIS MESSAGE BEFORE COMPLAINING FOR LIBBOOST
When boost is updated to a new version and you see an error message about missing libboost*.so, you will need to rebuild and reinstall the rstudio-desktop package.
trap000d commented on 2022-02-19 06:20 (UTC) (edited on 2022-02-19 06:21 (UTC) by trap000d)
Build logic is slightly changed due to changes in upstream. As they've introduced new project format (quarto), it contradicted with standard Arch package base. In brief, quarto contains pandoc as part of itself, so it's pretty hard to keep together system pandoc and embedded quarto.
So I've "resolved" it such way: if there is "quarto*" package installed, then rstudio-desktop will pick it up and use. Otherwise (not installed), quarto support in rstudio will be disabled.
'quarto' is added as optional dependency.