Добро пожаловать! Это — архивная версия форумов на «Хакер.Ru». Она работает в режиме read-only.
 

Не устанавливается php-5.2.6 на Ubuntu 7.10

Пользователи, просматривающие топик: none

Зашли как: Guest
Все форумы >> [*nix/Linux] >> Не устанавливается php-5.2.6 на Ubuntu 7.10
Имя
Сообщение << Старые топики   Новые топики >>
Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 09:42:14.110000   
t3rmin41

Сообщений: 245
Оценки: 0
Присоединился: 2007-11-12 14:06:01.393333
Такая проблема, не могу установить php-5.2.6 из тарбола http://lt2.php.net/get/php-5.2.6.tar.gz/from/ru2.php.net/mirror, до этого установил apache_1.3.37 c ключом

–enable-module=so

, затем распаковал тарбол с PHP, перешёл в директорию, ввёл ключ

bash ./configure –with-mysqli –with-xsl –with-apxs=/www/bin/apxs

и на

make

мне отвечает

make: *** No targets specified and no makefile found. Stop.

Какой выход из ситуации?
Post #: 1
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 09:46:24.940000   
*Useroff*

Сообщений: 56
Оценки: 0
Присоединился: 2008-07-02 19:59:26.446666
А после этой строчки
./configure –with-mysqli –with-xsl –with-apxs=/www/bin/apxs
Какие-нибудь ошибки выдает?
——————-
И вот эту строчу чтото я не понел
quote:

установил apache_1.3.37 c ключом

И что апач такой старый ставишь??
Уж 2.2.9 вышел:D
Post #: 2
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 09:49:43.036666   
mactep.Black

Сообщений: 6065
Оценки: 678
Присоединился: 2008-02-28 13:01:19.656666
а в официальных репозитариях неужели нету ни апача, ни пыхпыха?
Post #: 3
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 10:26:07.113333   
t3rmin41

Сообщений: 245
Оценки: 0
Присоединился: 2007-11-12 14:06:01.393333
Одним словом, пишет это:

