Ticket 183: uuid.pc fails to install when building outside source tree
Trying to build the uuid library from outside the source tree, I get an error at the "make install" stage:
~/build/uuid-1.6.2$ ~/src/uuid-1.6.2/configure --prefix=$HOME/local
... [success]
~/build/uuid-1.6.2$ make
... [success]
~/build/uuid-1.6.2$ make install
...
~/src/uuid-1.6.2/shtool install -c -m 644 ~/src/uuid-1.6.2/uuid.pc ~/local/lib/pkgconfig/
cp: cannot stat `~/src/uuid-1.6.2/uuid.pc': No such file or directory
make: *** [install] Error 1
(I've replaced my $HOME with ~ in the output for brevity.)
The problem appears to be that the install rule is trying to copy uuid.pc from the source tree rather than the build tree (where it can actually be found). Other than that, everything seems to work fine.
Remarks:
Properties:
Type: |
code |
|
Version: |
1.6.2 |
Status: |
new |
|
Created: |
2010-Oct-22 19:17 |
Severity: |
4 |
|
Last Change: |
2010-Oct-22 19:17 |
Priority: |
4 |
|
Subsystem: |
uuid |
Assigned To: |
rse |
|
Derived From: |
|
Creator: |
anonymous |