злое%;№"чий php.как в нём дебаггер поставить?
Зенд Студио.
поставил какое-то zend framework.
как его юзать?
или это не то совсем?
сложно.
боюсь я это не осилю.
ещё NuSphere PHPed умеет
Тебе же всё сказали - pecl install apd. PECL и PEAR - это разные вещи, если ч0.
блин.
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/usr/local/bin/zsh /var/tmp/pear-build-root/apd-1.0.1/libtool --mode=compile gcc -I. -I/tmp/download/apd-1.0.1 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/apd-1.0.1/include -I/var/tmp/pear-build-root/apd-1.0.1/main -I/tmp/download/apd-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/download/apd-1.0.1/php_apd.c -o php_apd.lo
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
/var/tmp/pear-build-root/apd-1.0.1/libtool:1: no such file or directory: /usr/bin/sed -e 1s/^X//
libtool: compile: cannot determine name of library object from `'
*** Error code 1
Stop in /var/tmp/pear-build-root/apd-1.0.1.
ERROR: `make' failed
У тебя нет sed?
есть. и располагается там же. /usr/bin/sed
#! /usr/local/bin/zsh
# libtoolT - Provide generalized library-building support services.
# Generated automatically by (GNU )
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
#
# This file is part of GNU Libtool:
# Originally by Gordon Matzigkeit <gnu.ai.mit.edu>, 1996
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# A sed program that does not truncate output.
SED="/usr/bin/sed"
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
Xsed="/usr/bin/sed -e 1s/^X//"
# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
# The names of the tagged configurations supported by this script.
available_tags=""
# ### BEGIN LIBTOOL CONFIG
# Libtool was configured on host prettysin.info:
# Shell to use when invoking shell scripts.
SHELL="/usr/local/bin/zsh"
# Whether or not to build shared libraries.
build_libtool_libs=yes
# Whether or not to build static libraries.
build_old_libs=no
# Whether or not to add -lc for building shared libraries.
build_libtool_need_lc=yes
# Whether or not to disallow shared libs when runtime libs are static
allow_libtool_libs_with_static_runtimes=no
# Whether or not to optimize for fast installation.
fast_install=yes
# The host system.
host_alias=i386-unknown-freebsd6.2
host=i386-unknown-freebsd6.2
host_os=freebsd6.2
это в libtool находится.
что ему может не нравиться в 1 строке?
там при configure
running: /tmp/download/apd-1.0.1/configureкакой ему шел нужен?
as_func_failure succeeded.
as_func_failure succeeded.
No shell found that supports shell functions.
Please tell gnu.org about your system,
including any error possibly output before this
export CONFIG_SHELL=/bin/sh
и оно собралось..
уряя.
всем спасибо
вначале написал
apd_set_pprof_trace('/usr/local/www/htdocs/dump');
а на вызов apd_callstack ругается.
Call to undefined function apd_callstack
делал, как тут написано.
http://ru2.php.net/manual/en/ref.apd.php
в php.ini дописал(пути реальные)
zend_extension = /absolute/path/to/apd.so
apd.dumpdir = /absolute/path/to/trace/directory
apd.statement_tracing = 0
ставится через PECL
спасибо огромное. вот это работает так как я себе и представлял.
Оставить комментарий
Phoenix
нашёл это:http://ru2.php.net/manual/en/ref.apd.php
нужно поставить как-то расширение.
кому-нибудь удавалось это сделать? тачка freebsd.
13 prettysin ...devel/pear-apd(0/2)# portinstall devel/pear-apd
[Gathering depends for devel/pear-apd ........................................ done]
** Port marked as IGNORE: devel/pear-apd:
is marked as broken: Incomplete pkg-plist
26 prettysin ...devel/pear(0/2)# pear install apd
No releases available for package "pear.php.net/apd" - package pecl/apd can be installed with "pecl install apd"
Cannot initialize 'channel://pear.php.net/apd', invalid or missing package file
Package "channel://pear.php.net/apd" is not valid
install failed
может есть какие-нибудь другие?
нужно посмотреть откуда вызывается функция, а лучше весь стек вызовов