root@t3rmin41-laptop:/z-downloaded/unix-server/php-5.2.6# ./configure --with-mysqli --with-xsl --with-apxs=/www/bin/apxs loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for icc... no checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking whether ln -s works... yes checking for system library directory... lib checking whether to enable runpaths... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for re2c... no configure: warning: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for bison... no checking for byacc... no checking for bison version... invalid configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none). checking for flex... lex checking for yywrap in -ll... no checking for working const... yes configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: none) checking whether to force non-PIC code in shared modules... yes checking whether /dev/urandom exists... yes checking for pthreads_cflags... -pthread checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... yes checking for Apache 1.x module support... no checking whether to enable Apache charset compatibility option... no checking for member fd in BUFF *... yes checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... no checking for Apache 1.x (hooks) module support via DSO through APXS... no checking for Apache 1.x (hooks) module support... no checking whether to enable Apache charset compatibility option... no checking for Caudium support... no checking for CLI build... yes checking for Continuity support... no checking for embedded SAPI library support... no checking for Zeus ISAPI support... no checking for Milter support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web support... no checking whether Roxen module is build using ZTS... no checking for Roxen/Pike support... checking for thttpd... no checking for TUX... no checking for webjames... no checking for chosen SAPI module... apache Running system checks checking for sendmail... no checking whether system uses EBCDIC... no checking whether byte ordering is bigendian... no checking whether writing to stdout works... This is the test message -- yes checking for socket... yes checking for socketpair... yes checking for htonl... yes checking for gethostname... yes checking for gethostbyaddr... yes checking for yp_get_default_domain... no checking for __yp_get_default_domain... no checking for yp_get_default_domain in -lnsl... yes checking for dlopen... no checking for __dlopen... no checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for res_search... no checking for __res_search... no checking for res_search in -lresolv... yes checking for inet_aton... yes checking for dn_skipname... no checking for __dn_skipname... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for inttypes.h... yes checking for stdint.h... yes checking for dirent.h... yes checking for ApplicationServices/ApplicationServices.h... no checking for sys/param.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for netinet/in.h... yes checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for assert.h... yes checking for crypt.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for monetary.h... yes checking for mach-o/dyld.h... no checking for netdb.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sysexits.h... yes checking for sys/ioctl.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/poll.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/vfs.h... yes checking for sys/sysexits.h... no checking for sys/varargs.h... no checking for sys/wait.h... yes checking for sys/loadavg.h... no checking for termios.h... yes checking for unistd.h... yes checking for unix.h... no checking for utime.h... yes checking for sys/utsname.h... yes checking for sys/ipc.h... yes checking for dlfcn.h... yes checking for assert.h... (cached) yes checking for fopencookie... yes checking for broken getcwd... no checking for broken libc stdio... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking for missing declarations of reentrant functions... done checking for fclose declaration... ok checking for tm_gmtoff in struct tm... yes checking for struct flock... yes checking for socklen_t... yes checking size of size_t... 4 checking size of long long... 8 checking size of long long int... 8 checking size of long... 4 checking size of int... 4 checking size of intmax_t... 8 checking size of ssize_t... 4 checking size of ptrdiff_t... 4 checking for st_blksize in struct stat... yes checking for st_blocks in struct stat... yes checking for st_rdev in struct stat... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for struct sockaddr_storage... yes checking for field sa_len in struct sockaddr... no checking for IPv6 support... yes checking for vprintf... yes checking for alphasort... yes checking for asctime_r... yes checking for chroot... yes checking for ctime_r... yes checking for cuserid... yes checking for crypt... no checking for flock... yes checking for ftok... yes checking for funopen... no checking for gai_strerror... yes checking for gcvt... yes checking for getloadavg... yes checking for getlogin... yes checking for getprotobyname... yes checking for getprotobynumber... yes checking for getservbyname... yes checking for getservbyport... yes checking for getrusage... yes checking for gettimeofday... yes checking for gmtime_r... yes checking for getpwnam_r... yes checking for getgrnam_r... yes checking for getpwuid_r... yes checking for grantpt... yes checking for inet_ntoa... yes checking for inet_ntop... yes checking for inet_pton... yes checking for isascii... yes checking for link... yes checking for localtime_r... yes checking for lockf... yes checking for lchown... yes checking for lrand48... yes checking for memcpy... yes checking for memmove... yes checking for mkstemp... yes checking for mmap... yes checking for nl_langinfo... yes checking for perror... yes checking for poll... yes checking for ptsname... yes checking for putenv... yes checking for realpath... yes checking for random... yes checking for rand_r... yes checking for regcomp... yes checking for res_search... (cached) yes checking for scandir... yes checking for setitimer... yes checking for setlocale... yes checking for localeconv... yes checking for setenv... yes checking for setpgid... yes checking for setsockopt... yes checking for setvbuf... yes checking for shutdown... yes checking for sin... yes checking for snprintf... yes checking for srand48... yes checking for srandom... yes checking for statfs... yes checking for statvfs... yes checking for std_syslog... no checking for strcasecmp... yes checking for strcoll... yes checking for strdup... yes checking for strerror... yes checking for strftime... yes checking for strptime... yes checking for strstr... yes checking for strtok_r... yes checking for symlink... yes checking for tempnam... yes checking for tzset... yes checking for unlockpt... yes checking for unsetenv... yes checking for usleep... yes checking for nanosleep... yes checking for utime... yes checking for vsnprintf... yes checking for getaddrinfo... yes checking for strlcat... no checking for strlcpy... no checking for getopt... yes checking whether utime accepts a null argument... yes checking for working alloca.h... (cached) yes checking for alloca... yes checking for declared timezone... yes checking for type of reentrant time-related functions... POSIX checking for readdir_r... yes checking for type of readdir_r... POSIX checking for in_addr_t... yes checking for crypt_r... no General settings checking whether to include gcov symbols... no checking whether to include debugging symbols... no checking layout of installed files... PHP checking path to configuration file... DEFAULT checking where to scan for configuration files... checking whether to enable safe mode by default... no checking for safe mode exec dir... /usr/local/php/bin checking whether to enable PHP's own SIGCHLD handler... no checking whether to enable magic quotes by default... no checking whether to explicitly link against libgcc... no checking whether to enable short tags by default... yes checking whether to enable dmalloc... no checking whether to enable IPv6 support... yes checking how big to make fd sets... using system default Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... no checking for xml2-config path... /usr/local/bin/xml2-config checking whether libxml build works... yes checking for OpenSSL support... no checking for Kerberos support... no checking for PCRE support... yes checking for ZLIB support... no checking if the location of ZLIB install directory is defined... no checking whether to enable bc style precision math functions... no checking for BZip2 support... no checking whether to enable calendar conversion support... no checking whether to enable ctype functions... yes checking for cURL support... no checking if we should use cURL for url streams... no checking size of long... (cached) 4 checking size of int... (cached) 4 checking for int32_t... yes checking for uint32_t... yes checking for sys/types.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for strtoll... yes checking for atoll... yes checking for strftime... (cached) yes checking for QDBM support... no checking for GDBM support... no checking for NDBM support... no checking for Berkeley DB4 support... no checking for Berkeley DB3 support... no checking for Berkeley DB2 support... no checking for DB1 support... no checking for DBM support... no checking for CDB support... no checking for INI File support... no checking for FlatFile support... no checking whether to enable DBA interface... no checking whether to enable dbase support... no checking whether to enable DOM support... yes checking for xml2-config path... (cached) /usr/local/bin/xml2-config checking whether libxml build works... (cached) yes checking whether to enable EXIF (metadata from images) support... no checking for FrontBase SQL92 (fbsql) support... no checking for FDF support... no checking whether to enable input filter support... yes checking pcre install prefix... no checking whether to enable FTP support... no checking OpenSSL dir for FTP... no checking for GD support... no checking for the location of libjpeg... no checking for the location of libpng... no checking for the location of libXpm... no checking for FreeType 1.x support... no checking for FreeType 2... no checking for T1lib support... no checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... no checking for GNU gettext support... no checking for GNU MP support... no checking whether to enable hash support... yes checking whether byte ordering is bigendian... (cached) no checking size of short... 2 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking for iconv support... yes checking for iconv... yes checking if iconv is glibc's... yes checking if iconv supports errno... yes checking if your cpp allows macro usage in include lines... yes checking for IMAP support... no checking for IMAP Kerberos support... no checking for IMAP SSL support... no checking for InterBase support... no checking whether to enable JavaScript Object Serialization support... yes checking for ANSI C header files... (cached) yes checking for LDAP support... no checking for LDAP Cyrus SASL support... no checking whether to enable multibyte string support... no checking whether to enable multibyte regex support... yes checking whether to check multibyte regex backtrack... yes checking for external libmbfl... no checking for mcrypt support... no checking for mhash support... no checking whether to include mime_magic support... no checking for MING support... no checking for mSQL support... no checking for MSSQL support via FreeTDS... no checking for MySQL support... no checking for specified location of the MySQL UNIX socket... no checking for MySQLi support... yes checking whether to enable embedded MySQLi support... no checking for mysql_set_server_option in -lmysqlclient... no configure: error: wrong mysql library version or lib not found. Check config.log for more information.
в INSTALL пишет после этого выполнять make и make install, но ничего не выходит
Post #: 4
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 10:29:43.693333   
oRb

