Добрый день.
Дано
Есть сервер на котором стоит apache_mapserver_perl_mysql ниже список установленных портов. Все ставилось с pkg_add и все пэкеджэ били готовы.apache-2.2.11_4 Version 2.2.x of Apache web server with prefork MPM.
curl-7.18.0 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
expat-2.0.1 XML 1.0 parser written in C
freetype2-2.3.7 A free and portable TrueType font rendering engine
gd-2.0.35,1 A graphics library for fast creation of images
gdal-1.5.0 A translator library for geospatial data formats
jasper-1.900.1_6 An implementation of the codec specified in the JPEG-2000 s
jpeg-6b_7 IJG's jpeg compression utilities
kbproto-1.0.3 KB extension headers
libICE-1.0.4_1,1 Inter Client Exchange library for X11
libSM-1.0.3_1,1 Session Management library for X11
libX11-1.1.3_1,1 X11 library
libXau-1.0.3_2 Authentication Protocol library for X11
libXdmcp-1.0.2_1 X Display Manager Control Protocol library
libgeotiff-1.2.5 Library for reading and writing GeoTIFF information tags
libiconv-1.11_1 A character set conversion library
libungif-4.1.4_5 Tools and library routines for working with GIF images
mapserver-4.2.5 System for developing web-based GIS applications
mod_perl2-2.0.4,3 Embeds a Perl interpreter in the Apache2 server
mysql-client-5.0.77_1 Multithreaded SQL database (client)
mysql-scripts-5.0.77_1 Multithreaded SQL database (scripts)
mysql-server-5.0.77_1 Multithreaded SQL database (server)
p5-Apache-DBI-1.06_1 DBI persistent connection, authentication and authorization
p5-Apache-Reload-0.10_2 Reload changed modules
p5-Apache-Session-1.87 A persistence framework for session data
p5-Authen-SASL-2.12 Perl5 module for SASL authentication
p5-BSD-Resource-1.2901 Perl module to access BSD resource limit and priority funct
p5-Bit-Vector-6.4_1 Library of advanced math functions that includes a Perl OO
p5-Cache-2.04_1 A Perl Cache interface
p5-Cache-Cache-1.05_1 Cache::Cache -- Perl Cache interface
p5-Carp-Clan-6.00 Report errors from perspective of caller of a "clan" of mod
p5-Class-Container-0.12 Glues object frameworks together transparently
p5-Class-Data-Inheritable-0.08 Inheritable, overridable class data
p5-DBD-XBase-0.241 Provides access to XBase (dBase, Fox*) database files throu
p5-DBD-mysql50-4.006 MySQL 5.0 driver for the Perl5 Database Interface (DBI)
p5-DBI-1.60.4 The perl5 Database Interface. Required for DBD::* modules
p5-Date-Calc-5.5.1 Gregorian calendar date calculations
p5-Devel-StackTrace-1.19.02 Stack trace and stack trace frame objects
p5-Digest-HMAC-1.01 Perl5 interface to HMAC Message-Digest Algorithms
p5-Digest-SHA1-2.11 Perl interface to the SHA-1 Algorithm
p5-Error-0.17015 Perl module to provide Error/exception support for perl: Er
p5-Exception-Class-1.24 A module that allows you to declare real exception classes
p5-ExtUtils-CBuilder-0.24 Compile and link C code for Perl modules
p5-ExtUtils-ParseXS-2.19 Converts Perl XS code into C code
p5-ExtUtils-XSBuilder-0.28 Autogenerating XS-glue Code
p5-File-NFSLock-1.20 File::NFSLock - perl module to do NFS (or not) locking
p5-GSSAPI-0.26 Perl extension providing access to the GSSAPIv2 library
p5-HTML-Mason-1.39_1 High-performance, dynamic web site authoring system
p5-HTML-Parser-3.56_1 Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20 Some useful data table in parsing HTML
p5-Heap-0.80 Perl extensions for keeping data partially sorted
p5-IO-String-1.08 Simplified Perl5 module to handle I/O on in-core strings
p5-IPC-ShareLite-0.13 A simple interface to access shared memory
p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings
p5-Mail-Sendmail-0.79 Perl module implementing a simple, platform-independent mai
p5-MasonX-Request-WithApacheSession-0.25 An interface to Apache::Session for HTML::Mason
p5-Module-Build-0.28.08_2 Build and install Perl modules
p5-Net-1.22,1 Perl5 modules to access and use network protocols
p5-Params-Validate-0.89 Validate method/function parameters
p5-Parse-RecDescent-1.95.1 A recursive descent parsing framework for Perl
p5-Regexp-Shellish-0.93 Perl module for shell-like regular expressions
p5-Spiffy-0.30 Spiffy Perl Interface Framework For You
p5-Storable-2.18 Persistency for perl data structures
p5-Test-Base-0.54_1 Test::Base - A Data Driven Testing Framework
p5-Text-Balanced-2.0.0_1 Extract delimited text sequences from strings
p5-Tie-IxHash-1.21 Perl module implementing ordered in-memory associative arra
p5-Time-HiRes-1.9715,1 A perl5 module implementing High resolution time, sleep, an
p5-TimeDate-1.16,1 Perl5 module containing a better/faster date parser for abs
p5-URI-1.37 Perl5 interface to Uniform Resource Identifier (URI) refere
p5-XML-Parser-2.36 Perl extension interface to James Clark's XML parser, expat
p5-YAML-0.66 YAML implementation in Perl
p5-libapreq2-2.08_3 Generic Apache2 Request Library
p5-version-0.76 Perl extension for Version Objects
pcre-7.9 Perl Compatible Regular Expressions library
perl-5.8.8_1 Practical Extraction and Report Language
pkg-config-0.23_1 A utility to retrieve information about installed libraries
png-1.2.32 Library for manipulating PNG images
proj-4.6.1 Cartographic Projections library
tiff-3.8.2_2 Tools and library routines for working with TIFF images
unzip-5.52_5 List, test and extract compressed files in a ZIP archive
xproto-7.0.10_1 X11 protocol headers
zip-3.0 Create/update ZIP files compatible with pkzipНа данном сервере работает мощная самописная система на перле.
Решил обновить mapserever (portupgrade) и итоге начались обновляться все составляющие многие из которых не соглашались на обновление так как новые версии сильно отличались.Взял новый сервак решил там собрать всю кухну с портов.
Делал такapache22
mapserver
databases/mysql50-server
databases/mysql50-scripts
www/p5-Apache-Session
www/p5-Apache-DBI
www/p5-Apache-Reload
security/p5-Authen-SASL
math/p5-Bit-Vector
devel/p5-BSD-Resource
devel/p5-Cache
devel/p5-Cache-Cache
devel/p5-Class-Container
devel/p5-Class-Data-Inheritable
devel/p5-Date-Calc
databases/p5-DBD-XBase
devel/p5-Devel-StackTrace
devel/p5-Exception-Class
devel/p5-ExtUtils-XSBuilder
ecurity/p5-GSSAPIзатем когда делаю
cd /usr/ports/www/p5-Apache-DBI
make install
вылетает ерор===> p5-Apache-DBI-1.08 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/DBI.pm - found
===> p5-Apache-DBI-1.08 depends on file: /usr/local/lib/perl5/site_perl/5.8.9/mach/mod_perl.pm - not found
===> Verifying install for /usr/local/lib/perl5/site_perl/5.8.9/mach/mod_perl.pm in /usr/ports/www/mod_perl
===> mod_perl-1.31_1 : Error from bsd.apache.mk. apache22 is installed (or APACHE_PORT is defined) and port requires 1.3.
*** Error code 1Stop in /usr/ports/www/mod_perl.
*** Error code 1Stop in /usr/ports/www/p5-Apache-DBI.
----------------------------------------------------------------------------------------------------------------------
у меня уже стоит
xx# pkg_info | grep mod_p
mod_perl2-2.0.4_2,3 Embeds a Perl interpreter in the Apache2 serverПодскажите что не так делаю. Любую инфу предоставлю.
мне нужен все таки apache22
и еще
sami# ls /usr/local/lib/perl5/site_perl/5.8.9/mach/ | grep mod_p
mod_perl2.pm
>мне нужен все таки apache22
>и еще
>sami# ls /usr/local/lib/perl5/site_perl/5.8.9/mach/ | grep mod_p
>mod_perl2.pmВопрос решен так
cd /usr/local/lib/perl5/site_perl/5.8.9/mach/ && ln -s mod_perl2.pm mod_perl.pmИнформация от сюда
http://forum.lissyara.su/viewtopic.php?f=3&t=21751
Все проще.$ cd /usr/ports/www/p5-Apache-DBI
$ WITH_MODPERL2=1 make install
если взглянуть в Makefile, можно увидеть
.if defined(WITH_MODPERL2) << - вот оно!
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2
.else
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
.endif
откуда и станет все понятно.Делать симлинки mod_perl.pm <-> mod_perl2.pm некошерно - мало ли какой модуль в будущем может запутаться в определении какой версией mod_perl надо пользоваться... А вы потом будете сюда писать и спрашивать, че за фигня, почему не работает.