Bug 4279

Summary: libunwind install ignores configure flags
Product: frysk Reporter: Mark Wielaard <mark>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal CC: npremji, skasal
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2235    

Description Mark Wielaard 2007-03-26 14:28:37 UTC
When configuring with ../frysk/autogen.sh --prefix /usr/local/frysk the
libunwind library isn't getting installed in the right prefix

$ ../frysk/autogen.sh --prefix /usr/local/frysk && make && make install
[...]
make[6]: Entering directory
`/home/mark/src/frysk-obj/frysk-imports/libunwind-i386/src'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c  'libunwind-x86.la'
'/usr/local/lib/libunwind-x86.la'
/usr/bin/install -c .libs/libunwind-x86.so.7.0.0
/usr/local/lib/libunwind-x86.so.7.0.0
/usr/bin/install: cannot create regular file
`/usr/local/lib/libunwind-x86.so.7.0.0': Permission denied
make[6]: *** [install-libLTLIBRARIES] Error 1
Comment 1 Mark Wielaard 2007-03-27 12:19:17 UTC
Added workaround suggested by Stepan for now:

2007-03-27  Mark Wielaard  <mark@klomp.org>

        * configure.ac: Pass on host, build and prefix to libunwind-i386
        configure (and add FIXME).