On Thu, Mar 14, 2019 at 4:37 PM E. Madison Bray <[email protected]> wrote:
>
> On Thu, Mar 14, 2019 at 4:23 PM Dima Pasechnik <[email protected]> wrote:
> >
> >
> >
> > On Thu, 14 Mar 2019 15:17 E. Madison Bray, <[email protected]> wrote:
> >>
> >> On Thu, Mar 14, 2019 at 12:06 AM Dima Pasechnik <[email protected]> wrote:
> >> >
> >> > It's reproducible on my Linux machine, and I see that
> >> > "non-directory '/opt/sage/local/./lib64'" is a symbolic link.
> >> >
> >> > removing it manually allows the install to complete.
> >> > (whether it breaks anything I don't know, but should not be too hard to 
> >> > fix...)
> >>
> >> At this point I like having it there essentially as a guard--the
> >> package should not be trying to install anything into ${prefix}/lib64.
> >> It should just use ${prefix}/lib.
> >
> >
> > primecount uses cmake, which is so vastly superior to anything that 
> > configuring by mere mortals is not allowed ;-)
>
> Yes, and apparently installing it also means building and installing
> Sage's own cmake even though I already have cmake on my system.
>
> Additionally, on Ubuntu 14.04 it just worked--nothing tried to install
> anything into lib64/

Per share/cmake-3.11/Modules/GNUInstallDirs.cmake,

  set(_LIBDIR_DEFAULT "lib")
  # Override this default 'lib' with 'lib64' iff:
  #  - we are on Linux system but NOT cross-compiling
  #  - we are NOT on debian
  #  - we are on a 64 bits system
  # reason is: amd64 ABI: https://github.com/hjl-tools/x86-psABI/wiki/X86-psABI
  # For Debian with multiarch, use 'lib/${CMAKE_LIBRARY_ARCHITECTURE}' if
  # CMAKE_LIBRARY_ARCHITECTURE is set (which contains e.g. "i386-linux-gnu"
  # and CMAKE_INSTALL_PREFIX is "/usr"
  # See http://wiki.debian.org/Multiarch


Since I'm Ubuntu (Debian-based; CMake determines this by the presence
of /etc/debian_version) and since CMAKE_INSTALL_PREFIX != /usr, it is
keeping _LIBDIR_DEFAULT = "lib".

Perhaps what we need is an "sdh_cmake" that forces CMAKE_INSTALL_LIBDIR="lib/".



> >> > On Wed, Mar 13, 2019 at 10:59 PM Dima Pasechnik <[email protected]> 
> >> > wrote:
> >> > >
> >> > > On Wed, Mar 13, 2019 at 8:07 PM Vincent Delecroix
> >> > > <[email protected]> wrote:
> >> > > >
> >> > > > Dear all,
> >> > > >
> >> > > > I did try `sage -i primecount` to install the optional primecount
> >> > > > package (archlinux with compiles SageMath 8.7.beta6). The compilation
> >> > > > went file but copying the files went wrong (see attached log).
> >> > > >
> >> > > > Any help on how to fix the problem is welcome.
> >> > > looks very much like this: https://trac.sagemath.org/ticket/26996
> >> > > >
> >> > > > Best
> >> > > > Vincent
> >> > > >
> >> > > > --
> >> > > > You received this message because you are subscribed to the Google 
> >> > > > Groups "sage-devel" group.
> >> > > > To unsubscribe from this group and stop receiving emails from it, 
> >> > > > send an email to [email protected].
> >> > > > To post to this group, send email to [email protected].
> >> > > > Visit this group at https://groups.google.com/group/sage-devel.
> >> > > > For more options, visit https://groups.google.com/d/optout.
> >> >
> >> > --
> >> > You received this message because you are subscribed to the Google 
> >> > Groups "sage-devel" group.
> >> > To unsubscribe from this group and stop receiving emails from it, send 
> >> > an email to [email protected].
> >> > To post to this group, send email to [email protected].
> >> > Visit this group at https://groups.google.com/group/sage-devel.
> >> > For more options, visit https://groups.google.com/d/optout.
> >>
> >> --
> >> You received this message because you are subscribed to the Google Groups 
> >> "sage-devel" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an 
> >> email to [email protected].
> >> To post to this group, send email to [email protected].
> >> Visit this group at https://groups.google.com/group/sage-devel.
> >> For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "sage-devel" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at https://groups.google.com/group/sage-devel.
> > For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to