# Minor problem with 1.9 compile

**URL:** <https://www.ruby-forum.com/t/minor-problem-with-1-9-compile/167841>\
**Category:** Ruby\
**Created:** [May 13, 2009, 6:24am UTC](https://www.ruby-forum.com/t/minor-problem-with-1-9-compile/167841 "2009-05-13T06:24:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [May 13, 2009, 6:24am UTC](https://www.ruby-forum.com/t/minor-problem-with-1-9-compile/167841/1 "2009-05-13T06:24:37Z")

</div>

I’m following instructions “Install Alongside Ruby 1.8.x- -Upgrading to  
Ruby 1.9.1” at

> **[How to Enable PHP in MacOS](https://www.thoughtco.com/how-to-install-php-on-a-mac-2694012)**
>
> PHP comes installed on Macs but you have to enable it with Apache before you can use it. Learn how.

I’m sitting in the dir where I’ve unpacked the source, and I’m now  
trying to run the configuration script. But…it appears to be an  
unknown entity - to wit:

$ sudo ./configure --program-suffix=19  
sudo: ./configure: command not found

I don’t know what to do at this point. Suggestions?

t.

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [May 13, 2009, 6:31am UTC](https://www.ruby-forum.com/t/minor-problem-with-1-9-compile/167841/2 "2009-05-13T06:31:39Z")

</div>

Tom C. wrote:

> I don’t know what to do at this point. Suggestions?
> 
> t.

A file called “configure” is definitely in the directory, and it has  
script in it.

t.

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [May 13, 2009, 8:06am UTC](https://www.ruby-forum.com/t/minor-problem-with-1-9-compile/167841/3 "2009-05-13T08:06:33Z")

</div>

On 13 May 2009, at 06:23, Tom C. wrote:

> I don’t know what to do at this point. Suggestions?

Hi,

Are you sure you’re in the right directory?  
Is ‘configure’ executable?  
Can you try without sudo (which isn’t necessary for configure to run  
anyway)?

Regards,

Denis

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [May 13, 2009, 8:44am UTC](https://www.ruby-forum.com/t/minor-problem-with-1-9-compile/167841/4 "2009-05-13T08:44:44Z")

</div>

Denis D. wrote:

> > $ sudo ./configure --program-suffix=19  
> > sudo: ./configure: command not found
> > 
> > I don’t know what to do at this point. Suggestions?
> 
> Hi,
> 
> Are you sure you’re in the right directory?  
> Is ‘configure’ executable?  
> I figured out that THAT was the issued, got it working fine, and just  
> now saw your email. I’m evidently still afflicted by Windows brain  
> death. Or maybe…well, we won’t go there.

Thanks for your help. I’m flying now.

t.

> Can you try without sudo (which isn’t necessary for configure to run  
> anyway)?
> 
> Regards,
> 
> Denis

–

```auto
Tom C., MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< removed_email_address@domain.invalid >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)

```
