PythonQ 240-8XX Manual de usuario Pagina 140

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 768
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 139
Kapitel 3: Installation von MySQL 119
by mysql_priv.h:158,
by item.cc:19:
Das Problem liegt darin, dass HP-UX pThreads_atfork() nicht konsistent definiert.
Es hat konfliktb ehaftete Prototypes in /usr/include/sys/unistd.h’:184 und
/usr/include/sys/pThread.h’:440 (Details weiter unten).
Eine osung besteht darin, /usr/include/sys/unistd.h nach mysql/include zu
kopieren und unistd.h zu editieren, wobei es so a/jointfilesconvert/293675/bge¨andert wird, dass es der Definition
in pThread.h entspricht. Hier ist der Diff:
183,184c183,184
< extern int pThread_atfork(void (*prepare)(), void (*parent)(),
< void (*child)());
---
> extern int pThread_atfork(void (*prepare)(void), void (*parent)(void),
> void (*child)(void));
Danach sollte folgende Konfigurationszeile funktionieren:
CFLAGS="-fomit-frame-pointer -O3 -fpic" CXX=gcc CXXFLAGS="-felide-constructors -fno-exceptions -fno-rtti -O3" ./configure --prefix=/usr/local/mysql --disable-shared
Hier sind ein paar Informationen ¨uber das Kompilieren von MySQL mit dem HP-UX:x-
Kompiler, die uns ein Benutzer der HP-UX-Version 11.x geschickt hat:
Environment:
proper compilers.
setenv CC cc
setenv CXX aCC
flags
setenv CFLAGS -D_REENTRANT
setenv CXXFLAGS -D_REENTRANT
setenv CPPFLAGS -D_REENTRANT
% aCC -V
aCC: HP ANSI C++ B3910B X.03.14.06
% cc -V /tmp/empty.c
cpp.ansi: HP92453-01 A.11.02.00 HP C Preprocessor (ANSI)
ccom: HP92453-01 A.11.01.00 HP C Compiler
cc: "/tmp/empty.c", line 1: warning 501: Empty source file.
configuration:
./configure --with-pThread \
--prefix=/source-control/mysql \
--with-named-Thread-libs=-lpThread \
--with-low-memory
added ’#define _CTYPE_INCLUDED’ to include/m_ctype.h. This
symbol ist the one defined in HP’s /usr/include/ctype.h:
/* Don’t include std ctype.h when this is included */
#define _CTYPE_H
#define __CTYPE_INCLUDED
Vista de pagina 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 767 768

Comentarios a estos manuales

Sin comentarios

Bushnell Accessori per fotografia manuali utente

Partendo da P

Cliccare su un alfabeto di seguito per far scorrere la lista completa dei modellif models starting with that letter

Modelli Tipo di Documento