Новости
Документация
Download
Webboard
Поиск
FAQ/ЧаВо
Обратная связь




MySQL.RU - Webboard



Вернуться
configure: error: C compiler cannot create... (Ivan) 25/11/2005 - 15:22:51
      Re: configure: error: C compiler cannot create... (Dinky) 25/11/2005 - 19:30:51
      Re: configure: error: C compiler cannot create... (Ivan) 26/11/2005 - 13:16:52
      Re: configure: error: C compiler cannot create... (Ivan) 26/11/2005 - 14:12:24

> Original message text:
> From: Ivan - 25/11/2005 - 15:22:51
> Subject:configure: error: C compiler cannot create...
> -----------------
> Требуется скомпилить Mysql 4.1.15 (Solaris 10, x86, Sun Compiler)
>
> Пишу в шеле
> CC="cc" CXX="CC" CFLAGS=" -xparallel -fast -xtarget=opteron -xarch=amd64" \
> > LDFLAGS=" -xparallel -fast -xarch=amd64" \
> > ./configure --prefix=/web/mysql \
> > --localstatedir=/web/mysql/data \
> > --with-unix-socket-path=/web/mysql/tmp/mysql.sock \
> > --with-mysqld-user=mysql --with-extra-charsets=complex --enable-assembler \
> > --with-charsets=cp1251 --with-berkeley-db=/usr/local/BerkeleyDB.4.2 \
> > --with-berkeley-db-includes=/usr/local/BerkeleyDB.4.2/inclide \
> > --with-berkeley-db-libs=/usr/local/BerkeleyDB.4.2/lib \
> > --with-openssl=/usr/local/ssl --with-libwrap
>
> Конфигуратор выводит
> checking for C compiler default output file name... configure: error: C compiler cannot create executables
>
> Как преодолеть эту ошибку? Если компилить gcc, то все получается, а вот с сановским не проходит. Может чего недоставил из библиотек?
>
> Вот выдержки из лога
> configure:2749: checking for C compiler version
> configure:2752: cc --version </dev/null >&5
> cc: Warning: option -- passed to ld
> usage: cc [ options] files. Use 'cc -flags' for details
> configure:2755: $? = 1
> configure:2757: cc -v </dev/null >&5
> usage: cc [ options] files. Use 'cc -flags' for details
> configure:2760: $? = 1
> configure:2762: cc -V </dev/null >&5
> cc: Sun C 5.7 2005/01/07
> usage: cc [ options] files. Use 'cc -flags' for details
> configure:2765: $? = 1
> configure:2788: checking for C compiler default output file name
> configure:2791: cc -xparallel -fast -xtarget=opteron -xarch=amd64 -xparallel -fast -xarch=amd64 conftest.c >&5
> ld: fatal: file /usr/ucblib/libucb.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/lib/libsocket.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/lib/libnsl.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/lib/libelf.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/lib/libaio.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/lib/libmtsk.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/lib/libthread.so: wrong ELF class: ELFCLASS32
> ld: fatal: file /usr/lib/libc.so: wrong ELF class: ELFCLASS32
> ld: fatal: File processing errors. No output written to a.out
> configure:2794: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
>
> Спасибо.
>
>


From: Ivan - 26/11/2005 - 14:12:24
Subject:configure: error: C compiler cannot create...
-----------------
убрав из настроек --enable-assembler я прошел ошибки связанные с синтаксисом, но появились другие

make[2]: Leaving directory `/web/source/mysql-5.0.16/vio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/web/source/mysql-5.0.16'
make: *** [all] Error 2

Блин, что теперь это дура make хочет???
Leaving directory & all-recursive что за фигня такая, как побороть?
Я уже не 4, а 5 ставлю версию - не помагает :(


[Это сообщение - спам!]

Последние сообщения из форума

Уважаемые посетители форума MySQL.RU!
Убедительная просьба, прежде чем задавать свой вопрос в этом форуме, обратите внимание на разделы:
- ответы на наиболее часто задаваемые вопросы - FAQ
- раздел документация
- раздел поиск по сообщениям форума и документации
Также, старайтесь наиболее подробно указывать свою ситуацию (версию операционной системы, версию MySQL, версию программного обеспечения, по которому возникает вопрос, текст возникающих ошибок, и др.)
Помните, чем конкретнее Вы опишете ситуацию, тем больше шансов получить реальную помощь.
 Имя:
 E-mail:
 Тема:
 Текст:
Код подтверждения отправки: Code
25309



РЕКЛАМА НА САЙТЕ
  Создание сайтов | |