I tried compiling directly from sources (no rpmbuild) and it worked (and installed) fine. In this case, it compiles well, but install process is where if fail...
On Sat, Oct 5, 2013 at 4:37 PM, Andrew Z <[email protected]> wrote: > I think it doesn't know how to "install". Maybe how to say something about > it? > I usually try to compile in mock first. > On Oct 5, 2013 3:42 PM, "Fernando Andrés Muñoz Bravo" <[email protected]> > wrote: > >> Hi guys... >> >> I'm trying to create a custom rpm for this software: >> http://brlcad.org/(Compiling instructions here: >> http://brlcad.org/wiki/Compiling). >> >> I've installed all dependencies and tools, but I'm getting an error when >> it finish first process (compiling, itself): >> >> ---------------------------------------------------------------------------------- >> >> BRL-CAD Release 7.24.1, Build 201301005 >> >> Elapsed compilation time: 28 minutes 17 seconds >> Elapsed time since configuration: 30 minutes 15 seconds >> --- >> Run 'make install' to begin installation into /usr/brlcad/dev-7.24.1 >> Run 'make benchmark' to run the BRL-CAD Benchmark Suite >> >> [100%] Built target buildtimedelta >> + exit 0 >> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mijtNx >> + umask 022 >> + cd /home/waspper/rpmbuild/BUILD >> + '[' /home/waspper/rpmbuild/ >> BUILDROOT/brlcad-7.24-1.el6.x86_64 '!=' / ']' >> + rm -rf /home/waspper/rpmbuild/BUILDROOT/brlcad-7.24-1.el6.x86_64 >> ++ dirname /home/waspper/rpmbuild/BUILDROOT/brlcad-7.24-1.el6.x86_64 >> + mkdir -p /home/waspper/rpmbuild/BUILDROOT >> + mkdir /home/waspper/rpmbuild/BUILDROOT/brlcad-7.24-1.el6.x86_64 >> + cd brlcad-7.24 >> + LANG=C >> + export LANG >> + unset DISPLAY >> + /usr/bin/make install >> DESTDIR=/home/waspper/rpmbuild/BUILDROOT/brlcad-7.24-1.el6.x86_64 >> make: *** No rule to make target `install'. Stop. >> error: Bad exit status from /var/tmp/rpm-tmp.mijtNx (%install) >> >> >> RPM build errors: >> Bad exit status from /var/tmp/rpm-tmp.mijtNx (%install) >> >> >> ---------------------------------------------------------------------------------------------- >> >> ... And it's all. It doesnt create any RPM :( >> >> >> Inside my rpmbuild/SOURCES, source tarball is called brlcad-7.24.tar.gz. >> >> Off course, attached is my brlcad.spec... Then, my question is: What's >> wrong?... Can you explain me? >> >> Thanks a lot :) >> >> >> -- Fernando Andrés Muñoz Bravo *Tg.* Análisis y Desarollo de Sistemas de Información Linux user #487547
