🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #17178

Re: MySQL,iodbc

#17178
From: Sergio
Date: Mon, 07 Feb 2000 00:00
56 lines
2853 bytes
    Si no consigues compilar iODBC, prueba con unixODBC
(http://www.unixodbc.org). Yo lo he probado en Linux y en Solaris, y
funciona. Incluye drivers para MiniSQL y PostgreSQL, y es compatible con
MyODBC si compilas el controlador con la opci�n
--with-unixODBC=[location].

    Suerte.


jose escribi� en mensaje <389C820E.CB101E29@jet.es>...
Quiero usar MySQL bajo la ODBC, sin embargo al compilar iodbc me da el
mensaje de error
de que me faltan 2 archivos:
list.h y my_config
Al hacer make,este es el resultado de error que obtengo;los ficheros que
no encuentro,
efectivamente no est�n en ninguna parte del disco duro.
La version de MySQL que tengo instalada es myqsl-3.22.30
Como puedo solucionar esto? Donde puedo encontrar estos archivos?
make
[1]:Entering directory `/unixodbc/iodbc-2.50.17/iODBC-2.12'
cp isql.h    /usr/local/include/
cp isqlext.h /usr/local/include/
cp odbc_types.h /usr/local/include/
cp odbc_funcs.h /usr/local/include/

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Don't forget tu update /usr/local/lib/iodbc.ini with your conf

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

make[1]: Leaving directory `/unixodbc/iodbc-2.50.17/iODBC-2.12'
make[1]: Entering directory `/unixodbc/iodbc-2.50.17/myodbc-2.50.17'
gcc  -D_UNIX_ -O -fPIC -O6  -I. -I/usr/include/mysql/include
-I/usr/local/include -I/usr/include/mysql -DDLDAPI_SVR4_DLFCN    -c
catalog.c -o catalog.o
In file included from myodbc.h:16,
                 from catalog.c:9:
/usr/include/mysql/global.h:13: my_config.h: No such file or directory
In file included from catalog.c:9:
myodbc.h:19: list.h: No such file or directory
make[1]: *** [catalog.o] Error 1
make[1]: Leaving directory `/unixodbc/iodbc-2.50.17/myodbc-2.50.17'
make[1]: Entering directory `/unixodbc/iodbc-2.50.17/SAMPLES'
make[2]: Entering directory `/unixodbc/iodbc-2.50.17/SAMPLES/gd1.2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/unixodbc/iodbc-2.50.17/SAMPLES/gd1.2'

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Don't forget to update /usr/local/lib/iodbc.ini with your
conf

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Technical Details
Message-ID: <389f4901.0@sahara.cablecat.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <389C820E.CB101E29@jet.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,13849c7c76a743c1
X-Google-Attributes: gidf86c8,public
From: "Sergio" <kieran@teleline.es>
Subject: Re: MySQL,iodbc
Date: 2000/02/07
Message-ID: <389f4901.0@sahara.cablecat.com>
X-Deja-AN: 582859798
References: <389C820E.CB101E29@jet.es>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Complaints-To: usenet@news.unisource.es
X-Trace: news.unisource.es 949970711 12786 212.78.128.11 (8 Feb 2000 00:45:11 GMT)
Organization: Unisource Iberia
NNTP-Posting-Date: 8 Feb 2000 00:45:11 GMT
Newsgroups: es.comp.os.linux.programacion