Ошибка при установке mod_perl2.

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Сообщения: 10
Зарегистрирован: 2010-12-14 12:38:46

Ошибка при установке mod_perl2.

Непрочитанное сообщение NickCo » 2013-12-17 12:10:33

Предыстория. Заранее прошу прощения за большие листинги, подумал что это важно.

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

# uname -a
FreeBSD proxy 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386

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

# pkg_info
alsa-lib-   ALSA compatibility library
apache22-2.2.26     Version 2.2.x of Apache web server with prefork MPM.
apr-   Apache Portability Library
autoconf-2.69       Automatically configure source code on many Un*x platforms
autoconf-wrapper-20130530 Wrapper script for GNU autoconf
automake-1.12.6     GNU Standards-compliant Makefile generator
automake-wrapper-20130530 Wrapper script for GNU automake
bigreqsproto-1.1.1  BigReqs extension headers
bootstrap-openjdk-r306764 Oracle's Java 6 virtual machine release under the GPL v2
cclient-2007f,1     Mark Crispin's C-client mail access routines
cmake-      Cross-platform Makefile generator
cmake-modules- Modules and Templates for CMake
compat7x-i386-7.4.704000.201310.1 A convenience package to install the compat7x libraries
cups-client-1.5.2_2 Common UNIX Printing System: Library cups
db42-4.2.52_5       The Berkeley DB package, revision 4.2
dialog4ports-0.1.5_2 Console Interface to configure ports
expat-2.1.0         XML 1.0 parser written in C
fixesproto-5.0      Fixes extension headers
fontconfig-2.9.0,1  An XML-based font configuration API for X Windows
freetype2-2.4.9_1   A free and portable TrueType font rendering engine
gdbm-1.9.1          The GNU database manager
gettext-  GNU gettext package
gmake-3.82_1        GNU version of 'make' utility
help2man-1.41.1     Automatically generating simple manual pages from program o
inputproto-2.0.2    Input extension headers
java-zoneinfo-2012.h Updated Java timezone definitions
jpeg-8_3            IJG's jpeg compression utilities
kbproto-1.0.5       KB extension headers
libICE-1.0.7,1      Inter Client Exchange library for X11
libSM-1.2.0,1       Session Management library for X11
libX11-1.4.4,1      X11 library
libXau-1.0.6        Authentication Protocol library for X11
libXaw-1.0.9,2      X Athena Widgets library
libXdmcp-1.1.0      X Display Manager Control Protocol library
libXext-1.3.0_1,1   X11 Extension library
libXfixes-5.0.1     X Fixes extension library
libXft-2.1.14       A client-sided font API for X applications
libXi-1.4.5,1       X Input extension library
libXmu-1.1.0,1      X Miscellaneous Utilities libraries
libXp-1.0.1,1       X print library
libXpm-3.5.9        X Pixmap library
libXrender-0.9.6    X Render extension library
libXt-1.1.1,1       X Toolkit library
libXtst-1.2.0       X Test extension
libcheck-0.9.8      A unit test framework for C
libexecinfo-1.1_3   A library for inspecting program's backtrace
libffi-3.0.13       Foreign Function Interface
libgcrypt-1.5.0_1   General purpose crypto library based on code used in GnuPG
libgpg-error-1.10   Common error values for all GnuPG components
libiconv-1.14_1     A character set conversion library
libidn-1.26         Internationalized Domain Names command line tool
libproxy-0.4.6      Library that provides automatic proxy configuration managem
libpthread-stubs-0.3_3 This library provides weak aliases for pthread functions
libtool-2.4.2       Generic shared library support script
libxcb-1.7          The X protocol C-language Binding (XCB) library
libxml2-2.7.8_5     XML parser library for GNOME
libxslt-1.1.26_3    The XSLT C library for GNOME
libyaml-0.1.4_2     A YAML 1.1 parser and emitter written in C
lynx-2.8.8d12_1     A non-graphical, text-based World-Wide Web client
m4-1.4.17,1         GNU m4
mime-support-3.54   MIME Media Types list
mysql-client-5.5.28 Multithreaded SQL database (client)
mysql-server-5.5.28 Multithreaded SQL database (server)
mysql55-server-5.5.34 Multithreaded SQL database (server)
neon29-0.29.6_4     An HTTP and WebDAV client library for Unix systems
oniguruma4-4.7.1    BSDL Regular Expressions library compatible with POSIX/GNU/
open-motif-2.3.4    Motif X11 Toolkit (industry standard GUI (IEEE 1295))
openldap-client-2.4.34 Open source LDAP client implementation
p5-Authen-NTLM-1.09 An NTLM authentication module
p5-BSD-Resource-1.2904 Perl module to access BSD resource limit and priority funct
p5-Class-Inspector-1.28 Provides information about classes
p5-Convert-BinHex-1.119 Perl module to extract data from Macintosh BinHex files
p5-Crypt-SSLeay-0.64 Perl5 interface to allow p5-libwww LWP to make https connec
p5-Digest-HMAC-1.03 Perl5 interface to HMAC Message-Digest Algorithms
p5-Email-Date-Format-1.002 Produce RFC 2822 date strings
p5-Encode-Locale-1.03 Determine the locale encoding
p5-File-Listing-6.04 Parse directory listings
p5-HTML-Parser-3.71 Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20 Some useful data table in parsing HTML
p5-HTTP-Cookies-6.01 HTTP Cookie jars
p5-HTTP-Daemon-6.01 Simple HTTP server class
p5-HTTP-Date-6.02   Conversion routines for the HTTP protocol date formats
p5-HTTP-Message-6.06_2 Representation of HTTP style messages
p5-HTTP-Negotiate-6.01 Implementation of the HTTP content negotiation algorithm
p5-IO-HTML-1.00     Open an HTML file with automatic charset detection
p5-IO-Socket-IP-0.22 Drop-in replacement for IO::Socket::INET supporting IPv4 an
p5-IO-Socket-SSL-1.953 Perl5 interface to SSL sockets
p5-IO-stringy-2.110 Perl5 module for using IO handles with non-file objects
p5-LWP-MediaTypes-6.02 Guess media type for a file or a URL
p5-LWP-Protocol-https-6.04 Provide https support for LWP::UserAgent
p5-Locale-gettext-1.05_3 Message handling functions
p5-MIME-Lite-3.02.9 Simple interface for creating (not parsing!) MIME messages
p5-MIME-Tools-5.504,2 Set of perl5 modules for MIME
p5-MIME-Types-1.38  Perl extension for determining MIME types
p5-Mail-Tools-2.12  Perl5 modules for dealing with Internet e-mail messages
p5-Mozilla-CA-20130114 Perl extension for Mozilla CA cert bundle in PEM format
p5-Net-HTTP-6.06    Low-level HTTP client
p5-Net-SSLeay-1.55  Perl5 interface to SSL
p5-SOAP-Lite-0.716  SOAP::Lite - Client and server side SOAP implementation
p5-Socket-2.011     Networking constants and support functions
p5-Task-Weaken-1.04 Ensure that a platform has weaken support
p5-TimeDate-2.30_1,1 Perl5 module containing a better/faster date parser for abs
p5-URI-1.60         Perl5 interface to Uniform Resource Identifier (URI) refere
p5-WWW-RobotRules-6.02 Database of robots.txt-derived permissions
p5-XML-Parser-2.41_1 Perl extension interface to James Clark's XML parser, expat
p5-libwww-6.05      Perl5 library for WWW access
pcre-8.32           Perl Compatible Regular Expressions library
perl5.14-5.14.4_4   Practical Extraction and Report Language
php5-5.4.13         PHP Scripting Language
php5-bz2-5.4.7      The bz2 shared extension for php
php5-calendar-5.4.7 The calendar shared extension for php
php5-ctype-5.4.7    The ctype shared extension for php
php5-dom-5.4.7      The dom shared extension for php
php5-filter-5.4.7   The filter shared extension for php
php5-ftp-5.4.7      The ftp shared extension for php
php5-gd-5.4.7       The gd shared extension for php
php5-gettext-5.4.7  The gettext shared extension for php
php5-hash-5.4.7     The hash shared extension for php
php5-iconv-5.4.7    The iconv shared extension for php
php5-imap-5.4.7     The imap shared extension for php
php5-json-5.4.7     The json shared extension for php
php5-ldap-5.4.7     The ldap shared extension for php
php5-mbstring-5.4.21 The mbstring shared extension for php
php5-mysql-5.4.7    The mysql shared extension for php
php5-mysqli-5.4.21  The mysqli shared extension for php
php5-openssl-5.4.7  The openssl shared extension for php
php5-pdo-5.4.7      The pdo shared extension for php
php5-pdo_mysql-5.4.7 The pdo_mysql shared extension for php
php5-phar-5.4.7     The phar shared extension for php
php5-posix-5.4.7    The posix shared extension for php
php5-session-5.4.7  The session shared extension for php
php5-simplexml-5.4.7 The simplexml shared extension for php
php5-sqlite3-5.4.7  The sqlite3 shared extension for php
php5-tokenizer-5.4.7 The tokenizer shared extension for php
php5-xml-5.4.7      The xml shared extension for php
php5-xmlreader-5.4.7 The xmlreader shared extension for php
php5-xmlwriter-5.4.7 The xmlwriter shared extension for php
php5-zip-5.4.7      The zip shared extension for php
php5-zlib-5.4.7     The zlib shared extension for php
pkgconf-0.9.1_2     Utility to help to configure compiler and linker flags
png-1.5.12          Library for manipulating PNG images
portaudit-0.6.1     Checks installed ports against a list of security vulnerabi
portupgrade-,2 FreeBSD ports/packages administration and management tool s
printproto-1.0.5    Print extension headers
python27-2.7.3_6    An interpreted object-oriented programming language
recordproto-1.14.1  RECORD extension headers
renderproto-0.11.1  RenderProto protocol headers
ruby-,1    Object-oriented interpreted scripting language
ruby18-bdb-0.6.6    Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
sqlite3-     SQL database engine in a C library
subversion-1.7.8    Version control system
t1lib-5.1.2_1,1     A Type 1 Rasterizer Library for UNIX/X11
unzip-6.0_1         List, test, and extract compressed files in a ZIP archive
xbitmaps-1.1.1      X.Org bitmaps data
xcb-proto-1.7.1     The X protocol C-language Binding (XCB) protocol
xcmiscproto-1.2.1   XCMisc extension headers
xextproto-7.2.0     XExt extension headers
xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers
xorg-macros-1.16.1  X.Org development aclocal macros
xproto-7.0.22       X11 protocol headers
xtrans-1.2.6        Abstract network code for X
zip-3.0             Create/update ZIP files compatible with PKZIP
Необходимо поставить Perl5 + mod_perl2 + Ocs-inventory + GLPI. Затык произошел на mod_perl2 итак..
До того снес Perl5.16 поставил Perl5.14. - т.к. уже есть рабочая конфигурация с данным набором.
ставлю mod_perl2

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

