ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nginx-0.6.12 проблемы с mod_perl


  • To: nginx-ru@xxxxxxxxx
  • Subject: nginx-0.6.12 проблемы с mod_perl
  • From: AlexeyK <itsmegawtf@xxxxxxxxx>
  • Date: Mon, 24 Sep 2007 23:03:01 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=Q0W1jZMzdN7unfeNAdP8Q3DMmFnmAmYvmZ+b7HFh7YI=; b=SXajPURdxKlqeo+6rQ/lQQrt5ISXX/qmeicjWGeG5CWImS5S24mkOrwrnkEDK9VXV6lBAz73EL8X29MTyNEoBF8d0qOjqhvAsiM7EBHWcRrOSOrv1iWXMOhx1VLPG80x9ZwDYnsE7vMmCk6d1zXxD6whfnc2tDp9U0nAwIWmwrM=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=jeocccOMeu6/hHclcIu3yHhFAlZDgMSt0lTqhvbC9iJpgyYTIrFxkb4bgmR83cWChGsL1v9Hg+9mGwjEounq65CU7/XlGBuXMa1abq4fb6OflsrS0Lnj5OvftN+c2Gv3m3T+ckoU6tiZhCsGFqnexsfCX0ipz2zbnARgwc+qgjc=

Сабж не собирается, если перл собран с threads.
Ошибки и perl -V в аттачах.
gcc -o objs/nginx         objs/src/core/nginx.o         objs/src/core/ngx_log.o         objs/src/core/ngx_palloc.o         objs/src/core/ngx_array.o         objs/src/core/ngx_list.o         objs/src/core/ngx_hash.o         objs/src/core/ngx_buf.o         objs/src/core/ngx_output_chain.o         objs/src/core/ngx_string.o         objs/src/core/ngx_parse.o         objs/src/core/ngx_inet.o         objs/src/core/ngx_file.o         objs/src/core/ngx_crc32.o         objs/src/core/ngx_rbtree.o         objs/src/core/ngx_radix_tree.o         objs/src/core/ngx_slab.o         objs/src/core/ngx_times.o         objs/src/core/ngx_shmtx.o         objs/src/core/ngx_connection.o         objs/src/core/ngx_cycle.o         objs/src/core/ngx_spinlock.o         objs/src/core/ngx_cpuinfo.o         objs/src/core/ngx_conf_file.o         objs/src/core/ngx_open_file_cache.o         objs/src/core/ngx_garbage_collector.o         objs/src/event/ngx_event.o         objs/src/event/ngx_event_timer.o         objs/src/event/ngx_event_posted.o         objs/src/event/ngx_event_busy_lock.o         objs/src/event/ngx_event_accept.o         objs/src/event/ngx_event_connect.o         objs/src/event/ngx_event_pipe.o         objs/src/os/unix/ngx_time.o         objs/src/os/unix/ngx_errno.o         objs/src/os/unix/ngx_alloc.o         objs/src/os/unix/ngx_files.o         objs/src/os/unix/ngx_socket.o         objs/src/os/unix/ngx_recv.o         objs/src/os/unix/ngx_readv_chain.o         objs/src/os/unix/ngx_send.o         objs/src/os/unix/ngx_writev_chain.o         objs/src/os/unix/ngx_channel.o         objs/src/os/unix/ngx_shmem.o         objs/src/os/unix/ngx_process.o         objs/src/os/unix/ngx_daemon.o         objs/src/os/unix/ngx_setproctitle.o         objs/src/os/unix/ngx_posix_init.o         objs/src/os/unix/ngx_user.o         objs/src/os/unix/ngx_process_cycle.o         objs/src/os/unix/ngx_linux_init.o         objs/src/event/modules/ngx_rtsig_module.o         objs/src/event/modules/ngx_epoll_module.o         objs/src/os/unix/ngx_linux_sendfile_chain.o         objs/src/event/ngx_event_openssl.o         objs/src/core/ngx_regex.o         objs/src/http/ngx_http.o         objs/src/http/ngx_http_core_module.o         objs/src/http/ngx_http_special_response.o         objs/src/http/ngx_http_request.o         objs/src/http/ngx_http_parse.o         objs/src/http/ngx_http_header_filter_module.o         objs/src/http/ngx_http_write_filter_module.o         objs/src/http/ngx_http_copy_filter_module.o         objs/src/http/modules/ngx_http_log_module.o         objs/src/http/ngx_http_request_body.o         objs/src/http/ngx_http_variables.o         objs/src/http/ngx_http_script.o         objs/src/http/ngx_http_upstream.o         objs/src/http/ngx_http_upstream_round_robin.o         objs/src/http/ngx_http_parse_time.o         objs/src/http/modules/ngx_http_static_module.o         objs/src/http/modules/ngx_http_index_module.o         objs/src/http/modules/ngx_http_chunked_filter_module.o         objs/src/http/modules/ngx_http_range_filter_module.o         objs/src/http/modules/ngx_http_headers_filter_module.o         objs/src/http/modules/ngx_http_not_modified_filter_module.o         objs/src/http/ngx_http_busy_lock.o         objs/src/http/modules/ngx_http_gzip_filter_module.o         objs/src/http/ngx_http_postpone_filter_module.o         objs/src/http/modules/ngx_http_charset_filter_module.o         objs/src/http/modules/ngx_http_ssi_filter_module.o         objs/src/http/modules/ngx_http_userid_filter_module.o         objs/src/http/modules/ngx_http_autoindex_module.o         objs/src/http/modules/ngx_http_auth_basic_module.o         objs/src/http/modules/ngx_http_access_module.o         objs/src/http/modules/ngx_http_limit_zone_module.o         objs/src/http/modules/ngx_http_realip_module.o         objs/src/http/modules/ngx_http_geo_module.o         objs/src/http/modules/ngx_http_map_module.o         objs/src/http/modules/ngx_http_referer_module.o         objs/src/http/modules/ngx_http_rewrite_module.o         objs/src/http/modules/ngx_http_ssl_module.o         objs/src/http/modules/ngx_http_proxy_module.o         objs/src/http/modules/ngx_http_fastcgi_module.o         objs/src/http/modules/perl/ngx_http_perl_module.o         objs/src/http/modules/ngx_http_memcached_module.o         objs/src/http/modules/ngx_http_empty_gif_module.o         objs/src/http/modules/ngx_http_browser_module.o         objs/src/http/modules/ngx_http_upstream_ip_hash_module.o         objs/src/http/modules/ngx_http_stub_status_module.o         objs/ngx_modules.o         -lcrypt -lpcre -lssl -lcrypto -lz         -rdynamic -L/usr/local/lib 
/usr/lib/perl5/5.8.8/i686-linux-thread-multi/auto/DynaLoader/DynaLoader.a 
-L/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -lperl -lpthread -lnsl -ldl 
-lm -lcrypt -lutil -lc
objs/src/http/modules/perl/ngx_http_perl_module.o: In function 
`ngx_http_perl_init_interpreter':
ngx_http_perl_module.c:(.text+0x1a5): undefined reference to `PL_thr_key'
ngx_http_perl_module.c:(.text+0x5ce): undefined reference to 
`Perl_croak_nocontext'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function 
`ngx_http_perl_ssi':
ngx_http_perl_module.c:(.text+0xb5d): undefined reference to `PL_thr_key'
ngx_http_perl_module.c:(.text+0xc7f): undefined reference to 
`Perl_croak_nocontext'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function 
`ngx_http_perl_variable':
ngx_http_perl_module.c:(.text+0xce9): undefined reference to `PL_thr_key'
ngx_http_perl_module.c:(.text+0xe04): undefined reference to 
`Perl_croak_nocontext'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function 
`ngx_http_perl_handle_request':
ngx_http_perl_module.c:(.text+0xe5f): undefined reference to `PL_thr_key'
ngx_http_perl_module.c:(.text+0x10cd): undefined reference to 
`Perl_croak_nocontext'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function 
`ngx_http_perl_cleanup_perl':
ngx_http_perl_module.c:(.text+0x141e): undefined reference to `PL_thr_key'
ngx_http_perl_module.c:(.text+0x148b): undefined reference to 
`Perl_croak_nocontext'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function `ngx_http_perl':
ngx_http_perl_module.c:(.text+0x1729): undefined reference to `PL_thr_key'
ngx_http_perl_module.c:(.text+0x1889): undefined reference to 
`Perl_croak_nocontext'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function 
`ngx_http_perl_set':
ngx_http_perl_module.c:(.text+0x19bd): undefined reference to `PL_thr_key'
ngx_http_perl_module.c:(.text+0x1a9b): undefined reference to 
`Perl_croak_nocontext'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function 
`ngx_http_perl_init_worker':
ngx_http_perl_module.c:(.text+0x1adf): undefined reference to `PL_thr_key'
ngx_http_perl_module.c:(.text+0x1b7e): undefined reference to 
`Perl_croak_nocontext'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function 
`ngx_http_perl_exit':
ngx_http_perl_module.c:(.text+0x1bb4): undefined reference to `PL_op_mutex'
ngx_http_perl_module.c:(.text+0x1c0a): undefined reference to 
`Perl_croak_nocontext'
collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] нЬХАЙЮ 1
make[1]: Leaving directory 
`/var/tmp/portage/www-servers/nginx-0.6.12/work/nginx-0.6.12'
make: *** [build] нЬХАЙЮ 2
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.22-ck1, archname=i686-linux-thread-multi
    uname='linux localhost 2.6.22-ck1 #1 sun aug 5 12:39:27 eest 2007 i686 amd 
