DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38327>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38327

           Summary: install target does not ensure lib dir exists
           Product: Security
           Version: C++ 1.2.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: C++ Canonicalization
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When installing with a prefix directory that doesn't exist, the install fails
because the lib subdirectory is not created before files are moved into it.

$ rm -rf /tmp/xml-security-out && ./configure --prefix=/tmp/xml-security-out &&
make && make install
<snip>
make[1]: Entering directory 
`/usr/src/redhat/BUILD/xml-security-c-1.2.1/src/xkms'
/usr/bin/install -c -d /tmp/xml-security-out/include/xsec/xkms
/usr/bin/install -c -m 644 XKMSAuthentication.hpp XKMSCompoundRequest.hpp
XKMSCompoundResult.hpp XKMSConstants.hpp XKMSKeyBinding.hpp
XKMSKeyBindingAbstractType.hpp XKMSLocateRequest.hpp XKMSLocateResult.hpp
XKMSMessageAbstractType.hpp XKMSMessageFactory.hpp
XKMSNotBoundAuthentication.hpp XKMSPendingRequest.hpp
XKMSPrototypeKeyBinding.hpp XKMSQueryKeyBinding.hpp XKMSRegisterRequest.hpp
XKMSRegisterResult.hpp XKMSRequestAbstractType.hpp XKMSRespondWith.hpp
XKMSResponseMechanism.hpp XKMSResult.hpp XKMSResultType.hpp XKMSStatus.hpp
XKMSStatusRequest.hpp XKMSStatusResult.hpp XKMSUnverifiedKeyBinding.hpp
XKMSUseKeyWith.hpp XKMSValidateRequest.hpp XKMSValidateResult.hpp
XKMSValidityInterval.hpp /tmp/xml-security-out/include/xsec/xkms
make[1]: Leaving directory `/usr/src/redhat/BUILD/xml-security-c-1.2.1/src/xkms'
/usr/bin/install -c ../lib/libxml-security-c.so.12.0 /tmp/xml-security-out/lib
rm -f /tmp/xml-security-out/lib/libxml-security-c.so.12 && ln -s
libxml-security-c.so.12.0 /tmp/xml-security-out/lib/libxml-security-c.so.12
rm: cannot remove `/tmp/xml-security-out/lib/libxml-security-c.so.12': Not a
directory
make: *** [install] Error 1

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to