Сообщений: 4044
Оценки: 597
Присоединился: 2007-03-28 18:45:06.630000

quote:

ORIGINAL: *Useroff*

И вот эту строчу чтото я не понел
quote:

установил apache_1.3.37 c ключом

И что апач такой старый ставишь??
Уж 2.2.9 вышел:D

Это не старая версия, это стабильная версия первой ветки.
Post #: 5
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 10:31:37.820000   
*Useroff*

Сообщений: 56
Оценки: 0
Присоединился: 2008-07-02 19:59:26.446666
Проблемма в мускуле
Попробуй прописать адресс мускула
–with-mysqli=адресс
Помойму так
Или попробуй переустановить мускул
И config.log на стол
Post #: 6
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 10:36:12.306666   
t3rmin41

Сообщений: 245
Оценки: 0
Присоединился: 2007-11-12 14:06:01.393333
А куда mysql установился? Я просто запустил .deb пакет, там просто кнопка install package была, а куда он установился, непонятно
Post #: 7
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 10:37:11.663333   
*Useroff*

Сообщений: 56
Оценки: 0
Присоединился: 2008-07-02 19:59:26.446666
find / -name "mysql"
Должно найти
Кстати prefix=/// незабудь прописать а то тоже искать будешь:D
Post #: 8
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 10:40:56.010000   
t3rmin41

