RE: gnome and db problems

Thanks Jens.  Actually I was trying to find a way *not* to have to edit the
spec file. :(

One more thing, when I make the new RPM, is there a way to make it
{filename}.i686.rpm instead of {filename}.i386.rpm?  or does it matter??


-----Original Message-----
From: Jens Finke [mailto:jens eknif de]
Sent: Tuesday, May 15, 2001 4:03 PM
To: Raj Wurttemberg
Cc: gnome-list gnome org
Subject: RE: gnome and db problems

On Tue, 15 May 2001, Raj Wurttemberg wrote:
> Continuing on with this problem... I was able to compile the gnome-libs
> the --enable-prefer-db1 switch on my RedHat 7.1 based system, but I would
> like to make an RPM out of it with the "rpm -tb <tarballname>" command. Is
> there any way I can get RPM to do the compile with the
> option??

I think you must edit the spec file within the tarball. There are
somewhere the following lines:

if [ ! -f configure ]; then
$MYARCH_FLAGS --prefix=%prefix --localstatedir=/var/lib --sysconfdir=%{sysco
   CFLAGS="$MYCFLAGS" ./configure
MYARCH_FLAGS --prefix=%prefix  --localstatedir=/var/lib --sysconfdir=%{sysco

Just append --enable-prefer-db1 to the ./configure line. After this you
can type 'make dist' in the top source directory and a new tarball with
the new spec file will be created. Hope this helps.


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