# cd /usr/ports/www/mod_perl2/
# make install clean
===>  Installing for ap22-mod_perl2-2.0.8,3
===>   ap22-mod_perl2-2.0.8,3 depends on package: p5-BSD-Resource>=0 - found
===>   ap22-mod_perl2-2.0.8,3 depends on file: /usr/local/sbin/apxs - found
===>   ap22-mod_perl2-2.0.8,3 depends on file: /usr/local/bin/perl5.14.4 - found
===>  Checking if www/mod_perl2 already installed
pkg_add: could not find package perl5-5.16.3_4 !
*** [install-package] Error code 1

Stop in /usr/ports/www/mod_perl2.
Тут я не понял отчего он его запрашивает и пробую снести perl5.14 и поставить perl5.16 компиляцию пропускаю, все идет со стандартными параметрами.

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

# cd /usr/ports/lang/perl5.14
# make deinstall
===>  Deinstalling for lang/perl5.14
===>   Deinstalling perl5.14-5.14.4_4
Removing /usr/local/etc/perl5_version... Done.
Removing stale symlinks from /usr/bin...
    Removing /usr/bin/perl
    Removing /usr/bin/perl5

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

 # cd ../perl5.16
# make install clean
====> Compressing man pages (compress-man)
===>  Building package for perl5-5.16.3_4
Creating package /usr/ports/lang/perl5.16/work/perl5-5.16.3_4.tbz
Registering depends:.
Registering conflicts: perl5.12-* perl5.14-* perl5.16-* perl5.18-*.
Creating bzip'd tar ball in '/usr/ports/lang/perl5.16/work/perl5-5.16.3_4.tbz'
===>  Installing for perl5-5.16.3_4
===>  Checking if lang/perl5.16 already installed
makewhatis: /usr/local/lib/perl5/5.16/man: No such file or directory
pkg_add: command '/usr/bin/makewhatis /usr/local/lib/perl5/5.16/man' failed
Removing /usr/local/etc/perl5_version... Done.
Creating /usr/local/etc/perl5_version... Done.
Removing stale symlinks from /usr/bin...
    Skipping /usr/bin/perl
    Skipping /usr/bin/perl5
