Correct. This is a very common issue on managed systems, and unfortunately I'm not aware of any easy solutions other than (hopefully) "ask the admin". You *might* be able to make this work without root using 0install ( http://0install.net/) or yumdownloader with a chroot environment; or you could compile from source (beware there a many dependencies) If you have responsive sysadmins that will certainly be the easier way.
On Tue, Jan 13, 2015 at 10:14 AM, Marc Williams <[email protected]> wrote: > Aha, so I'm using julia on a computer cluster therefore I won't have > administrator rights which I would need to run the sudo command, am I > right? Is there anyway round this or do I need to get in touch with cluster > admin team? > > Thanks for your help > > On Tuesday, 13 January 2015 15:03:54 UTC, Isaiah wrote: >> >> sudo yum install gettext-devel >> >> >> Can you run this command directly? >> >> On Tue, Jan 13, 2015 at 9:42 AM, Marc Williams <[email protected]> >> wrote: >> >>> Hi, >>> >>> I'm trying to install Cairo so that I can draw to PDF using Gadfly. I >>> keep getting this error message when trying to build Cairo. I've tried >>> deleting the package folder and downloading everything again but get the >>> same message. I'm using Scientific Linux 6.2 and Julia 0.3.3. >>> >>> Thanks for your help >>> >>> Marc >>> >>> >>> julia> Pkg.add("Cairo") >>> >>> INFO: Installing BinDeps v0.3.7 >>> >>> INFO: Installing Cairo v0.2.21 >>> >>> INFO: Installing Color v0.3.15 >>> >>> INFO: Installing FixedPointNumbers v0.0.6 >>> >>> INFO: Installing SHA v0.0.3 >>> >>> INFO: Installing URIParser v0.0.3 >>> >>> INFO: Building Cairo >>> >>> Installing dependency gettext-devel via `sudo yum install gettext-devel`: >>> >>> ============================================================ >>> ==============================[ ERROR: Cairo >>> ]=========================================================== >>> ================================ >>> >>> could not spawn `sudo yum install gettext-devel`: no such file or >>> directory (ENOENT) >>> >>> while loading /data/home/mpx155/.julia/v0.3/Cairo/deps/build.jl, in >>> expression starting on line 144 >>> >>> ============================================================ >>> ============================================================ >>> ============================================================ >>> ================= >>> >> >>