Сообщений: 245
Оценки: 0
Присоединился: 2007-11-12 14:06:01.393333
root@t3rmin41-laptop:/z-downloaded/unix-server/php-5.2.6# find /-name "mysql" find: /-name: No such file or directory find: mysql: No such file or directory
Post #: 9
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 10:42:48.200000   
*Useroff*

Сообщений: 56
Оценки: 0
Присоединился: 2008-07-02 19:59:26.446666
quote:

root@t3rmin41-laptop:/z-downloaded/unix-server/php-5.2.6# find /-name "mysql"
find: /-name: No such file or directory
find: mysql: No such file or directory

Хм..
Пробел забыл =))
Post #: 10
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 10:45:20.823333   
t3rmin41

Сообщений: 245
Оценки: 0
Присоединился: 2007-11-12 14:06:01.393333
Во, просит переустановить mysql. Ок, только какой ключ/опцию писать для ar? –prefix=path подойдёт?
Post #: 11
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 10:47:42.293333   
*Useroff*

Сообщений: 56
Оценки: 0
Присоединился: 2008-07-02 19:59:26.446666
quote:

Во, просит переустановить mysql. Ок, только какой ключ/опцию писать для ar? –prefix=path подойдёт?

Вот док по ar
http://ru.wikipedia.org/wiki/Ar
Post #: 12
RE: Не устанавливается php-5.2.6 на Ubuntu 7.10 - 2008-07-04 10:51:54.903333   
t3rmin41

Сообщений: 245
Оценки: 0
Присоединился: 2007-11-12 14:06:01.393333
И не нашёл там, как указать, в какую директорию разархивировать

UPDATE:

переустановил, всё равно просит переустановить mysql

в config.log пишет

