Код: Выделить всё
mail# uname -a
FreeBSD xxxxx.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #2: Sat Dec 10 12:13:20 UTC 2011 root@xxxxxx.ru:/usr/obj/usr/src/sys/mycore amd64
Требуется сменить postfix на Exim, а Exim затребовал библиотеку pcre.1. (В системе стоял Pcre 8.21).
Да не вопрос, обновляю порты в /usr/ports/devel/, make install`ю pcre 8.30_2. (Старый Pcre 8.21 есстественно деинстальнул)
Make install pcre 8.30_2 проходит без ошибок.
Только вот шаред либы ****pcre.1.so не появились не в /usr/lib, ни в /usr/local/lib, ни в /usr/ports/devel/pcre/work/pcre-8.30/.libs/
В /etc/make.conf кроме строчки про версию Perl ничего нет.
Вот вывод при сборке pcre :
Код: Выделить всё
===> License BSD accepted by the user
===> Found saved configuration for pcre-8.30_2
===> Extracting for pcre-8.30_2
=> SHA256 Checksum OK for pcre-8.30.tar.bz2.
===> Patching for pcre-8.30_2
===> Applying FreeBSD patches for pcre-8.30_2
===> Configuring for pcre-8.30_2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 int64_t... yes
checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /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... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd10.0 file names to amd64-portbld-freebsd10.0 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd10.0 file names to toolchain format... func_convert_file_noop
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 dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... no
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether ln -s works... yes
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for alias support in the linker... no
checking for alias support in the linker... no
checking string usability... yes
checking string presence... yes
checking for string... yes
checking bits/type_traits.h usability... no
checking bits/type_traits.h presence... no
checking for bits/type_traits.h... no
checking type_traits.h usability... no
checking type_traits.h presence... no
checking for type_traits.h... no
checking for strtoq... yes
checking for long long... yes
checking for unsigned long long... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for bcopy... yes
checking for memmove... yes
checking for strerror... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for libbz2... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for readline in -lreadline... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpcre.pc
config.status: creating libpcre16.pc
config.status: creating libpcreposix.pc
config.status: creating libpcrecpp.pc
config.status: creating pcre-config
config.status: creating pcre.h
config.status: creating pcre_stringpiece.h
config.status: creating pcrecpparg.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing script-chmod commands
config.status: executing delete-old-chartables commands
pcre-8.30 configuration summary:
Install prefix .................. : /usr/local
C preprocessor .................. : cpp
C compiler ...................... : cc
C++ preprocessor ................ : c++ -E
C++ compiler .................... : c++
Linker .......................... : /usr/bin/ld
C preprocessor flags ............ :
C compiler flags ................ : -O2 -pipe -fPIC -fno-strict-aliasing
C++ compiler flags .............. : -O2 -pipe -fPIC -fno-strict-aliasing
Linker flags .................... :
Extra libraries ................. :
Build 8 bit pcre library ........ : yes
Build 16 bit pcre library ....... : yes
Build C++ library ............... : yes
Enable JIT compiling support .... : yes
Enable UTF-8/16 support ......... : yes
Unicode properties .............. : yes
Newline char/sequence ........... : lf
\R matches only ANYCRLF ......... : no
EBCDIC coding ................... : no
Rebuild char tables ............. : no
Use stack recursion ............. : yes
POSIX mem threshold ............. : 10
Internal link size .............. : 2
Match limit ..................... : 10000000
Match limit recursion ........... : MATCH_LIMIT
Build shared libs ............... : no
Build static libs ............... : yes
Use JIT in pcregrep ............. : yes
Buffer size for pcregrep ........ : 20480
Link pcregrep with libz ......... : no
Link pcregrep with libbz2 ....... : no
Link pcretest with libreadline .. : no
===> Building for pcre-8.30_2
rm -f pcre_chartables.c
ln -s ./pcre_chartables.c.dist pcre_chartables.c
make all-am
CC pcre_byte_order.lo
CC pcre_compile.lo
CC pcre_config.lo
CC pcre_dfa_exec.lo
CC pcre_exec.lo
CC pcre_fullinfo.lo
CC pcre_get.lo
CC pcre_globals.lo
CC pcre_jit_compile.lo
CC pcre_maketables.lo
CC pcre_newline.lo
CC pcre_ord2utf8.lo
CC pcre_refcount.lo
CC pcre_string_utils.lo
CC pcre_study.lo
CC pcre_tables.lo
CC pcre_ucd.lo
CC pcre_valid_utf8.lo
CC pcre_version.lo
CC pcre_xclass.lo
CC pcre_chartables.lo
CCLD libpcre.la
CC pcre16_byte_order.lo
CC pcre16_chartables.lo
CC pcre16_compile.lo
CC pcre16_config.lo
CC pcre16_dfa_exec.lo
CC pcre16_exec.lo
CC pcre16_fullinfo.lo
CC pcre16_get.lo
CC pcre16_globals.lo
CC pcre16_jit_compile.lo
CC pcre16_maketables.lo
CC pcre16_newline.lo
CC pcre16_ord2utf16.lo
CC pcre16_refcount.lo
CC pcre16_string_utils.lo
CC pcre16_study.lo
CC pcre16_tables.lo
CC pcre16_ucd.lo
CC pcre16_utf16_utils.lo
CC pcre16_valid_utf16.lo
CC pcre16_version.lo
CC pcre16_xclass.lo
CCLD libpcre16.la
CC pcreposix.lo
CCLD libpcreposix.la
CXX pcrecpp.lo
CXX pcre_scanner.lo
CXX pcre_stringpiece.lo
CXXLD libpcrecpp.la
CC pcretest.o
CC pcre_printint.o
CC pcre16_printint.o
CCLD pcretest
CC pcregrep.o
CCLD pcregrep
CC pcre_jit_test.o
CCLD pcre_jit_test
CXX pcrecpp_unittest.o
CXXLD pcrecpp_unittest
CXX pcre_scanner_unittest.o
CXXLD pcre_scanner_unittest
CXX pcre_stringpiece_unittest.o
CXXLD pcre_stringpiece_unittest
Вопрос, почему не собираются эти шаред либы ? Это какое-то ограничение в портах для Current ?