all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#46622: r-rserve 1.8-6
@ 2021-02-18 19:47 Pink Gorilla
  2021-02-18 20:54 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Pink Gorilla @ 2021-02-18 19:47 UTC (permalink / raw)
  To: 46622

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

r-rserve 1.8-6  should compile a binary "RServ" which would be made
available for execution similar to "R"
It think it fails because it wants to save the binary to /gnu/store
where the package "r-minimal" is installed.
It might be also that r-minimal has to be installed with "
"--enable-R-shlib"

In gn/packages/statistics.scm there is "r-with-tests". Unfortunately it is
not a public package, so I cannot install it easily

RServ is quite important: any interop with R (on multiple languages) goes
via this socket-server.

[-- Attachment #2: Type: text/html, Size: 723 bytes --]

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

* bug#46622: r-rserve 1.8-6
  2021-02-18 19:47 bug#46622: r-rserve 1.8-6 Pink Gorilla
@ 2021-02-18 20:54 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-02-18 21:09 ` bug#46622: Rserve fails to start Ricardo Wurmus
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-02-18 20:54 UTC (permalink / raw)
  To: Pink Gorilla; +Cc: 46622

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

Hi,

Pink Gorilla 写道:
> r-rserve 1.8-6  should compile a binary "RServ" which would be 
> made
> available for execution similar to "R"

This was fixed during our conversation on #guix yesterday.  Now 
one gets the error I mentioned:

  λ R_HOME=$(guix build r-minimal) \
  	guix environment --ad-hoc r-rserve --
  	Rserve
  cannot find system Renviron
  Fatal error: unable to open the base package

I haven't looked into it.

> It think it fails because it wants to save the binary to 
> /gnu/store
> where the package "r-minimal" is installed.

Correct.  I patched R_HOME in Makevars.in to point to r-rserve's 
/bin directory instead.

> It might be also that r-minimal has to be installed with "
> "--enable-R-shlib"

What would that do?

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* bug#46622: Rserve fails to start
  2021-02-18 19:47 bug#46622: r-rserve 1.8-6 Pink Gorilla
  2021-02-18 20:54 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-02-18 21:09 ` Ricardo Wurmus
  2021-02-18 21:13 ` Ricardo Wurmus
  2021-02-18 21:46 ` awb99 via web
  3 siblings, 0 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2021-02-18 21:09 UTC (permalink / raw)
  To: 46622

>> It might be also that r-minimal has to be installed with
>> "--enable-R-shlib"

> What would that do?

This is already done.  “r-minimal” inherits from “r-with-tests” and
merely *adds* one configure flag.  The “--enable-R-shlib” flag is
untouched.

-- 
Ricardo




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

* bug#46622: Rserve fails to start
  2021-02-18 19:47 bug#46622: r-rserve 1.8-6 Pink Gorilla
  2021-02-18 20:54 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-02-18 21:09 ` bug#46622: Rserve fails to start Ricardo Wurmus
@ 2021-02-18 21:13 ` Ricardo Wurmus
  2021-02-18 21:34   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-02-18 21:43   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-02-18 21:46 ` awb99 via web
  3 siblings, 2 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2021-02-18 21:13 UTC (permalink / raw)
  To: 46622

I don’t think there’s a bug here.  It’s just that your value for R_HOME
is incorrect.

--8<---------------cut here---------------start------------->8---
$ R_HOME=$(guix build r-minimal)/lib/R guix environment --ad-hoc r-rserve -- Rserve
The following derivation will be built:
   /gnu/store/99sy2r53p2s4njm055xjq4j9q2bqrxq4-profile.drv

building CA certificate bundle...
building fonts directory...
building directory of Info manuals...
building database for manual pages...
building profile with 1 package...

R version 4.0.4 (2021-02-15) -- "Lost Library Book"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-unknown-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Rserv started in daemon mode.
$ 
--8<---------------cut here---------------end--------------->8---


-- 
Ricardo




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

* bug#46622: Rserve fails to start
  2021-02-18 21:13 ` Ricardo Wurmus
@ 2021-02-18 21:34   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-02-18 21:43   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  1 sibling, 0 replies; 7+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-02-18 21:34 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 46622

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

Ricardo Wurmus 写道:
> I don’t think there’s a bug here.  It’s just that your value for 
> R_HOME
> is incorrect.

I have no clue how R works.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* bug#46622: Rserve fails to start
  2021-02-18 21:13 ` Ricardo Wurmus
  2021-02-18 21:34   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-02-18 21:43   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  1 sibling, 0 replies; 7+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-02-18 21:43 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 46622-done

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

Ricardo Wurmus 写道:
> I don’t think there’s a bug here.  It’s just that your value for 
> R_HOME
> is incorrect.

Since the reported bug was already fixed and I can start Rserve 
with Ricardo's help, I'm closing this bug.

Thanks!

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* bug#46622: Rserve fails to start
  2021-02-18 19:47 bug#46622: r-rserve 1.8-6 Pink Gorilla
                   ` (2 preceding siblings ...)
  2021-02-18 21:13 ` Ricardo Wurmus
@ 2021-02-18 21:46 ` awb99 via web
  3 siblings, 0 replies; 7+ messages in thread
From: awb99 via web @ 2021-02-18 21:46 UTC (permalink / raw)
  To: 46622

How can I get it working?





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

end of thread, other threads:[~2021-02-18 21:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-18 19:47 bug#46622: r-rserve 1.8-6 Pink Gorilla
2021-02-18 20:54 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-02-18 21:09 ` bug#46622: Rserve fails to start Ricardo Wurmus
2021-02-18 21:13 ` Ricardo Wurmus
2021-02-18 21:34   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-02-18 21:43   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-02-18 21:46 ` awb99 via web

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.