Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] rbenv fails to compile ruby
@ 2021-10-18 18:26 jesseadams
  2021-10-18 18:46 ` jesseadams
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jesseadams @ 2021-10-18 18:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]

New issue by jesseadams on void-packages repository

https://github.com/void-linux/void-packages/issues/33621

Description:
### System

* xuname:  `Void 5.13.19_1 x86_64 GenuineIntel uptodate rFF`
* package:  gcc-10.2.1pre1_3

### Expected behavior

`rbenv install 3.0.2` downloads and compiles ruby 3.0.2

### Actual behavior

```
Installing ruby-3.0.2...

BUILD FAILED (VoidLinux rolling using ruby-build 20210928-4-g2b9424d)

Inspect or clean up the working tree at /tmp/ruby-build.20211018112122.8745.2yqy2e
Results logged to /tmp/ruby-build.20211018112122.8745.log

Last 10 log lines:
checking for ld... ld
checking for gcc-ar... gcc-ar
checking for g++... g++
checking for gcc-nm... gcc-nm
checking for gcc-ranlib... gcc-ranlib
checking for gcc... (cached) gcc
checking whether the C compiler works... no
configure: error: in `/tmp/ruby-build.20211018112122.8745.2yqy2e/ruby-3.0.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
```

### Steps to reproduce the behavior

```
# Install rbenv
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash

# Load rbenv into your environment
export PATH=~/.rbenv/bin:$PATH
rbenv init

# Instal ruby 3.0.2
rbenv install 3.0.2
```

This is my first attempt at using Void Linux, so I'm sorry if it is something simple that I just overlooked.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-18 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18 18:26 [ISSUE] rbenv fails to compile ruby jesseadams
2021-10-18 18:46 ` jesseadams
2021-10-18 19:30 ` jesseadams
2021-10-18 19:30 ` [ISSUE] [CLOSED] " jesseadams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).