ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: "Dan0042 (Daniel DeLorme) via ruby-core" <ruby-core@ml.ruby-lang.org>
To: ruby-core@ml.ruby-lang.org
Cc: "Dan0042 (Daniel DeLorme)" <noreply@ruby-lang.org>
Subject: [ruby-core:120452] [Ruby master Bug#20147] FreeBSD libyaml
Date: Tue, 31 Dec 2024 00:02:12 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-111233.20241231000212.51761@ruby-lang.org> (raw)
In-Reply-To: <redmine.issue-20147.20240104130945.51761@ruby-lang.org>

Issue #20147 has been updated by Dan0042 (Daniel DeLorme).


kaiquekandykoga (Kaíque Koga) wrote in #note-5:
> It seems that the include directive in gcc looks for /usr/local/include, however the include directive in clang does not look for /usr/local/include.

That sounds about right. When compiling Ruby on FreeBSD, I have this at the beginning of my script to make everything flow smoothly:

    v=" -I/usr/local/include"; [[ $CPPFLAGS = *"$v"* ]] || export CPPFLAGS+="$v"
    v=" -L/usr/local/lib";     [[ $LIBS     = *"$v"* ]] || export LIBS+="$v"

As a result, `RbConfig::CONFIG` contains the /usr/local directories and that makes gem install also flow smoothly (iirc)


----------------------------------------
Bug #20147: FreeBSD libyaml
https://bugs.ruby-lang.org/issues/20147#change-111233

* Author: kaiquekandykoga (Kaíque Koga)
* Status: Open
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
I use ruby-install to manage multiple Ruby versions. Some time ago I had issues installing Ruby 3.2.2 https://github.com/postmodern/ruby-install/issues/463, and the same issue was open for ruby-build in https://github.com/rbenv/ruby-build/issues/2184. I am trying to install Ruby 3.3.0 using ruby-install, and the same behaviour is occurring. Please, take a look in the links I have provided for detailed information.

``` shell
/usr/home/kandy/src/ruby-3.3.0/lib/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
uh-oh! RDoc had a problem:
cannot load such file -- psych

run with --debug for full backtrace
*** Error code 1

Stop.
make: stopped in /usr/home/kandy/src/ruby-3.3.0
!!! Compiling ruby 3.3.0 failed!
```

Thank you.



-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/

      parent reply	other threads:[~2024-12-31  0:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04 13:09 [ruby-core:116009] " kaiquekandykoga via ruby-core
2024-01-05  1:55 ` [ruby-core:116025] " hsbt (Hiroshi SHIBATA) via ruby-core
2024-01-29  4:35 ` [ruby-core:116469] " kaiquekandykoga via ruby-core
2024-01-29  5:31 ` [ruby-core:116470] " kaiquekandykoga via ruby-core
2024-01-29  7:46 ` [ruby-core:116471] " kaiquekandykoga via ruby-core
2024-12-30 23:19 ` [ruby-core:120451] " kaiquekandykoga via ruby-core
2024-12-31  0:02 ` Dan0042 (Daniel DeLorme) via ruby-core [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-111233.20241231000212.51761@ruby-lang.org \
    --to=ruby-core@ml.ruby-lang.org \
    --cc=noreply@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).