1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Rails on Plesk: Complete guide

Discussion in 'Plesk for Linux - 8.x and Older' started by tyler, Jun 13, 2005.

  1. tyler

    tyler Guest

    0
     
  2. k.satirli

    k.satirli Guest

    0
     
    aww damn.

    now I read this after torturing myself for 4 days with how to get ruby at all running...

    thanks anyways - bookmarked for future installations! :)
     
  3. phirschybar

    phirschybar Guest

    0
     
    Hmmm. I am trying to install Ruby (step 1) and I am getting the error:

    no acceptable C compiler found in $PATH

    after trying ./configure. Using Enterprise 3 and Plesk 7.5.2.. argh.. anybody?
     
  4. k.satirli

    k.satirli Guest

    0
     
    that most certainly means you're missing an actual compiler.

    try "yum install gcc" or "yum install cc" and if that doesnt work, have a look at http://tinyurl.com/cbak7
     
  5. phirschybar

    phirschybar Guest

    0
     
  6. k.satirli

    k.satirli Guest

    0
     
    try the tinyurl guide then :)

    and before you do that, execute the following

    gcc -v
    cc -v

    if both return a not found message, you'll need to install gcc with the guide
     
  7. phirschybar

    phirschybar Guest

    0
     
    tried the tutorial and got this after ./configure:

    [root@as gcc-3.3]# ./configure
    Configuring for a i686-pc-linux-gnu host.
    Created "Makefile" in /usr/local/src/gcc-3.3 using "mt-frag"
    ./configure: line 8: cc: command not found
    *** The command 'cc -o conftest -g conftest.c' failed.
    *** You must set the environment variable CC to a working compiler.

    thoughts?
     
  8. k.satirli

    k.satirli Guest

    0
     
    yup - from what I see, I'd say that to install gcc you first need cc. Which puts us back one more step.

    did you try "up2date cc" and "up2date gcc" yet by the way?
     
  9. phirschybar

    phirschybar Guest

    0
     
    thanks but know what? I really appreciate your time but don't waste any more. I am leaving my hosting provider for one who supports rails.

    Thanks again!!!
     
  10. k.satirli

    k.satirli Guest

    0
     
    that's another way to solve the problem :D but learning how to install ruby would have been better because of the educative effect it has.
     
  11. phirschybar

    phirschybar Guest

    0
     


    the days of torturing myself over this stuff are over. I need to concentrate on work and not on the pains of server administration.
     
  12. phirschybar

    phirschybar Guest

    0
     
    Hey liquid, sorry for the frustration on my end. Sys admin stuff is not my bag. So, I tried a hosting provider that supports rails but I am not getting alot of the other stuff that was so compelling about my current provider, so I decided to stay.

    Anyways, if you or anyone is still up for helping me get a compiler on here, that would be very cool.

    My last try was with:
    up2date gcc
    up2date cc

    both of which I get:
    up2date: command not found

    Also, with:
    yum install gcc [configured to ART packages]

    I get: Cannot find a package matching gcc

    .. same with cc

    Thanks in advance for your help.
     
  13. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Yes, there are still people who are willing to help.

    Have you tried the guide which was posted earlier by liquidblaze?

    http://tinyurl.com/cbak7

    If you are still unsuccessful with that guide, please post again with which point you got stuck. Then we can go further. :)
     
  14. phirschybar

    phirschybar Guest

    0
     
    On the ./configure command:

    # ./configure --prefix=/usr
    Configuring for a i686-pc-linux-gnu host.
    Created "Makefile" in /home/httpd/vhosts/domain.com/tmp/gcc-3.3 using "mt-frag"
    ./configure: line 8: cc: command not found
    *** The command 'cc -o conftest -g conftest.c' failed.
    *** You must set the environment variable CC to a working compiler.
     
  15. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Ok, let's try a different approach, which *should* work for RHE (I think you posted that you are on RHE):

    Do the following from the SSH (as root user) prompt:

    apt-get install gcc

    RHE apparently uses apt-get instead of up2date
     
  16. phirschybar

    phirschybar Guest

    0
     
    hey, thanks so much for your help!

    OK, as root user I get:

    bash: apt-get: command not found

    LOL...
     
  17. Cranky

    Cranky Guest

    0
     
    Which version of RedHat are you using?

    cat /etc/redhat-release
     
  18. phirschybar

    phirschybar Guest

    0
     
    hey cranky! hope all is well.

    Red Hat Enterprise Linux AS release 3 (Taroon Update 1)
     
  19. Cranky

    Cranky Guest

    0
     
  20. phirschybar

    phirschybar Guest

    0
     
    unfortunately my provider (Media Temple), refuses to install or deal with anything.

    I got:

    # rpm -Uvh gcc-3.2.3-52.i386.rpm
    warning: gcc-3.2.3-52.i386.rpm: V3 DSA signature: NOKEY, key ID 025e513b
    error: Failed dependencies:
    cpp = 3.2.3-52 is needed by gcc-3.2.3-52
    glibc-devel >= 2.2.90-12 is needed by gcc-3.2.3-52
    libgcc >= 3.2.3-52 is needed by gcc-3.2.3-52
     
Loading...