This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:2153: checking for Cygwin environment configure:2169: cc -c conftest.c 1&gt;&5 configure: In function 'main': configure:2165: error: '__CYGWIN32__' undeclared (first use in this function) configure:2165: error: (Each undeclared identifier is reported only once configure:2165: error: for each function it appears in.) configure: failed program was: #line 2158 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:2186: checking for mingw32 environment configure:2198: cc -c conftest.c 1&gt;&5 configure: In function 'main': configure:2194: error: '__MINGW32__' undeclared (first use in this function) configure:2194: error: (Each undeclared identifier is reported only once configure:2194: error: for each function it appears in.) configure: failed program was: #line 2191 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:2217: checking for egrep configure:2232: checking for a sed that does not truncate output configure:2382: checking host system type configure:2403: checking target system type configure:2515: checking for gcc configure:2628: checking whether the C compiler (gcc ) works configure:2644: gcc -o conftest conftest.c 1&gt;&5 configure:2670: checking whether the C compiler (gcc ) is a cross-compiler configure:2675: checking whether we are using GNU C configure:2684: gcc -E conftest.c configure:2703: checking whether gcc accepts -g configure:2735: checking how to run the C preprocessor configure:2756: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:2817: checking for icc configure:2839: checking whether gcc and cc understand -c and -o together configure:2854: gcc -c conftest.c -o conftest.o 1&gt;&5 configure:2855: gcc -c conftest.c -o conftest.o 1&gt;&5 configure:2860: cc -c conftest.c 1&gt;&5 configure:2862: cc -c conftest.c -o conftest.o 1&gt;&5 configure:2863: cc -c conftest.c -o conftest.o 1&gt;&5 configure:2890: checking how to run the C preprocessor configure:2970: checking for AIX configure:2994: checking whether ln -s works configure:3019: checking for system library directory configure:3045: checking whether to enable runpaths configure:3069: checking if compiler supports -R configure:3084: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1&gt;&5 gcc: unrecognized option '-R' /usr/bin/ld: /usr/lib: No such file: File format not recognized collect2: ld returned 1 exit status configure: failed program was: #line 3077 "configure" #include "confdefs.h" int main() { ; return 0; } configure:3102: checking if compiler supports -Wl,-rpath, configure:3117: gcc -o conftest -g -O2 conftest.c -Wl,-rpath,/usr/lib 1&gt;&5 configure:3146: checking for re2c configure:3206: checking for gawk configure:3206: checking for nawk configure:3247: checking if nawk is broken configure:3266: checking for bison configure:3266: checking for byacc configure:3306: checking for bison version configure:3346: checking for flex configure:3380: checking for yywrap in -ll configure:3399: gcc -o conftest -g -O2 conftest.c -ll 1&gt;&5 /usr/bin/ld: cannot find -ll collect2: ld returned 1 exit status configure: failed program was: #line 3388 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char yywrap(); int main() { yywrap() ; return 0; } configure:3487: checking for working const configure:3541: gcc -c -g -O2 conftest.c 1&gt;&5 configure:3831: checking whether to force non-PIC code in shared modules configure:3859: checking whether /dev/urandom exists configure:3938: gcc -o conftest -g -O2 conftest.c 1&gt;&5 /tmp/cc4jklfB.o: In function `main': /z-downloaded/unix-server/php-5.2.6/configure:3933: undefined reference to `pthread_mutexattr_init' /z-downloaded/unix-server/php-5.2.6/configure:3934: undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 3920 "configure" #include "confdefs.h" #include &lt;pthread.h&gt; #include &lt;stddef.h&gt; void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:3958: checking for pthreads_cflags configure:3998: gcc -o conftest -g -O2 -kthread conftest.c 1&gt;&5 gcc: unrecognized option '-kthread' /tmp/ccMfDH9J.o: In function `main': /z-downloaded/unix-server/php-5.2.6/configure:3993: undefined reference to `pthread_mutexattr_init' /z-downloaded/unix-server/php-5.2.6/configure:3994: undefined reference to `pthread_create' collect2: ld returned 1 exit status configure: failed program was: #line 3980 "configure" #include "confdefs.h" #include &lt;pthread.h&gt; #include &lt;stddef.h&gt; void *thread_routine(void *data) { return data; } int main() { pthread_t thd; pthread_mutexattr_t mattr; int data = 1; pthread_mutexattr_init(&mattr); return pthread_create(&thd, NULL, thread_routine, &data); } configure:3998: gcc -o conftest -g -O2 -pthread conftest.c 1&gt;&5 configure:4028: checking for pthreads_lib configure:4202: checking for AOLserver support configure:4459: checking for Apache 1.x module support via DSO through APXS configure:4782: checking for Apache 1.x module support configure:5615: checking whether to enable Apache charset compatibility option configure:5693: checking for member fd in BUFF * configure:5712: gcc -c -g -O2 -I/www/include conftest.c 1&gt;&5 configure:5788: checking for Apache 2.0 filter-module support via DSO through APXS configure:6636: checking for Apache 2.0 handler-module support via DSO through APXS configure:7485: checking for Apache 1.x (hooks) module support via DSO through APXS configure:7808: checking for Apache 1.x (hooks) module support configure:8641: checking whether to enable Apache charset compatibility option configure:8815: checking for Caudium support configure:9166: checking for CLI build configure:9212: checking for Continuity support configure:9489: checking for embedded SAPI library support configure:9706: checking for Zeus ISAPI support configure:9955: checking for Milter support configure:10239: checking for NSAPI support configure:10591: checking for PHTTPD support configure:10837: checking for Pi3Web support configure:11204: checking whether Roxen module is build using ZTS configure:11228: checking for Roxen/Pike support configure:11506: checking for thttpd configure:11767: checking for TUX configure:12013: checking for webjames configure:12641: checking for chosen SAPI module configure:12699: checking for sendmail configure:12738: checking whether system uses EBCDIC configure:12757: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure: failed program was: #line 12749 "configure" #include "confdefs.h" int main(void) { return (unsigned char)'A' != (unsigned char)0xC1; } configure:12785: checking whether byte ordering is bigendian configure:12811: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure: failed program was: #line 12795 "configure" #include "confdefs.h" int main(void) { short one = 1; char *cp = (char *)&one; if (*cp == 0) { return(0); } else { return(1); } } configure:12837: checking whether writing to stdout works configure:12866: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure:12941: checking for socket configure:12969: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure:13198: checking for socketpair configure:13226: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure:13455: checking for htonl configure:13483: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure:13712: checking for gethostname configure:13740: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure:13969: checking for gethostbyaddr configure:13997: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure:14226: checking for yp_get_default_domain configure:14254: gcc -o conftest -g -O2 conftest.c 1&gt;&5 /tmp/ccgg4aWD.o: In function `main': /z-downloaded/unix-server/php-5.2.6/configure:14248: undefined reference to `yp_get_default_domain' collect2: ld returned 1 exit status configure: failed program was: #line 14231 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char yp_get_default_domain(); below. */ #include &lt;assert.h&gt; /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char yp_get_default_domain(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_yp_get_default_domain) || defined (__stub___yp_get_default_domain) choke me #else yp_get_default_domain(); #endif ; return 0; } configure:14272: checking for __yp_get_default_domain configure:14300: gcc -o conftest -g -O2 conftest.c 1&gt;&5 /tmp/cckWbStN.o: In function `main': /z-downloaded/unix-server/php-5.2.6/configure:14294: undefined reference to `__yp_get_default_domain' collect2: ld returned 1 exit status configure: failed program was: #line 14277 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __yp_get_default_domain(); below. */ #include &lt;assert.h&gt; /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __yp_get_default_domain(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___yp_get_default_domain) || defined (__stub_____yp_get_default_domain) choke me #else __yp_get_default_domain(); #endif ; return 0; } configure:14338: checking for yp_get_default_domain in -lnsl configure:14357: gcc -o conftest -g -O2 conftest.c -lnsl 1&gt;&5 configure:14432: gcc -o conftest -g -O2 conftest.c -lnsl 1&gt;&5 configure:14484: checking for dlopen configure:14512: gcc -o conftest -g -O2 conftest.c -lnsl 1&gt;&5 /tmp/cceh4Yzf.o: In function `main': /z-downloaded/unix-server/php-5.2.6/configure:14506: undefined reference to `dlopen' collect2: ld returned 1 exit status configure: failed program was: #line 14489 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen(); below. */ #include &lt;assert.h&gt; /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else dlopen(); #endif ; return 0; } configure:14530: checking for __dlopen configure:14558: gcc -o conftest -g -O2 conftest.c -lnsl 1&gt;&5 /tmp/cckQHQWn.o: In function `main': /z-downloaded/unix-server/php-5.2.6/configure:14552: undefined reference to `__dlopen' collect2: ld returned 1 exit status configure: failed program was: #line 14535 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __dlopen(); below. */ #include &lt;assert.h&gt; /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __dlopen(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___dlopen) || defined (__stub_____dlopen) choke me #else __dlopen(); #endif ; return 0; } configure:14596: checking for dlopen in -ldl configure:14615: gcc -o conftest -g -O2 conftest.c -ldl -lnsl 1&gt;&5 configure:14690: gcc -o conftest -g -O2 conftest.c -lnsl -ldl 1&gt;&5 configure:14742: checking for sin in -lm configure:14761: gcc -o conftest -g -O2 conftest.c -lm -ldl -lnsl 1&gt;&5 configure:14754: warning: conflicting types for built-in function 'sin' configure:14795: checking for res_search configure:14823: gcc -o conftest -g -O2 conftest.c -lm -ldl -lnsl 1&gt;&5 /tmp/ccWWAUNJ.o: In function `main': /z-downloaded/unix-server/php-5.2.6/configure:14817: undefined reference to `res_search' collect2: ld returned 1 exit status configure: failed program was: #line 14800 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char res_search(); below. */ #include &lt;assert.h&gt; /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char res_search(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_res_search) || defined (__stub___res_search) choke me #else res_search(); #endif ; return 0; } configure:14841: checking for __res_search configure:14869: gcc -o conftest -g -O2 conftest.c -lm -ldl -lnsl 1&gt;&5 /tmp/ccM75ssU.o: In function `main': /z-downloaded/unix-server/php-5.2.6/configure:14863: undefined reference to `__res_search' collect2: ld returned 1 exit status configure: failed program was: #line 14846 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __res_search(); below. */ #include &lt;assert.h&gt; /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __res_search(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___res_search) || defined (__stub_____res_search) choke me #else __res_search(); #endif ; return 0; } configure:14907: checking for res_search in -lresolv configure:14926: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:15001: gcc -o conftest -g -O2 conftest.c -lm -ldl -lnsl -lresolv 1&gt;&5 configure:15331: checking for inet_aton configure:15359: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:15727: checking for dn_skipname configure:15755: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 /tmp/ccy6D0TB.o: In function `main': /z-downloaded/unix-server/php-5.2.6/configure:15749: undefined reference to `dn_skipname' collect2: ld returned 1 exit status configure: failed program was: #line 15732 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dn_skipname(); below. */ #include &lt;assert.h&gt; /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dn_skipname(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_dn_skipname) || defined (__stub___dn_skipname) choke me #else dn_skipname(); #endif ; return 0; } configure:15773: checking for __dn_skipname configure:15801: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:16121: checking for ANSI C header files configure:16134: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16201: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure: In function 'main': configure:16196: warning: incompatible implicit declaration of built-in function 'exit' configure:16229: checking for dirent.h that defines DIR configure:16242: gcc -c -g -O2 conftest.c 1&gt;&5 configure:16267: checking for opendir in -ldir configure:16286: gcc -o conftest -g -O2 conftest.c -ldir -lresolv -lm -ldl -lnsl 1&gt;&5 /usr/bin/ld: cannot find -ldir collect2: ld returned 1 exit status configure: failed program was: #line 16275 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir(); int main() { opendir() ; return 0; } configure:16409: checking for inttypes.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for stdint.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for dirent.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for ApplicationServices/ApplicationServices.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16415:53: error: ApplicationServices/ApplicationServices.h: No such file or directory configure: failed program was: #line 16414 "configure" #include "confdefs.h" #include &lt;ApplicationServices/ApplicationServices.h&gt; configure:16409: checking for sys/param.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/types.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/time.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for netinet/in.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for alloca.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for arpa/inet.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for arpa/nameser.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for assert.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for crypt.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for fcntl.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for grp.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for ieeefp.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16415:20: error: ieeefp.h: No such file or directory configure: failed program was: #line 16414 "configure" #include "confdefs.h" #include &lt;ieeefp.h&gt; configure:16409: checking for langinfo.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for limits.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for locale.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for monetary.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for mach-o/dyld.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16415:25: error: mach-o/dyld.h: No such file or directory configure: failed program was: #line 16414 "configure" #include "confdefs.h" #include &lt;mach-o/dyld.h&gt; configure:16409: checking for netdb.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for pwd.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for resolv.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for signal.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for stdarg.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for stdlib.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for string.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for syslog.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sysexits.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/ioctl.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/file.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/mman.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/mount.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/poll.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/resource.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/select.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/socket.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/stat.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/statfs.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/statvfs.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/vfs.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/sysexits.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16415:26: error: sys/sysexits.h: No such file or directory configure: failed program was: #line 16414 "configure" #include "confdefs.h" #include &lt;sys/sysexits.h&gt; configure:16409: checking for sys/varargs.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16415:25: error: sys/varargs.h: No such file or directory configure: failed program was: #line 16414 "configure" #include "confdefs.h" #include &lt;sys/varargs.h&gt; configure:16409: checking for sys/wait.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/loadavg.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16415:25: error: sys/loadavg.h: No such file or directory configure: failed program was: #line 16414 "configure" #include "confdefs.h" #include &lt;sys/loadavg.h&gt; configure:16409: checking for termios.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for unistd.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for unix.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16415:18: error: unix.h: No such file or directory configure: failed program was: #line 16414 "configure" #include "confdefs.h" #include &lt;unix.h&gt; configure:16409: checking for utime.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/utsname.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for sys/ipc.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for dlfcn.h configure:16419: gcc -E conftest.c &gt;/dev/null 2&gt;conftest.out configure:16409: checking for assert.h configure:16448: checking for fopencookie configure:16476: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:16508: gcc -c -g -O2 conftest.c 1&gt;&5 configure:16559: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure: In function 'main': configure:16552: warning: incompatible implicit declaration of built-in function 'exit' configure:16623: checking for broken getcwd configure:16638: checking for broken libc stdio configure:16699: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure: In function 'main': configure:16683: warning: incompatible implicit declaration of built-in function 'exit' configure: failed program was: #line 16671 "configure" #include "confdefs.h" #include &lt;stdio.h&gt; int main(int argc, char *argv[]) { FILE *fp; long position; char *filename = "/tmp/phpglibccheck"; fp = fopen(filename, "w"); if (fp == NULL) { perror("fopen"); exit(2); } fputs("foobar", fp); fclose(fp); fp = fopen(filename, "a+"); position = ftell(fp); fclose(fp); unlink(filename); if (position == 0) return 1; return 0; } configure:16727: checking whether struct tm is in sys/time.h or time.h configure:16740: gcc -c -g -O2 conftest.c 1&gt;&5 configure:16761: checking for tm_zone in struct tm configure:16774: gcc -c -g -O2 conftest.c 1&gt;&5 configure:16833: checking for missing declarations of reentrant functions configure:16842: gcc -c -g -O2 conftest.c 1&gt;&5 configure:16867: gcc -c -g -O2 conftest.c 1&gt;&5 configure:16892: gcc -c -g -O2 conftest.c 1&gt;&5 configure:16917: gcc -c -g -O2 conftest.c 1&gt;&5 configure:16942: gcc -c -g -O2 conftest.c 1&gt;&5 configure:16963: checking for fclose declaration configure:16972: gcc -c -g -O2 conftest.c 1&gt;&5 configure:16998: checking for tm_gmtoff in struct tm configure:17011: gcc -c -g -O2 conftest.c 1&gt;&5 configure:17034: checking for struct flock configure:17049: gcc -c -g -O2 conftest.c 1&gt;&5 configure:17076: checking for socklen_t configure:17093: gcc -c -g -O2 conftest.c 1&gt;&5 configure:17119: checking size of size_t configure:17138: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:17158: checking size of long long configure:17177: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:17197: checking size of long long int configure:17216: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:17236: checking size of long configure:17255: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:17275: checking size of int configure:17294: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:17316: checking size of intmax_t configure:17357: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure:17396: checking size of ssize_t configure:17437: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure:17476: checking size of ptrdiff_t configure:17517: gcc -o conftest -g -O2 conftest.c 1&gt;&5 configure:17556: checking for st_blksize in struct stat configure:17569: gcc -c -g -O2 conftest.c 1&gt;&5 configure:17591: checking for st_blocks in struct stat configure:17604: gcc -c -g -O2 conftest.c 1&gt;&5 configure:17631: checking for st_rdev in struct stat configure:17644: gcc -c -g -O2 conftest.c 1&gt;&5 configure:17666: checking for size_t configure:17699: checking for uid_t in sys/types.h configure:17735: checking for struct sockaddr_storage configure:17748: gcc -c -g -O2 conftest.c 1&gt;&5 configure:17769: checking for field sa_len in struct sockaddr configure:17783: gcc -c -g -O2 conftest.c 1&gt;&5 configure: In function 'main': configure:17779: error: 'struct sockaddr' has no member named 'sa_len' configure: failed program was: #line 17775 "configure" #include "confdefs.h" #include &lt;sys/types.h&gt; #include &lt;sys/socket.h&gt; int main() { static struct sockaddr sa; int n = (int) sa.sa_len; return n; ; return 0; } configure:17806: checking for IPv6 support configure:17820: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:17836: checking for vprintf configure:17864: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:17848: warning: conflicting types for built-in function 'vprintf' configure:18023: checking for alphasort configure:18051: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:18023: checking for asctime_r configure:18051: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:18023: checking for chroot configure:18051: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:18023: checking for ctime_r configure:18051: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:18023: checking for cuserid configure:18051: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 configure:18023: checking for crypt configure:18051: gcc -o conftest -g -O2 conftest.c -lresolv -lm -ldl -lnsl 1&gt;&5 /tmp/ccUxiD8j.o: In function `main': /z-downloaded/unix-server/php-5.2.6/configure:18045: undefined reference to `crypt' collect2: ld returned 1 exit status configure: failed program was: #line 18028 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char crypt(); below. */ #include &lt;assert.h&gt; /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char crypt(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actual
Post #: 13
Страниц:  [1]
Все форумы >> [*nix/Linux] >> Не устанавливается php-5.2.6 на Ubuntu 7.10







Связаться:
Вопросы по сайту / xakep@glc.ru

Предупреждение: использование полученных знаний в противозаконных целях преследуется по закону.