On Wed, 15 Dec 1999, webmedic wrote:
> This is the error that I get. After the make install in the spec. The program
> builds ok and installs but it doesn't install into the /var/tmp directory for
> some reason.
>
> + cd /var/tmp/bibletime-buildroot
> /var/tmp/rpm-tmp.31698: cd: /var/tmp/bibletime-buildroot: No such file or directory
> Bad exit status from /var/tmp/rpm-tmp.31698 (%install)
>
> This is the .spec i'm using
>
>
> Name: bibletime
> Summary: Bibltime kde frontend for sword
> Version: 0.2
> Release: 1mdk
> Source: bibletime-0.2.tar.bz2
> Group: KDE/Applications
> URL: www.bibletime.de
> BuildRoot: /var/tmp/%{name}-buildroot
> Copyright: GPL
> Prefix: /usr
>
> %description
>
> %prep
> rm -rf $RPM_BUILD_ROOT
>
> %setup
>
> %build
> CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
> --prefix=%{prefix}
> make
>
> %install
mkdir -p $RPM_BUILD_ROOT%{prefix}
#(maybe one or two others to create)
> make install prefix=$RPM_BUILD_ROOT%{Prefix}
>
> cd $RPM_BUILD_ROOT
this is where it fails. redirect the build to a file so you can make sure
the "make install" does what it should
> find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > \
> $RPM_BUILD_DIR/file.list.%{name}
>
> find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' \
> -e '/\/etc\//s|^|%config|' \
> -e '/\/config\//s|^|%config|' \
> >> $RPM_BUILD_DIR/file.list.%{name}
>
> find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> \
> $RPM_BUILD_DIR/file.list.%{name}
>
> %clean
> rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name}
>
> %files -f ../file.list.%{name}
> %defattr(-,root,root,0755)
>
> %changelog
> * Fri Aug 06 1999 Stefan Siegel <[EMAIL PROTECTED]>
> - Added "config" tag for files containing /etc or /config
> - Added compression for perl- and localized man-pages
>
> * Sat Jun 26 1999 Bernhard Rosenkraenzer <[EMAIL PROTECTED]>
> - create (more or less) generic spec file...
>
>
> On Wed, 15 Dec 1999, you wrote:
> > can't even guess whats going wrong, where does it error and what are you
> > building
>
--
MandrakeSoft http://www.mandrakesoft.com/
--Axalon