OpenSolaris, OpenIndiana, Nexenta Forum
OpenSolaris, OpenIndiana, Nexenta Troubleshooting => Установка OpenSolaris, OpenIndiana, Nexenta => Тема начата: Илья от Сентябрь 28, 2011, 11:42:50 am
-
Начинаю любую программу конфигурировать происходит ошибка так как нет gcc & C compiler у меня все стоит почему же так прилогаю логи по установке BIND 9.xx
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = arhipkin
uname -m = i86pc
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_139556-08
/usr/bin/uname -p = i386
/bin/uname -X = System = SunOS
Node = arhipkin
Release = 5.10
KernelID = Generic_139556-08
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2
/bin/arch = i86pc
/usr/bin/arch -k = i86pc
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/openwin/bin
PATH: /usr/ucb
## ----------- ##
## Core tests. ##
## ----------- ##
configure:3577: checking build system type
configure:3591: result: i386-pc-solaris2.10
configure:3611: checking host system type
configure:3624: result: i386-pc-solaris2.10
configure:3645: checking whether make sets $(MAKE)
configure:3671: result: no
configure:3809: checking for gcc
configure:3839: result: no
configure:3902: checking for cc
configure:3949: result: no
configure:4005: checking for cl.exe
configure:4035: result: no
configure:4059: error: in `/usr/local/bind-9.8.1':
configure:4061: error: no acceptable C compiler found in $PATH
See `config.log' for more details
-
В каком каталоге находится gcc? Этот каталог есть в переменной окружения PATH?
-
GCC проверил переменную командой:
# whereis gcc
gcc: /usr/local/bin/gcc
#
То есть надо GCC поместить в папку /usr/local/bind-9.8.1 если компилятор находиться в этой директории что делать? описал проблему в своем блоге посмотри (http://www.post.arhipkin.com/?p=930)
-
На самом деле вместо перемещения gcc надо лучше написать команду
export PATH=/usr/local/bin:$PATH
-
получил Отрицательный результат
# export PATH=/usr/local/bin:$PATH
PATH=/usr/local/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb: is not an identifier
#
НЕ ИНДИФИКАТОР
Пробовал по другому все равно компилятор требует
# cd /usr/local/bind-9.8.1
# ls -l
total 4560
-rw-rw-r-- 1 10132 root 4191 Dec 2 2008 acconfig.h
-rw-rw-r-- 1 10132 root 27 May 6 2000 aclocal.m4
-rw-rw-r-- 1 10132 root 88 Feb 26 2011 Atffile
drwxrwxr-x 13 10132 root 14 Sep 27 12:00 bin
-rw-rw-r-- 1 10132 root 2389 Jan 4 2011 bind.keys
-rw-rw-r-- 1 10132 root 338641 Aug 24 09:17 CHANGES
-rw-rw-r-- 1 10132 root 43331 Jan 17 2009 config.guess
-rw-rw-r-- 1 10132 root 12181 Mar 10 2011 config.h.in
-rw-rw-r-- 1 10132 root 7388 Jan 13 2011 config.h.win32
-rw-r--r-- 1 root root 8556 Sep 27 18:17 config.log
-rw-rw-r-- 1 10132 root 31307 Dec 2 2004 config.sub
-rw-rw-r-- 1 10132 root 2967 Dec 21 2010 config.threads.in
-rwxrwxr-x 1 10132 root 913622 Jul 27 04:11 configure
-rw-rw-r-- 1 10132 root 93464 Jul 27 03:59 configure.in
drwxrwxr-x 14 10132 root 16 Sep 27 12:00 contrib
-rw-rw-r-- 1 10132 root 26025 Feb 22 2011 COPYRIGHT
drwxrwxr-x 8 10132 root 9 Sep 27 12:00 doc
drwxrwxr-x 2 10132 root 7 Sep 27 12:00 docutil
-rw-rw-r-- 1 10132 root 33607 Jan 20 2010 FAQ
-rw-rw-r-- 1 10132 root 45665 Jan 20 2010 FAQ.xml
-rw-rw-r-- 1 10132 root 10534 Feb 5 2010 HISTORY
-rwxrwxr-x 1 10132 root 5577 Aug 1 2000 install-sh
-rw-rw-r-- 1 10132 root 3121 Feb 21 2009 isc-config.sh.1
-rw-rw-r-- 1 10132 root 4913 Feb 19 2009 isc-config.sh.docbook
-rw-rw-r-- 1 10132 root 4426 Feb 21 2009 isc-config.sh.html
-rw-rw-r-- 1 10132 root 2934 Jun 20 2007 isc-config.sh.in
drwxrwxr-x 12 10132 root 14 Sep 27 12:00 lib
-rw-rw-r-- 1 10132 root 238520 Jan 19 2009 libtool.m4
-rw-rw-r-- 1 10132 root 201083 Jan 19 2009 ltmain.sh
drwxrwxr-x 2 10132 root 6 Sep 27 12:00 make
-rw-rw-r-- 1 10132 root 2293 Feb 28 2011 Makefile.in
-rwxrwxr-x 1 10132 root 727 Sep 21 2000 mkinstalldirs
-rw-rw-r-- 1 10132 root 12551 Aug 24 08:08 README
-rw-rw-r-- 1 10132 root 16744 Aug 24 07:53 RELEASE-NOTES-BIND-9.8.1.html
-rw-rw-r-- 1 10132 root 62760 Aug 24 07:53 RELEASE-NOTES-BIND-9.8.1.pdf
-rw-rw-r-- 1 10132 root 14419 Aug 24 07:53 RELEASE-NOTES-BIND-9.8.1.txt
-rw-rw-r-- 1 10132 root 1656 Aug 24 07:53 release-notes.css
drwxrwxr-x 3 10132 root 6 Sep 27 12:00 unit
drwxrwxr-x 2 10132 root 3 Sep 27 12:00 util
-rw-rw-r-- 1 10132 root 202 Aug 24 08:08 version
drwxrwxr-x 2 10132 root 16 Aug 24 09:28 win32utils
# cd /usr/local/bind-9.8.1
# ./install.sh
./install.sh: not found
# ./install-sh
install: no input file specified
# cd /usr/local/bind-9.8.1
# ./install-sh
install: no input file specified
# cd /usr/local/bind-9.8.1
# ./configure
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/bind-9.8.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
#
Нашел разрешение вопроса но не пробовал (http://ptribble.blogspot.com/2011/12/building-current-gcc-on-solaris-10.html) at Peter Tribble ;)