* Install can't see libunistring
@ 2015-10-02 15:50 Lawrence Bottorff
2015-10-03 0:30 ` mwette
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Lawrence Bottorff @ 2015-10-02 15:50 UTC (permalink / raw)
To: guile-user
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
I'm trying to install guile 2.0 on a remote provider, i.e., a "home"
install. I did install the latest libunistring in my ~/opt , but guile
./configure --prefix=/my/home/opt/guile always complains
configure: error: GNU libunistring is required, please install it.
The ~/opt ~/opt/lib ~/opt/share ~/opt/include is on the PATH. Any ideas
what I'm doing wrong?
LB
[-- Attachment #2: Type: text/html, Size: 480 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Install can't see libunistring
2015-10-02 15:50 Install can't see libunistring Lawrence Bottorff
@ 2015-10-03 0:30 ` mwette
2015-10-03 1:59 ` Lawrence Bottorff
2015-10-04 16:08 ` Mark H Weaver
2015-10-08 20:45 ` Ludovic Courtès
2 siblings, 1 reply; 5+ messages in thread
From: mwette @ 2015-10-03 0:30 UTC (permalink / raw)
To: Lawrence Bottorff; +Cc: guile-user
If you installed all the goodies under ~/opt why not install guile with —prefix=/my/home/opt ?
> On Oct 2, 2015, at 8:50 AM, Lawrence Bottorff <borgauf@gmail.com> wrote:
>
> I'm trying to install guile 2.0 on a remote provider, i.e., a "home" install. I did install the latest libunistring in my ~/opt , but guile ./configure --prefix=/my/home/opt/guile always complains
>
> configure: error: GNU libunistring is required, please install it.
>
> The ~/opt ~/opt/lib ~/opt/share ~/opt/include is on the PATH. Any ideas what I'm doing wrong?
>
> LB
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Install can't see libunistring
2015-10-03 0:30 ` mwette
@ 2015-10-03 1:59 ` Lawrence Bottorff
0 siblings, 0 replies; 5+ messages in thread
From: Lawrence Bottorff @ 2015-10-03 1:59 UTC (permalink / raw)
To: guile-user
[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]
Like I said, it's not working. No combination works. Here's my PATH
> echo $PATH
/meta/b/borgauf/perl5/bin:/bin:/usr/bin:/usr/pkg/bin:/usr/local/bin:/meta/b/borgauf/opt:/meta/b/borgauf/opt/lib:/meta/b/borgauf/opt/include:/meta/b/borgauf/opt/share:/meta/b/borgauf/opt/emacs/bin
I've unpacked guile in ~/Downloads/guile-2.0.11/
I run
> ./configure --prefix=/meta/b/borgauf/opt
and get
configure: error: GNU libunistring is required, please install it.
The contents of ~/opt/lib are
libunistring.a libunistring.la libunistring.so libunistring.so.2
libunistring.so.2.0.0
The configure script is simply not seeing this -- or it needs something
else?
Can I simply do a home install on another machine and copy it over?
On Sat, Oct 3, 2015 at 12:30 AM, mwette <matthew.r.wette@jpl.nasa.gov>
wrote:
> If you installed all the goodies under ~/opt why not install guile with
> —prefix=/my/home/opt ?
>
> > On Oct 2, 2015, at 8:50 AM, Lawrence Bottorff <borgauf@gmail.com> wrote:
> >
> > I'm trying to install guile 2.0 on a remote provider, i.e., a "home"
> install. I did install the latest libunistring in my ~/opt , but guile
> ./configure --prefix=/my/home/opt/guile always complains
> >
> > configure: error: GNU libunistring is required, please install it.
> >
> > The ~/opt ~/opt/lib ~/opt/share ~/opt/include is on the PATH. Any ideas
> what I'm doing wrong?
> >
> > LB
>
>
[-- Attachment #2: Type: text/html, Size: 2198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Install can't see libunistring
2015-10-02 15:50 Install can't see libunistring Lawrence Bottorff
2015-10-03 0:30 ` mwette
@ 2015-10-04 16:08 ` Mark H Weaver
2015-10-08 20:45 ` Ludovic Courtès
2 siblings, 0 replies; 5+ messages in thread
From: Mark H Weaver @ 2015-10-04 16:08 UTC (permalink / raw)
To: Lawrence Bottorff; +Cc: guile-user
Hi Lawrence,
Lawrence Bottorff <borgauf@gmail.com> writes:
> I'm trying to install guile 2.0 on a remote provider, i.e., a "home"
> install. I did install the latest libunistring in my ~/opt , but guile
> ./configure --prefix=/my/home/opt/guile always complains
>
> configure: error: GNU libunistring is required, please install it.
Since libunistring is not installed in one of the standard places, you
need to help 'configure' find it.
> The ~/opt ~/opt/lib ~/opt/share ~/opt/include is on the PATH. Any
> ideas what I'm doing wrong?
PATH is only used to find programs, not libraries or include files, so
it makes sense to add "$HOME/opt/bin" to PATH, but not the others. Also
note that the character "~" is expanded by the shell only when found
unquoted at the beginning of a word, so it has no special meaning in
environment variables like PATH. Such variables must contain absolute
directory names like "/home/borgauf/opt/bin".
Many libraries install *.pc files in <PREFIX>/lib/pkgconfig. If you
have 'pkg-config', then the best approach to help 'configure' find those
libraries is to include <PREFIX>/lib/pkgconfig in PKG_CONFIG_PATH.
Unfortunately, libunistring does not install a *.pc file, so another
approach is needed there. If you run "./configure --help", one of the
options is:
--with-libunistring-prefix[=DIR] search for libunistring in DIR/include and DIR/lib
There are similar options for libiconv, libltdl, libintl, and
libreadline, as well as environment variables to indicate the location
of libffi and bdw-gc. I would use these options only in cases where the
'pkg-config' approach fails.
Please let us know how it goes!
Regards,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Install can't see libunistring
2015-10-02 15:50 Install can't see libunistring Lawrence Bottorff
2015-10-03 0:30 ` mwette
2015-10-04 16:08 ` Mark H Weaver
@ 2015-10-08 20:45 ` Ludovic Courtès
2 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2015-10-08 20:45 UTC (permalink / raw)
To: guile-user
Lawrence Bottorff <borgauf@gmail.com> skribis:
> configure: error: GNU libunistring is required, please install it.
‘config.log’ has more details on what makes ‘configure’ think that
libunistring is unavailable.
HTH,
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-10-08 20:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02 15:50 Install can't see libunistring Lawrence Bottorff
2015-10-03 0:30 ` mwette
2015-10-03 1:59 ` Lawrence Bottorff
2015-10-04 16:08 ` Mark H Weaver
2015-10-08 20:45 ` Ludovic Courtès
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 read-only IMAP folder(s) and NNTP newsgroup(s).