| Summary: | Fail to emerge mod_php at install stage | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | LuisMi Garcia <ktecho> |
| Component: | [OLD] Server | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | critical | CC: | ktecho |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
LuisMi Garcia
2004-04-19 19:23:29 UTC
attach to the hung process with ptrace and post what it's up to. I don't know how to do that. Please, give me a tip. I CAN emerge 4.3.4. This is the first version I can emerge. 4.3.5 and 4.3.6 have different install methods (the lines that begins with [PEAR]) and I cannot emerge them. No, sorry. Only mod_php 4.3.4 emerged. php 4.3.4 fails with the same:
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
>>> Install php-4.3.4-r4 into /var/tmp/portage/php-4.3.4-r4/image/ category dev-php
Installing shared extensions: /var/tmp/portage/php-4.3.4-r4/image//usr/lib/php/extensions/no-debug-non-zts-20020429/
Installing helper programs: /var/tmp/portage/php-4.3.4-r4/image//usr/bin/
program: phpize
program: php-config
program: phpextdist
make: `install-modules' is up to date.
make: `install-programs' is up to date.
make: `install-modules' is up to date.
make: `install-programs' is up to date.
make: `install-modules' is up to date.
make: `install-programs' is up to date.
Installing PHP CLI binary: /var/tmp/portage/php-4.3.4-r4/image//usr/bin/
Installing PHP CLI man page: /var/tmp/portage/php-4.3.4-r4/image//usr/share/man/man1/
make: `install-programs' is up to date.
Installing PEAR environment: /var/tmp/portage/php-4.3.4-r4/image//usr/lib/php/
[PEAR] Archive_Tar - installed: 1.1
[PEAR] Console_Getopt - installed: 1.0
[PEAR] PEAR - installed: 1.3b3
Wrote PEAR system config file at: /var/tmp/portage/php-4.3.4-r4/image///etc/pear.conf
You may want to add: /usr/lib/php to your php.ini include_path
[PEAR] DB - installed: 1.5.0RC2
[PEAR] HTTP - installed: 1.2.1
[PEAR] Mail - installed: 1.1.1
[PEAR] Net_SMTP - installed: 1.2.3
and then stops there. Sometimes I can Ctrl+c a few times and I can see the shell. Other times the computer starts locking.
once it locks up, open a new shell, run ps, get the PID of the process that is hung, and do 'strace -p 25469' (you may need to emerge strace first). emerge mod_php
----------------------------------------------------------------------
Libraries have been installed in:
/var/tmp/portage/mod_php-4.3.6_rc2/work/php-4.3.6RC2/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/lib/libcom_err.a(error.o)(.text+0x0): In function `com_right':
: multiple definition of `com_right'
/usr/lib/libkrb5.a(error.o)(.text+0x0): first defined here
/usr/lib/libcom_err.a(error.o)(.text+0x40): In function `initialize_error_table_r':
: multiple definition of `initialize_error_table_r'
/usr/lib/libkrb5.a(error.o)(.text+0x40): first defined here
/usr/lib/libcom_err.a(error.o)(.text+0xb0): In function `free_error_table':
: multiple definition of `free_error_table'
/usr/lib/libkrb5.a(error.o)(.text+0xb0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.bss+0x0): multiple definition of `_et_list'
/usr/lib/libkrb5.a(com_err.o)(.bss+0x0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x0): In function `com_err':
: multiple definition of `com_err'
/usr/lib/libkrb5.a(com_err.o)(.text+0x0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x30): In function `error_message':
: multiple definition of `error_message'
/usr/lib/libkrb5.a(com_err.o)(.text+0x30): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0xe0): In function `init_error_table':
: multiple definition of `init_error_table'
/usr/lib/libkrb5.a(com_err.o)(.text+0xe0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x110): In function `com_err_va':
: multiple definition of `com_err_va'
/usr/lib/libkrb5.a(com_err.o)(.text+0x110): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x140): In function `set_com_err_hook':
: multiple definition of `set_com_err_hook'
/usr/lib/libkrb5.a(com_err.o)(.text+0x140): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x160): In function `reset_com_err_hook':
: multiple definition of `reset_com_err_hook'
/usr/lib/libkrb5.a(com_err.o)(.text+0x160): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x180): In function `error_table_name':
: multiple definition of `error_table_name'
/usr/lib/libkrb5.a(com_err.o)(.text+0x180): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x1d0): In function `add_to_error_table':
: multiple definition of `add_to_error_table'
/usr/lib/libkrb5.a(com_err.o)(.text+0x1d0): first defined here
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
!!! ERROR: dev-php/mod_php-4.3.6_rc2 failed.
!!! Function php-sapi_src_compile, Line 481, Exitcode 2
!!! compile problem
USE="-kerberos" solves this problem.
|