Creating various symlinks in /usr/bin...
    Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl
    Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl5
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:
===>  Cleaning for perl5-5.16.3_4
Повторяю попытку поставить mod_perl2

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

# cd ../../www/mod_perl2/
# make install clean
===>  Installing for ap22-mod_perl2-2.0.8,3
===>   ap22-mod_perl2-2.0.8,3 depends on package: p5-BSD-Resource>=0 - found
===>   ap22-mod_perl2-2.0.8,3 depends on file: /usr/local/sbin/apxs - found
===>   ap22-mod_perl2-2.0.8,3 depends on file: /usr/local/bin/perl5.16.3 - found
===>  Checking if www/mod_perl2 already installed
pkg_add: could not find package perl5.14-5.14.4_4 !
*** [install-package] Error code 1

Stop in /usr/ports/www/mod_perl2.
Подскажите, где меня бес попутал?
Последний раз редактировалось f_andrey 2013-12-17 13:04:25, всего редактировалось 1 раз.
Причина: Автору. пожалуйста, выбирайте соответствующий раздел форума.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Сообщения: 878
Зарегистрирован: 2009-10-20 20:27:13
Откуда: Харьков.

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

Непрочитанное сообщение BirdGovorun » 2013-12-17 16:27:32

Вам-же пишут:
==> Checking if www/mod_perl2 already installed
pkgdb -F
или можно попробовать :
make FORCE_PKG_REGISTER=yes install clean

Сообщения: 36
Зарегистрирован: 2014-08-18 17:26:20

Ошибка при установке mod_perl2.

Непрочитанное сообщение BEEn » 2015-04-06 12:17:30

Не ставится p5-BSD-Resource
make test:

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

readdir() attempted on invalid dirhandle DH at t/burn.pl line 30.
closedir() attempted on invalid dirhandle DH at t/burn.pl line 31.