Re: problems with RPMs



> > Hi all!
> > 
> > I'm having problems building the RPMs for the providers, and I need some
> > help.
> > 
> > the fact is that, as you can see in the CVS sources, there is a spec
> > file for each of the providers. In each of these spec files, the name of
> > the package is set to @PACKAGE@, which is replaced by configure with
> > libgda. If I leave it like this, the package builds ok, but the name of
> > the package being libgda (instead of gda-odbc or gda-postgres, etc), it
> > means that it will replace the REAL libgda when somebody tries to
> > install it.
> > 
> > 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.

Bye
> > 
> > BTW, what I'm doing to build the RPMs is:
> > 
> > $ make dist
> > $ cd /usr/src/redhat
> > $ cp $OLDPWD/libgda-0.1.0.tar.gz SOURCES/
> > $ cp $OLDPWD/providers/gda-odbc-server/gda-odbc.spec SPECS/
> > $ rpm -ba SPECS/gda-odbc.spec
> > 
> > Please, a RPM guru over there?
> > 
> > cheers
> > 
> > 
> > _______________________________________________
> > gnome-db-list mailing list
> > gnome-db-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-db-list
> 
> 
> _______________________________________________
> gnome-db-list mailing list
> gnome-db-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-db-list





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