cocoa | 1 May 2012 20:08
Picon

Running chibi with installing and no support for modifying LD_LIBRARY_PATH

I want to use Chibi-Scheme to interpret CGI scripts running on a managed hosting web server. 


I built using the command:
make chibi-scheme-static SEXP_USE_DL=0

I do not make install, because I do not have root permissions, only ssh access.  The managed server seems to be running a version of Ubuntu Linux (or maybe Debian?), that does not support modification of the LD_LIBRARY_PATH environmental variable.

If I run using a command like:
./chibi-scheme-0.5.3/chibi-scheme-static

... I get the message:
ERROR: couldn't find file in module path "init-7.scm"

Please can anyone tell me whether there is a way to build Chibi-Scheme so that it is usable under the described circumstances? 
I guess that the Makefile could be modified to use relative search paths via -rpath, but I am not sure about how to accomplish this myself?

/Colin 

--
You received this message because you are subscribed to the Google Groups "chibi-scheme" group.
To view this discussion on the web visit https://groups.google.com/d/msg/chibi-scheme/-/04_-Ug_RplsJ.
To post to this group, send email to chibi-scheme-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to chibi-scheme+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibi-scheme?hl=en.
Alex Shinn | 3 May 2012 17:14
Picon

Re: Running chibi with installing and no support for modifying LD_LIBRARY_PATH

On Wed, May 2, 2012 at 3:08 AM, cocoa <cocoa2u@...> wrote:
> I want to use Chibi-Scheme to interpret CGI scripts running on a managed
> hosting web server.
>
> I built using the command:
> make chibi-scheme-static SEXP_USE_DL=0
>
> I do not make install, because I do not have root permissions, only ssh
> access.  The managed server seems to be running a version of Ubuntu Linux
> (or maybe Debian?), that does not support modification of the
> LD_LIBRARY_PATH environmental variable.
>
> If I run using a command like:
> ./chibi-scheme-0.5.3/chibi-scheme-static
>
> ... I get the message:
> ERROR: couldn't find file in module path "init-7.scm"

You still need to install the init-7.scm in a directory
in the include path to run chibi-scheme-static.  You
can do a local install with:

  make PREFIX=$HOME/local install

Otherwise you need a custom executable which
will load an initial environment by some other
means.

The next release will also support building a static
executable with no external file dependencies.

-- 
Alex

--

-- 
You received this message because you are subscribed to the Google Groups "chibi-scheme" group.
To post to this group, send email to chibi-scheme@...
To unsubscribe from this group, send email to chibi-scheme+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibi-scheme?hl=en.

John Cowan | 3 May 2012 17:20

Re: Running chibi with installing and no support for modifying LD_LIBRARY_PATH

Alex Shinn scripsit:

> The next release will also support building a static
> executable with no external file dependencies.

Coolness.

--

-- 
John Cowan  cowan@...   http://www.ccil.org/~cowan
O beautiful for patriot's dream that sees beyond the years
Thine alabaster cities gleam undimmed by human tears!
America! America!  God mend thine every flaw,
Confirm thy soul in self-control, thy liberty in law!
        --one of the verses not usually taught in U.S. schools

cocoa | 3 May 2012 19:11
Picon

Re: Running chibi with installing and no support for modifying LD_LIBRARY_PATH



On Thursday, 3 May 2012 16:20:02 UTC+1, John Cowan wrote:
Alex Shinn scripsit:

> The next release will also support building a static
> executable with no external file dependencies.

Coolness.


Thanks Alex, that is excellent news! I'm looking forward to the next release! ;)

--
You received this message because you are subscribed to the Google Groups "chibi-scheme" group.
To view this discussion on the web visit https://groups.google.com/d/msg/chibi-scheme/-/2h9Tiq-D4kwJ.
To post to this group, send email to chibi-scheme-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to chibi-scheme+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/chibi-scheme?hl=en.
Jiyin Yiyong | 10 Jan 2013 12:26
Picon
Gravatar

Re: Running chibi with installing and no support for modifying LD_LIBRARY_PATH

Same error was given when I install chibi-scheme from Arch's AUR.

Is there any solution?

