#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Location
    Orlando FL
    Posts
    130
    Rep Power
    13

    Question installing cc without root access


    Hello friends.

    I am in a server that didn't installed cc compiler, and I need to install some perl module that needed to be compiled. I checked gcc download page and that itself needs a cc to compile. I running around the loops here. I know cc may install using root to add from Solaris optional package, but I am not root. Am I able to to install the cc compiler without root access to the server?

    Thanks.
    Help me, help you, help others...
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    383
    Rep Power
    13

    Re: installing cc without root access


    Originally posted by digitsnake
    Hello friends.

    I am in a server that didn't installed cc compiler, and I need to install some perl module that needed to be compiled. I checked gcc download page and that itself needs a cc to compile. I running around the loops here. I know cc may install using root to add from Solaris optional package, but I am not root. Am I able to to install the cc compiler without root access to the server?

    Thanks.
    You should be able to just download and install anything you want in your own home directory. With no compiler, you'll have to find pre-compiled binaries (and since it's not your system, statically linked ones would be best so you don't have to worry about library versions of things cc may need). I don't know where you'd get statically-linked cc binaries, but you may be able to Google for them successfully. I'd suggest installing any binaries in ~/bin, and adding that to the end of your path. Then you should be able to compile whatever you need.
    Debian - because life's too short for worrying.
    Best. (Python.) IRC bot. ever.

IMN logo majestic logo threadwatch logo seochat tools logo