Страница 1 из 1

Ошика при установке cacti

Добавлено: 2008-05-16 6:08:19
idis
Система:

Код: Выделить всё

# uname -a
FreeBSD gemma.surgut.ru 6.3-RELEASE FreeBSD 6.3-RELEASE #1: Fri Mar 21 08:42:49 YEKT 2008
Порты обновляются раз в неделю.
Ставлю из портов cacti.
Доходит до ,

Код: Выделить всё

checking for C compiler default output file name...

После прерывания установки предлагается сообщить разработчикам

Код: Выделить всё

"/usr/ports/databases/php5-mysql/work/php-5.2.5/ext/mysql/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`)
Сам лог

Код: Выделить всё

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --with-mysql=/usr/local --with-zlib-dir=/usr --with-php-config=/usr/local/bin/php-config --prefix=/usr/local -

## --------- ##
## Platform. ##
## --------- ##

hostname = gemma.surgut.ru
uname -m = i386
uname -r = 6.3-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 6.3-RELEASE #1: Fri Mar 21 08:42:49 YEKT 2008     idis@test.www.surgut.ru:/usr/obj/usr/src/sys/IDIS

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /home/idis/bin
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1898: checking for grep that handles long lines and -e
configure:1972: result: /usr/bin/grep
configure:1977: checking for egrep
configure:2055: result: /usr/bin/grep -E
configure:2060: checking for a sed that does not truncate output
configure:2114: result: /usr/bin/sed
configure:2197: checking for i386-portbld-freebsd6.3-gcc
configure:2224: result: cc
configure:2502: checking for C compiler version
configure:2509: cc --version >&5
cc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2512: $? = 0
configure:2519: cc -v >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
configure:2522: $? = 0
configure:2529: cc -V >&5
cc: `-V' option must have argument
configure:2532: $? = 1
configure:2555: checking for C compiler default output file name
configure:2582: cc -O2 -fno-strict-aliasing -pipe    conftest.c  >&5
cc1: conftest: No such file or directory
cc1: unrecognized option `-quiet'
cc1: unrecognized option `-quiet'
Подскажите Как победить? Гуглил, смотрел форумы, решение проблемы не нашел :?

Re: Ошика при установке cacti

Добавлено: 2008-05-16 6:37:43
ProFTP
а калки причем ?
у меня пхп+мускл + etc

этот пакет стоит или плохо обновили базу пакетов ,сделай

Код: Выделить всё

 make deinstall clean && make install clean
если проблема в клмпиляторе!

Код: Выделить всё

cd /usr/ports/devel/ccache

make install clean
make.conf

Код: Выделить всё

CC=/usr/local/libexec/ccache/world-cc

CXX=/usr/local/libexec/ccache/world-c++

Re: Ошика при установке cacti

Добавлено: 2008-05-16 7:07:55
idis
как оказывается ошибка вываливается при установке любого порта

Код: Выделить всё

checking for C compiler default output file name...
Ставлю ccache

Код: Выделить всё

[root@gemma /usr/ports/devel/ccache]# make install clean
Вот чем заканчивается

Код: Выделить всё

===>  Configuring for ccache-2.4_6
configure: Configuring ccache
checking for gcc... cc
checking for C compiler default output file name... ^C===>  Script "configure" failed unexpectedly.
Please report the problem to ahze@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/ccache/work/ccache-2.4/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
Мой make.conf

Код: Выделить всё

## This is appended by Autoinstaller from SWsoft for
## make software installation from ports with proper params.
.if exists(/usr/local/etc/make.conf)
.include "/usr/local/etc/make.conf"
.endif

#FORCE
code]FORCE_PKG_REGISTER=yes

MASTER_SITE_OVERRIDE=
MASTER_SITES=http://autoinstall.plesk.com/PSA_8.3.0/dist-pkg-FreeBSD-6.1-i386//distfiles/
X11BASE=${LOCALBASE}
Собственно лог

Код: Выделить всё

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd6.3

## --------- ##
## Platform. ##
## --------- ##

hostname = gemma.surgut.ru
uname -m = i386
uname -r = 6.3-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 6.3-RELEASE #1: Fri Mar 21 08:42:49 YEKT 2008     idis@test.www.surgut.ru:/usr/obj/usr/src/sys/IDIS

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /home/idis/bin
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1288: Configuring ccache
configure:1340: checking for gcc
configure:1366: result: cc
configure:1610: checking for C compiler version
configure:1613: cc --version </dev/null >&5
cc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1616: $? = 0
configure:1618: cc -v </dev/null >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
configure:1621: $? = 0
configure:1623: cc -V </dev/null >&5
cc: `-V' option must have argument
configure:1626: $? = 1
configure:1649: checking for C compiler default output file name
configure:1652: cc -O2 -fno-strict-aliasing -pipe    conftest.c  >&5
cc1: conftest: No such file or directory
cc1: unrecognized option `-quiet'
cc1: unrecognized option `-quiet'
cc1: conftest: No such file or directory
cc1: unrecognized option `-quiet'
cc1: unrecognized option `-quiet'

Re: Ошика при установке cacti

Добавлено: 2008-05-16 7:24:43
ProFTP
64 бит? проблема в компиляторе...
я бы поставил новый, в 7.0 gcc4.1.2 стоит

Код: Выделить всё

.if exists(/usr/local/etc/make.conf)
.include "/usr/local/etc/make.conf"
.endif
а что это такое? может ты что-то лишнее поставил?

Re: Ошика при установке cacti

Добавлено: 2008-05-16 7:34:10
idis
32 бита!!!
Щас попробую новый поставить, хотя у меня есть сомнения, что в системе чего не хватает, этот сервер обслуживаем вдвоем, в апреле я был на сессии, а сейчас второй ушел на учебу, разминулись, только по телефону и общаемся.

Re: Ошика при установке cacti

Добавлено: 2008-05-16 7:40:40
ProFTP
включить вот так

Код: Выделить всё

#CC=/usr/local/bin/gcc43
#CXX=/usr/local/bin/g++43

закоментируй лишнее