public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts
Date: Wed, 16 Nov 2011 18:09:35 -0500	[thread overview]
Message-ID: <CA+czFiDA9bi4t9cH-sYM-WRhv=U=ZwM9aq=xR1h2tJJzDkq3Tw@mail.gmail.com> (raw)
In-Reply-To: <yu9y5vf4rjv.fsf@nyu.edu>

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

Rebind mount?
On Nov 16, 2011 5:45 PM, "Allan Gottlieb" <gottlieb@nyu.edu> wrote:

> On Wed, Nov 16 2011, Allan Gottlieb wrote:
>
> > I am reinstalling gentoo on a Dell inspiron 6400 laptop
> > I am (again) using lvm2.
> >
> > I just built the kernel and then (following the lvm2 guide) tried
> >
> > emerge lvm2
> >
> > This required a build of help2man, which failed with
> >
> >>>> Configuring source in
> /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2 ...
> > ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
> --localstatedir=/var/lib --libdir=/usr/lib64 --enable-nls
> > checking for perl... perl
> > checking for module Locale::gettext... yes
> > checking for msgfmt... /usr/bin/msgfmt
> > checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
> > checking whether the C compiler works... yes
> > checking for C compiler default output file name... a.out
> > checking for suffix of executables...
> > checking whether we are cross compiling... no
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
> > checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none
> needed
> > checking for library containing dlsym... no
> > checking for library containing bindtextdomain... none required
> > configure: error: dlsym() required
> >
> > !!! Please attach the following file when seeking support:
> > !!!
> /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2/config.log
>
> I thought that instead of mounting /dev/vg/usr on /usr
> I would mount it at /mnt/usr and have /usr a symlink to /mnt/usr
>
> (Similarly for opt et al)
>
> This worked for a while but
> /usr/lib/libdl.so is a symlink to ../../lib64/libdl.so.2
> and the symlink uses physical not logical interpretation of ..
>
> Hence /usr/lib/../..  is /mnt instead of /
>
> oops.
>
> allan
>
>

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

  reply	other threads:[~2011-11-16 23:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16 20:15 [gentoo-user] trouble installing help2man on new gentoo box Allan Gottlieb
2011-11-16 22:43 ` [gentoo-user] trouble installing help2man on new gentoo box--Solved: too fancy with symlinks/mounts Allan Gottlieb
2011-11-16 23:09   ` Michael Mol [this message]
2011-11-17  2:09     ` Allan Gottlieb

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='CA+czFiDA9bi4t9cH-sYM-WRhv=U=ZwM9aq=xR1h2tJJzDkq3Tw@mail.gmail.com' \
    --to=mikemol@gmail.com \
    --cc=gentoo-user@lists.gentoo.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