Re: Fixing absolute install fails on OSX
Thomas Leonard <[email protected]> Sun, 13 Sep 2015 13:44:02 +0100
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <CAG4opy_fhhi9-jfF2HHKmiqXq7t-+wZcHiQ0Sgov6DDfSps1HQ@mail.gmail.com> |
On 10 September 2015 at 13:41, Ilja Honkonen <[email protected]> wrote: >>> Absolute install >>> name=/private/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-GFyugS/gcc-any-any/lib/libcilkrts.5.dylib >>> in >>> /private/var/folders/ff/m6cylxhd2csdz9fh62g3djtm0000gq/T/0compile-GFyugS/gcc-any-any/lib/libcilkrts.5.dylib; >>> fixing... >> suspect it's trying to replace some full path names with relative >> paths, since otherwise the binary it compiled can't be relocated. > > Could I work around this by using DESTDIR? From gcc docs: > > Installation into a temporary staging area or into a chroot jail can be > achieved with the command > > make DESTDIR=path-to-rootdir install > > where path-to-rootdir is the absolute path of a directory relative to > which all installation paths will be interpreted. Note that the > directory specified by DESTDIR need not exist yet; it will be created if > necessary. Possibly - let us know if it works! I know we've distributed gcc-based languages before (gdc) with 0install, so it should work. It might be a case of modifying 0compile to skip that error. -- Dr Thomas Leonard http://roscidus.com/blog/ GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA ------------------------------------------------------------------------------