......
install doc/chibi-scheme.1 /tmp/yaourt-tmp-chen/aur-chibi-scheme/pkg/usr/share/man/man1/
install doc/chibi-ffi.1 /tmp/yaourt-tmp-chen/aur-chibi-scheme/pkg/usr/share/man/man1/
install doc/chibi-doc.1 /tmp/yaourt-tmp-chen/aur-chibi-scheme/pkg/usr/share/man/man1/
if type ldconfig >/dev/null 2>/dev/null; then ldconfig; fi
ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make: [install] Error 1 (ignored)
==> Tidying install...
  -> Purging unwanted files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> WARNING: Package contains reference to $pkgdir
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: chibi-scheme 0.5.3-1 (Thu Jan 10 19:14:26 CST 2013)

==> Continue installing chibi-scheme ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
resolving dependencies...
looking for inter-conflicts...

Targets (1): chibi-scheme-0.5.3-1

Total Installed Size:   1.44 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity                                                                       [############################################################] 100%
(1/1) loading package files                                                                            [############################################################] 100%
(1/1) checking for file conflicts                                                                      [############################################################] 100%
(1/1) checking available disk space                                                                    [############################################################] 100%
(1/1) installing chibi-scheme                                                                          [############################################################] 100%
➤➤ chibi-scheme 
ERROR: couldn't find file in module path: "init-7.scm"


On Thursday, May 3, 2012 11:14:20 PM UTC+8, Alex Shinn wrote:
On Wed, May 2, 2012 at 3:08 AM, cocoa <coc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I want to use Chibi-Scheme to interpret CGI scripts running on a managed
> hosting web server.
>
> I built using the command:
> make chibi-scheme-static SEXP_USE_DL=0
>
> I do not make install, because I do not have root permissions, only ssh
> access.  The managed server seems to be running a version of Ubuntu Linux
> (or maybe Debian?), that does not support modification of the
> LD_LIBRARY_PATH environmental variable.
>
> If I run using a command like:
> ./chibi-scheme-0.5.3/chibi-scheme-static
>
> ... I get the message:
> ERROR: couldn't find file in module path "init-7.scm"

You still need to install the init-7.scm in a directory
in the include path to run chibi-scheme-static.  You
can do a local install with:

  make PREFIX=$HOME/local install

Otherwise you need a custom executable which
will load an initial environment by some other
means.

The next release will also support building a static
executable with no external file dependencies.

--
Alex

--
You received this message because you are subscribed to the Google Groups "chibi-scheme" group.
To view this discussion on the web visit https://groups.google.com/d/msg/chibi-scheme/-/XwVEL9s9LicJ.
To post to this group, send email to chibi-scheme-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to chibi-scheme+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibi-scheme?hl=en.
Alex Shinn | 10 Jan 2013 13:50
Picon

Re: Running chibi with installing and no support for modifying LD_LIBRARY_PATH

On Thu, Jan 10, 2013 at 8:26 PM, Jiyin Yiyong <jiyinyiyong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: 
➤➤ chibi-scheme 
ERROR: couldn't find file in module path: "init-7.scm"

This should just work, but I'm not familiar with Arch.
Is the file actually installed?

-- 
Alex

--
You received this message because you are subscribed to the Google Groups "chibi-scheme" group.
To post to this group, send email to chibi-scheme-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to chibi-scheme+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibi-scheme?hl=en.
Alex Shinn | 10 Jan 2013 14:00
Picon

Re: Running chibi with installing and no support for modifying LD_LIBRARY_PATH

On Thu, Jan 10, 2013 at 9:50 PM, Alex Shinn <alexshinn <at> gmail.com> wrote:
On Thu, Jan 10, 2013 at 8:26 PM, Jiyin Yiyong <jiyinyiyong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: 
➤➤ chibi-scheme 
ERROR: couldn't find file in module path: "init-7.scm"

This should just work, but I'm not familiar with Arch.
Is the file actually installed?

BTW, you can figure out the module path compiled into chibi with:

  strace chibi-scheme -q -p'(find-module-file"xyzzy")' 2>&1 | grep xyzzy

(substitute "sudo dtruss" for "strace" on OS X)

-- 
Alex

--
You received this message because you are subscribed to the Google Groups "chibi-scheme" group.
To post to this group, send email to chibi-scheme-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to chibi-scheme+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibi-scheme?hl=en.

Gmane