On Fri, 2004-05-14 at 23:20, med wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> > Or compile it as a module (easyer if you haven't compiled 
> > your own php)
> 
> Could you go a little more into detail on this???
> So far I have only seen the option to compile mnogosearch into php directly and 
> avoided this since we are on a production system...
> THX for help...

Which distro is this? I got a half-assed rpm for Suse you can start
with, else here's the relevant parts of the specfile:

%prep
%setup -q -n %{rversion}

# hack :)
perl -p -i -e "s|udm-config|mnogosearch-%{mnogo_version}-config|g"
config.m4

%build

export EXTRA_INCLUDES="-I%{_includedir}/mnogosearch-%{mnogo_version}
-I%{_includedir} -I%{_includedir}/openssl -I/usr/include/mysql
-I/usr/include/pgsql"

phpize
%configure \
--with-%{modname}=%{_prefix}

#    --with-openssl=%{_prefix}\
#    --with-%{modname}=%{_prefix}
make
echo `pwd`
cp modules/*.so .
#chrpath -d %{soname}


Btw this refers to the following:
http://www.mnogosearch.org/Download/php/mnogosearch-php-extension-1.88.tar.gz

It should work with Aegir_search.

T

Tarjei


> 
> Alex
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (MingW32)
> 
> iD8DBQFApTga6ByBlKPys/0RAkzaAJ4x6xf/gwkVuE+K4ZKaPr+e4JvvywCghkqX
> mQckHhv0ayozhmOs/SGMWso=
> =yG5a
> -----END PGP SIGNATURE-----
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to