On Mon, Nov 04, 2013 at 01:37:34PM -0500, Alan Conway wrote:
> Just tried this myself on fedroa 18. My first attempt failed because
> I had some root-owned files hanging around from a previous "sudo
> make install". I built in a clean directory and it worked :)
> 
> The generated RPM didn't install:
>       liblinearstoreutils.so()(64bit) is needed by qpid-cpp-0.25-1.x86_64
> which I tracked down to a missing install command linearstore.cmake.
> 
> I added the install command (just checked in on trunk) and now I get
> a little further but still not installing:
> 
> sudo rpm -iv qpid-cpp-0.25-Linux.rpm
> Preparing packages...
>       file /usr from install of qpid-cpp-0.25-1.x86_64 conflicts with
> file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/lib from install of qpid-cpp-0.25-1.x86_64 conflicts with
> file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/local from install of qpid-cpp-0.25-1.x86_64 conflicts
> with file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/local/bin from install of qpid-cpp-0.25-1.x86_64
> conflicts with file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/local/etc from install of qpid-cpp-0.25-1.x86_64
> conflicts with file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/local/include from install of qpid-cpp-0.25-1.x86_64
> conflicts with file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/local/lib64 from install of qpid-cpp-0.25-1.x86_64
> conflicts with file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/local/libexec from install of qpid-cpp-0.25-1.x86_64
> conflicts with file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/local/sbin from install of qpid-cpp-0.25-1.x86_64
> conflicts with file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/local/share from install of qpid-cpp-0.25-1.x86_64
> conflicts with file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/local/share/man from install of qpid-cpp-0.25-1.x86_64
> conflicts with file from package filesystem-3.1-2.fc18.x86_64
>       file /usr/local/share/man/man1 from install of
> qpid-cpp-0.25-1.x86_64 conflicts with file from package
> filesystem-3.1-2.fc18.x86_64
>       file /usr/lib/python2.7 from install of qpid-cpp-0.25-1.x86_64
> conflicts with file from package python-libs-2.7.3-13.fc18.x86_64
>       file /usr/lib/python2.7/site-packages from install of
> qpid-cpp-0.25-1.x86_64 conflicts with file from package
> python-libs-2.7.3-13.fc18.x86_64
> 
> which looks like the RPM is trying to create directories that
> already exists, but I'm not sure whats up here. I'd really like to
> get this to work because it is WAAAAAAAY faster than using rpmbuild
> and it generates the spec file for you :)

It looks like it's trying to install into live directories rather than
into a chroot'd environment.

What would be the advantage of having CMake create an RPM as opposed to
using rpmbuild with a specfile to create the RPMs?

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

Attachment: pgpQ_VrK_yhyb.pgp
Description: PGP signature

Reply via email to