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

Re: problema al compilar



La verdad es que me quedé pegado a la 5.0.22 por que es la que ya
tengo. Y lo que intento es, cómo especifico en el primer mail,
compilar SPHINX-SE
(http://www.sphinxsearch.com/doc.html#sphinxse-installing).

Ahora lo que voy a hacer es intentarlo con la BETA 5.1, que se supone
que trae mejor compatibilidad (no necesita patching).

SLDS

On 9/11/07, Luis Rodrigo Gallardo Cruz <rodrigo@nul-unu.com> wrote:
> On Tue, Sep 11, 2007 at 09:29:33PM +0200, Adrián Navarro wrote:
> > Sigo igual:
> > make[4]: se ingresa al directorio `/root/new/mysql-5.0.22/sql'
> > g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\""
> > -DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\""
> > -DHAVE_CONFIG_H -I. -I.. -I../zlib -I../innobase/include -I../include
> > -I../include -I../regex -I.      -O3 -DDBUG_OFF
> > -fno-implicit-templates -fno-exceptions -fno-rtti -MT handler.o -MD
> > -MP -MF .deps/handler.Tpo -c -o handler.o handler.cc
> > handler.cc: In function âhandler* get_new_handler(TABLE*, MEM_ROOT*, db_type)â:
> > handler.cc:361: error: cannot allocate an object of abstract type âha_sphinxâ
> > sphinx/ha_sphinx.h:27: note:   because the following virtual functions
> > are pure within âha_sphinxâ:
> > handler.h:666: note:    virtual int handler::rnd_next(byte*)
> > handler.h:667: note:    virtual int handler::rnd_pos(byte*, byte*)
> > handler.h:680: note:    virtual void handler::position(const byte*)
>
> Este mensaje me hace pensar que estás usando una versión de g++ que no
> es compatible con ese código. Intenta instalar una versión más
> antigua. Por ejemplo, ve en qué fecha fue liberado 5.0.22 y busca la
> versión de g++ que era default en Debian en aquel entonces.
>
> Repito la pregunta: ¿Para qué estás intentando esto? ¿Qué tiene de
> particular 5.0.22, que te importa tanto tener esa?
>
> --
> Rodrigo Gallardo
> GPG-Fingerprint: 7C81 E60C 442E 8FBC D975  2F49 0199 8318 ADC9 BC28
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFG5u5bAZmDGK3JvCgRAqhLAJwOS6/okHkjhM51Z4x356ATJXcdfQCfeDTT
> OLUis41t1T/V8FN1fSP3RfE=
> =a9p+
> -----END PGP SIGNATURE-----
>
>


-- 
Adrián Navarro
http://www.xeon.com.es
Email: adri@adrinavarro.com
MSNIM + Jabber: navarro.adrian@gmail.com



Reply to: