On Mon, 4 Jan 1999, Keith White wrote:
> In fact the problem is i can build an srpm but i get no binary package.
> the docs say that rpm -ba **.spec builds both rpm and srpm.
> also tried -bb option this also results in a srpm.

Are you sure, you aren't getting one? I know that sounds silly, but
remember the binary rpm will be in /usr/src/packages/RPMS/i386 NOT
/usr/src/packages/RPMS.I know that sounds obvious but you'd be surprised. 
Make sure that you really aren't getting one and that your spec file is
looking good. Build one and log the build process like so: 

% cd /usr/src/packages/SPECS
% rpm -ba <file>.spec | tee <file>-rpmbuild-log. 

You should see a line like this near the bottom of the log:

Wrote: /usr/src/packages/SRPMS/<program>.src.rpm
Wrote: /usr/src/packages/RPMS/i386/<program>.i386.rpm
or something to that affect. Most of the time it's something simple.
Double check. 

Another thing to try (to make sure it's not just you or your spec ) is to
maybe build a file that already has a spec with it...to make sure it's not
some mistake in the way you did things. Take some source RPM that came
with S.u.S.E. Install it, and then go to SPECS and build it....log the
build using tee, and see if it built right. If it does chances are it's
some mistake in your spec file. Hope you'll post if you get things working
and how you solved the problem either way, for the next guy down the road.
Most of the time, we know some errors from one's we've made ourselves but
for the most part I've found the process fairly seamless. 

-M    
                             


-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to