Re: problems with RPMs



> 
> > > > Ok, so I change the name to gda-odbc, and I get this error:
> > > > 
> > > sorry, I hit the send button too quick. The error I get is:
> > > 
> > > + STATUS=0
> > > + [ 0 -ne 0 ]
> > > + cd gda-odbc-0.1.0
> > > /var/tmp/rpm-tmp.73828: gda-odbc-0.1.0: No such file or directory
> > > Bad exit status from /var/tmp/rpm-tmp.73828 (%prep)
> > > 
> > 
> > It sounds like if you have change the PACKAGE for gda-odbc if you have
> > do so, then you must change your
> > BuildRoot: instead of something
> > like:  /var/tmp/%{PACKAGE}-%{PACKAGE_VERSION} to
> > /var/tmp/libgda-%{PACKAGE_VERSION}
> > 
> > If you don't understand me, please tell me and i will write you a
> > spanish answer.
> > 
> > If this does not resolve your problem, please, send me the .spec
> > modified.
> > 
> ok, I've done what you suggested,that is, I changed the BuildRoot, but I
> still get the same error, so here's the spec file.
> 
> 
> 
> 
> 

Well, then the problem is that it the RPM takes the "name" variable to
construct your $RPM_BUILD_DIR, but your tgz is libgda and not gda-odbc,
but i don't know how to make this in a correct way (a bad solution would
be export RPM_BUILD_DIR=/usr/src/redhat/BUILD/libgda-0.1.0. It's bad
because 1.- i don't know if it's correct and it make it RedHat
dependent.)


Sorry, I don't know how to solve this.

Perhaps Ismael....???






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