athlon(tm) 64 processor 3500+ authenticamd gnulinux '
    config_args='-des -Darchname=i686-linux-thread -Dcccdlflags=-fPIC 
-Dccdlflags=-rdynamic -Dcc=i686-pc-linux-gnu-gcc -Dprefix=/usr 
-Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth=  -Doptimize=-O2 
-march=athlon64 -mtune=athlon64 -pipe -msse3 -Duselargefiles -Dd_semctl_semun 
-Dscriptdir=/usr/bin -Dman1dir=/usr/share/man/man1 
-Dman3dir=/usr/share/man/man3 -Dinstallman1dir=/usr/share/man/man1 
-Dinstallman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm 
-Dinc_version_list=5.8.0 5.8.0/i686-linux-thread-multi 5.8.2 
5.8.2/i686-linux-thread-multi 5.8.4 5.8.4/i686-linux-thread-multi 5.8.5 
5.8.5/i686-linux-thread-multi 5.8.6 5.8.6/i686-linux-thread-multi 5.8.7 
5.8.7/i686-linux-thread-multi  -Dinc_version_list=5.8.0 
5.8.0/i686-linux-thread-multi 5.8.2 5.8.2/i686-linux-thread-multi 5.8.4 
5.8.4/i686-linux-thread-multi 5.8.5 5.8.5/i686-linux-thread-multi 5.8.6 
5.8.6/i686-linux-thread-multi 5.8.7 5.8.7/i686-linux-thread-multi  
-Dcf_by=Gentoo -Ud_csh -Dusenm -Dusethreads -Ui_ndbm -Ui_gdbm -Di_db'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='i686-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE 
-DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -march=athlon64 -mtune=athlon64 -pipe -msse3',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/include/gdbm'
    ccversion='', gccversion='3.4.6 (Gentoo Hardened 3.4.6-r2, ssp-3.4.6-1.0, 
pie-8.7.10)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='i686-pc-linux-gnu-gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.6.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS
                        USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
  Built under linux
  Compiled at Sep 24 2007 22:46:51
  @INC:
    /etc/perl
    /usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.8
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.8
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/5.8.8/i686-linux-thread-multi
    /usr/lib/perl5/5.8.8
    /usr/local/lib/site_perl
    .


 




Copyright © Lexa Software, 1996-2009.