Re: A little help with TuDu, please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 21 Dec 2011 00:49:59 -0500, EHC (Eric) wrote:

>    File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/bin/tudu
>

In the future, avoid building as superuser root. Your ordinary user account
should suffice.

>    File not found by glob: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/share/man/man1/tudu*
>    File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/usr/share/tudu
>    File not found by glob: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/etc/*
>    File not found: /root/rpmbuild/BUILDROOT/tudu-0.8.1-1.fc17.x86_64/etc/tudurc
> 
> You can also see the entire build log[1] as I'm sure that will be helpful.

The error messages are obvious, however. Your buildroot does not contain
the files specified in the %files section. That means they either have not
been installed to the specified locations, or the %install section has not
installed them at all.

> [0] http://sparks.fedorapeople.org/tudu.spec
> [1] http://sparks.fedorapeople.org/tudu.error

> g++ -Wall -O2 -c tudu.cc

It doesn't build with Fedora's global optflags. The packaging guidelines
contain a section about that.

> + make install

> mkdir -p /usr/local/bin
> /usr/bin/install -m 755 -s tudu /usr/local/bin

It doesn't install into buildroot, but directly into /usr/local, and
that didn't fail because you've built as "root". You need to figure out
whether it just ignored your DESTDIR= definition (or whether the linked
spec file is not the one that produced your tudu.error log file) and
whether it needs patching (or whether %makeinstall would be a work-around).
Consult the Fedora packaging guidelines about %makeinstall.
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux