SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Error installing Readline library on Mac

    Hello to everyone, I'm trying to install Ruby on Mac following the steps given on the book "Build your own RUBY ON RAILS web aplications" by Patrick Lenz.
    First of all I want to say that I'm using Mac OS X 10.4.11.
    I've got Xcode installed and before installing Ruby I need to install Readline.

    I follow next steps on Terminal App:
    Code:
    $ cd Desktop
    $ mkdir build
    $ cd build
    
    $ curl ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz | tar xz
    $ cd readline-5.1
    Until there everything is OK, but when I write:
    Code:
    ./configure --prefix=/usr/local
    Terminal writes:
    Code:
    checking build system type... powerpc-apple-darwin8.11.0
    checking host system type... powerpc-apple-darwin8.11.0
    
    Beginning configuration for readline-5.1 for powerpc-apple-darwin8.11.0
    
    checking whether make sets $(MAKE)... no
    checking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    What is happening here?
    What I should do?
    Thanks.

  2. #2
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've just solve the problem.
    It was that Xcode didn't work well. I installed it again and everything went OK.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •