ok i downloaded and i want to be sure that the line is correct before build
the rpm:

this must be the 135 line?

OPTIM=CFLAGS=-DMGD_MYSQL_HOST="my_database_server" "$RPM_OPT_FLAGS"
LDFLAGS="$MYSQLLIBS -lcrypt" ./configure --enable-shared=no --disable-shared
--prefix=`pwd`

thanks



Emiliano wrote:

> On Wed, 12 Jan 2000, David Moreno wrote:
>
> > ok but how can i do if i installed the moster package rpm, how can i
>
> Oh, sorry, I thought you meant the separate RPMS. The Monster Package
> is linked against the static version of the midgard library and
> will need to be recompiled for this kind of change.
>
> If you want to have this change in the MP, you'll need to download
> the and install source RPM and insert
>
> CFLAGS=-DMGD_MYSQL_HOST=your.database.host
>
> in front of line 135 of the SPEC file
> (/usr/src/redhat/SPECS/apache-midgard-1.2.5) and rebuild the package using
>
> rpm -bb /usr/src/redhat/SPECS/apache-midgard-1.2.5.spec
>
> This will leave a new RPM in
> /usr/src/redhat/RPMS/i386/apache-midgard-1.2.5-7.i386.rpm
>
> uninstall the previous MP and install this new one (or maybe
> rpm -F will work)
>
> Emile
>
> --
> This is The Midgard Project's mailing list. For more information,
> please visit the project's web site at http://www.midgard-project.org
>
> To unsubscribe the list, send an empty email message to address
> [EMAIL PROTECTED]


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to