Re: "Error running 'make '" (potential OpenSSL issue)

1,111 views
Skip to first unread message

Jiten Bhagat

unread,
Mar 8, 2010, 6:57:32 PM3/8/10
to rubyversi...@googlegroups.com
(Apologies for adding multiple messages at once)

I'm now having a problem running "rvm package uninstall openssl". It gives a make error with this in the error log:

[2010-03-08 23:43:49] /usr/bin/make uninstall
make: *** No rule to make target `uninstall'.  Stop.

I figure that uninstalling and reinstalling OpenSSL might help with my original problem.

Will deleting the directory ~/.rvm/usr/ssl/ remove OpenSSL and allow me to reinstall it?

Thanks,
Jits

PS: I'm running Fedora 12 (x32)


On 8 March 2010 23:49, Jiten Bhagat <li...@jits.co.uk> wrote:
Hello,

I am having trouble installing rubies 1.8.6, 1.8.7 and 1.9.1.

From the initial failed make log I deduced that it was OpenSSL causing it. So I followed the instructions here: http://rvm.beginrescueend.com/packages/openssl/. But make still fails. This time the log shows:

---
[2010-03-08 23:38:50] make 
ossl.c:118: error: expected ‘)’ before ‘*’ token
ossl.c:119: error: expected ‘)’ before ‘*’ token
make[1]: *** [ossl.o] Error 1
make: *** [all] Error 1
---

Any idea what I can try next to solve this?

Thanks for this great tool! Now if only I could get it to work on my setup :-)

Cheers,
Jits

Jiten Bhagat

unread,
Mar 8, 2010, 6:49:16 PM3/8/10
to rubyversi...@googlegroups.com

Wayne E. Seguin

unread,
Mar 9, 2010, 7:02:02 AM3/9/10
to rubyversi...@googlegroups.com
You should be able to safely:

rm -rf ~/.rvm/usr/

Then re-install the packages.

~Wayne

Jiten Bhagat

unread,
Mar 14, 2010, 10:26:04 AM3/14/10
to rubyversi...@googlegroups.com
I just can't get this to work :-(

I keep getting the following error in the make error log:

[2010-03-14 13:03:18] make 
ossl.c:118: error: expected ‘)’ before ‘*’ token
ossl.c:119: error: expected ‘)’ before ‘*’ token
make[1]: *** [ossl.o] Error 1
make: *** [all] Error 1

Steps to reproduce:
0. Start with a clean(ish) and up to date Fedora 12 machine.
1. Set up Ruby using the Fedora packages (ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-linux]).
2. Install rubygems from source (v1.3.5).
3. Install rvm from source.
4. Follow instructions to install dependencies for rubies (sudo yum install -y gcc-c++ patch readline readline-devel iconv-devel). Note that package 'iconv-devel' doesn't exist on Fedora 12.
5. Follow instructions to set up .zshrc as required.
6. Restarted terminal.
7. Tried to install MRI 1.8.6 but make error log shows an issue with OpenSSL, so...
8. Ran: rvm package install openssl (which installs openssl-0.9.8k).
9. Then: rvm install 1.8.6 -C --with-openssl-dir=$rvm_path/usr, but that gives the error above.

Any ideas on how I can get this to work?

Note: jruby installed fine.

Thanks,
Jits


On 14 March 2010 12:24, Jiten Bhagat <li...@jits.co.uk> wrote:
Okay thanks.

What development dependencies do you I need again to compile the various rubies?

Jits


On 9 March 2010 12:02, Wayne E. Seguin <waynee...@gmail.com> wrote:
rm -rf ~/.rvm/usr/


Jiten Bhagat

unread,
Mar 14, 2010, 8:24:29 AM3/14/10
to rubyversi...@googlegroups.com

Wayne E. Seguin

unread,
Mar 17, 2010, 8:54:30 AM3/17/10
to rubyversi...@googlegroups.com
That's an openssl issue for sure, 1.8.X does not work with openssl 1.X

1. Be sure you are on the latest RVM: rvm update --head
2. Follow this: http://rvm.beginrescueend.com/packages/openssl/
(Adjust for 1.8.6)

~Wayne

Jiten Bhagat

unread,
Mar 18, 2010, 4:47:41 PM3/18/10
to rubyversi...@googlegroups.com
Thanks Wayne, that worked now.

Cheers,
Jits



 ~Wayne

--
Please visit http://rvm.beginrescueend.com/ for documentation on rvm.
Please visit https://www.pivotaltracker.com/projects/26822 to see what is being worked on currently.

You received this message because you are subscribed to the Google
Groups "rvm (Ruby Version Manager)" group.
To post to this group, send email to rubyversi...@googlegroups.com
To unsubscribe from this group, send email to
rubyversionmana...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyversionmanager?hl=en

Reply all
Reply to author
Forward
0 new messages