LinuxForum.Fans
Тема

Не могу инсталлировать пакет

Автор: kerogaz 31 сообщений 6526 просмотров
#337170

Загружаю tar бол отсюдаа http://www.adaptivecomputing.com/support/download-center/torque-download/ раcпаковываю и запускаю ./configure Причем пробовал все версии пакет а результат один и тот-же
[

text
root@new torque-4.2.5]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... 
configure: error: in `/root/Downloads/torque-4.2.5':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
#337171

"kerogaz⇓" написал:
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
Он не находит этого всего, не так ли?
Development tools установлены? Если нет, то:
[console]sudo yum -y groupinstall "Development tools"[/console]
#337173

redix написал:
[quote="kerogaz⇓"]checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
Он не находит этого всего, не так ли?[/quote]Но gcc вроде стоит и почему он не хочет x86_64?
#337174

kerogaz,
С реп не подходит?

#337175

"kerogaz⇓" написал:
Но gcc вроде стоит и почему он не хочет x86_64?
Я же спрашиваю, Development tools установлены?
#337177
Показать
yum install gcc-c++
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: [url=ftp://ftp.tlk-l.net]ftp.tlk-l.net[/url]
* epel: [url=ftp://ftp.tlk-l.net]ftp.tlk-l.net[/url]
* extras: [url=ftp://ftp.tlk-l.net]ftp.tlk-l.net[/url]
* updates: [url=ftp://ftp.tlk-l.net]ftp.tlk-l.net[/url]
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc-c++.x86_64 0:4.4.7-3.el6 will be installed
--> Processing Dependency: libstdc++-devel = 4.4.7-3.el6 for package: gcc-c++-4.4.7-3.el6.x86_64
--> Running transaction check
---> Package libstdc++-devel.x86_64 0:4.4.7-3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
gcc-c++ x86_64 4.4.7-3.el6 base 4.7 M
Installing for dependencies:
libstdc++-devel x86_64 4.4.7-3.el6 base 1.6 M

Transaction Summary
================================================================================
Install 2 Package(s)

Total download size: 6.3 M
Installed size: 20 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): gcc-c++-4.4.7-3.el6.x86_64.rpm | 4.7 MB 00:00
(2/2): libstdc++-devel-4.4.7-3.el6.x86_64.rpm | 1.6 MB 00:00
--------------------------------------------------------------------------------
Total 3.5 MB/s | 6.3 MB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libstdc++-devel-4.4.7-3.el6.x86_64 1/2
Installing : gcc-c++-4.4.7-3.el6.x86_64 2/2
Verifying : gcc-c++-4.4.7-3.el6.x86_64 1/2
Verifying : libstdc++-devel-4.4.7-3.el6.x86_64 2/2

Installed:
gcc-c++.x86_64 0:4.4.7-3.el6

Dependency Installed:
libstdc++-devel.x86_64 0:4.4.7-3.el6

Complete!

Но всё равно

Показать
# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for make... make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking whether to enable maintainer-specific portions of Makefiles... no
which: no git in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin)
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking PBS machine type... linux
checking whether to turn on the AUTORUN_JOBS flag... no
checking whether to turn on the RESOURCEMAXDEFAULT flag... no
checking whether to turn on the QUICKCOMMIT flag... no
checking whether to include server and scheduler... yes
checking whether to include the mom daemon... yes
checking whether to include the clients... yes
checking whether to build DRMAA lib... no
checking for ar... ar
mv: cannot stat `libtool': No such file or directory
./configure: line 16383: libtool: No such file or directory
#337179
"kerogaz⇓" написал:
mv: cannot stat `libtool': No such file or directory

Установите соответствующий пакет.
...но вообще-то

"verg⇓" написал:
kerogaz,
С реп не подходит?
#337181
redix написал:
http://pkgs.org/search/?keyword=Torque. Подключи нужные репы и установи через Yum, Это же Centos, если я не ошибаюсь?

Через yum только один torque ставится а мне нужен torque-mom ,torque-server, torque-client и torque-sheduler вместе и одной и той же версии

#337183

kerogaz,
А в чём проблема набрать (подключив предварительно нужный репозиторий - PUIAS Computational):

text
# yum install torque4 torque4-mom torque4-server torque4-client torque4-scheduler

и прочие.

#337185

kerogaz,
Сообщение №10.

#337186
verg написал:
kerogaz,
А в чём проблема набрать (подключив предварительно нужный репозиторий - PUIAS Computational):
text
# yum install torque4 torque4-mom torque4-server torque4-client torque4-scheduler

и прочие.

text
yum install torque4 torque4-mom torque4-server torque4-client torque4-scheduler
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: ftp.tlk-l.net
 * epel: ftp.tlk-l.net
 * extras: ftp.tlk-l.net
 * updates: ftp.tlk-l.net
Setting up Install Process
No package torque4 available.
No package torque4-mom available.
No package torque4-server available.
No package torque4-client available.
No package torque4-scheduler available.
Error: Nothing to do
#337193
redix написал:
kerogaz,
Install Howto
Download the latest puias-computational rpm from
http://puias.math.ias.edu/data/puias/computational/6/x86_64/
Install puias-computational rpm:
# rpm -Uvh puias-computational*rpm
Install torque4 rpm package:
# yum install torque4………… и т.д.
text
rpm -Uvh torque-3.0.5-6.puias6.x86_64.rpm 

[root@newgrid tmp]# yum install torque4 torque4-mom torque4-server torque4-client torque4-scheduler Loaded plugins: fastestmirror, priorities, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: ftp.tlk-l.net * epel: ftp.tlk-l.net * extras: ftp.tlk-l.net * rpmforge: ftp.colocall.net * updates: ftp.tlk-l.net Setting up Install Process No package torque4 available. No package torque4-mom available. No package torque4-server available. No package torque4-client available. No package torque4-scheduler available. Error: Nothing to do

#337195

Я с помощью yum поставил

text
torque-libs               x86_64          2.5.7-9.el6               @epel                                             187 k
 torque-mom                x86_64          2.5.7-9.el6               @epel                                             375 k
 torque-scheduler          x86_64          2.0.0p8-13.el6            @/torque-scheduler-2.0.0p8-13.el6.x86_64           58 k
 torque-server             x86_64          2.0.0p8-13.el6            @/torque-server-2.0.0p8-13.el6.x86_64-1           801 k
 torque-x11tools           x86_64          2.0.0p8-13.el6            @/torque-x11tools-2.0.0p8-13.el6.x86_64           1.6 M

Но нет клиента

#337198

kerogaz, попробуй открыть файл /etc/yum.repos.d/pujas-computational-GPFS.repo, он имеет такой вид:

text
[PUIAS_6_computational_GPFS_Base]
name=PUIAS computational _GPFS Base $releasever - $basearch
mirrorlist=http://www.puias.princeton.edu/data/puias/computational/GPFS/$releasever/$basearch/mirrorlist
#baseurl=http://www.puias.princeton.edu/data/puias/computational/GPFS/$releasever/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puias

и перед строкой gpgcheck=1, добавить строку: enabled=1

#337199
"kerogaz⇓" написал:
Я с помощью yum поставил
"kerogaz⇓" написал:
Но нет клиента

А ничего, что у вас пакеты разных версий.




kerogaz,
Ещё раз читайте сообщения №10, №14 и №15

#337202

kerogaz,
Не говоря уже о том, что можно вообще всё вручную поставить:

text
# yum install http://springdale.math.ias.edu/data/puias/computational/6/x86_64/torque4-4.2.4.1-16.sdl6.x86_64.rpm http://springdale.math.ias.edu/data/puias/computational/6/x86_64/torque4-client-4.2.4.1-16.sdl6.x86_64.rpm http://springdale.math.ias.edu/data/puias/computational/6/x86_64/torque4-gui-4.2.4.1-16.sdl6.x86_64.rpm http://springdale.math.ias.edu/data/puias/computational/6/x86_64/torque4-libs-4.2.4.1-16.sdl6.x86_64.rpm http://springdale.math.ias.edu/data/puias/computational/6/x86_64/torque4-mom-4.2.4.1-16.sdl6.x86_64.rpm http://springdale.math.ias.edu/data/puias/computational/6/x86_64/torque4-pam-4.2.4.1-16.sdl6.x86_64.rpm http://springdale.math.ias.edu/data/puias/computational/6/x86_64/torque4-scheduler-4.2.4.1-16.sdl6.x86_64.rpm http://springdale.math.ias.edu/data/puias/computational/6/x86_64/torque4-server-4.2.4.1-16.sdl6.x86_64.rpm 

Но правильнее будет всё-таки подключить репозиторий. (возможно подтянутся нужные зависимости из этого репозитория)

Войдите или зарегистрируйтесь, чтобы ответить.