LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ./configure -prefix ~ # returns a problem on server (https://www.linuxquestions.org/questions/linux-newbie-8/configure-prefix-%7E-returns-a-problem-on-server-799650/)

edwinbradford 04-02-2010 03:18 PM

./configure -prefix ~ # returns a problem on server
 
Hi all,

First, thanks for being there to help out us newbies. I'm not a programmer but I've picked up a little experience navigating around Linux systems over the years in a terminal/console window and am able to do a few basic tasks.

I've been trying to follow a tutorial here to get Unison, a file synchronization and back up tool, installed on my host provider. I got past the first stage yesterday and successfully have SSH running, now I'm trying to install Ocaml but have a problem.

When I type:
Code:

$ ./configure -prefix ~
...it returns the message:
Code:

Configuring for a x86_64-unknown-linux-gnu ...
gcc found
Unable to compile the test program.
Make sure the C compiler gcc -O  is properly installed.

I don't know if it helps but I tried:
Code:

$ which gcc
...and got
Code:

/usr/bin/gcc
...I tried
Code:

$ gcc -v
...and got:
Code:

permission denied
I'm out of ideas now. Prior to this point all went exactly as indicated in the tutorial.

Please let me know if you want any more info. My host provider is HawkHost in case anyone knows them.

Really appreciate any help, thanks all.

edwinbradford 04-02-2010 03:29 PM

My host provider uses CentOS, I just tried:
Code:

yum install gcc
...but it returned:
Code:

CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf
I think I have to wait for help.

edwinbradford 04-03-2010 11:39 AM

Jeezus that was a great guess of mine :D. Since no-one replied yet I tried my host provider Hawk Host who are always really helpful I have to say. Access to their gcc compiler is disabled by default, hence the "permission denied" output.

I'm surprised no-one here replied with that suggestion as I know absolutely nothing about compiling on linux but it seems like I was on the right track.


All times are GMT -5. The time now is 02:03 PM.