Re: [PHP-DEV] no debugging symbols found

2002-01-31 Thread David Eriksson

On Wed, 30 Jan 2002, J S wrote:

 
 
 Hi,
 
 I want to debug a problem I'm getting in Apache with libphp4.so, but when I 
 run gdb httpd, I get a bunch of messages saying:
 
 no debugging symbols found
 
 Does anyone here know what I need to do to fix this?

Yes :-)

Do something like this when you build Apache:

export EXTRA_CFLAGS=-g
./configure --prefix=$PREFIX --enable-module=so
make all install

\David


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] no debugging symbols found

2002-01-31 Thread J S

I tried that and it didn't make any difference.

JS


From: David Eriksson [EMAIL PROTECTED]
To: J S [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] no debugging symbols found
Date: Thu, 31 Jan 2002 10:00:19 +0100 (CET)
MIME-Version: 1.0
Received: from [194.47.142.175] by hotmail.com (3.2) with ESMTP id 
MHotMailBE2252F1004E400431D0C22F8EAF09420; Thu, 31 Jan 2002 01:01:39 -0800
Received: from natty.rsn.bth.se (localhost [127.0.0.1])by natty.rsn.bth.se 
(8.12.1/8.12.1/Debian -5) with ESMTP id g0V90JTc007034;Thu, 31 Jan 2002 
10:00:19 +0100
Received: from localhost (david@localhost)by natty.rsn.bth.se 
(8.12.1/8.12.1/Debian -5) with ESMTP id g0V90JeP007030;Thu, 31 Jan 2002 
10:00:19 +0100
From [EMAIL PROTECTED] Thu, 31 Jan 2002 01:02:59 -0800
X-Authentication-Warning: natty.rsn.bth.se: david owned process doing -bs
X-Sender: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
X-RAVMilter-Version: 8.3.0(snapshot 20010925) (natty.rsn.bth.se)

On Wed, 30 Jan 2002, J S wrote:

 
 
  Hi,
 
  I want to debug a problem I'm getting in Apache with libphp4.so, but 
when I
  run gdb httpd, I get a bunch of messages saying:
 
  no debugging symbols found
 
  Does anyone here know what I need to do to fix this?

Yes :-)

Do something like this when you build Apache:

export EXTRA_CFLAGS=-g
./configure --prefix=$PREFIX --enable-module=so
make all install

\David





_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] no debugging symbols found

2002-01-31 Thread Edin Kadribasic

 Do something like this when you build Apache:
 
 export EXTRA_CFLAGS=-g
 ./configure --prefix=$PREFIX --enable-module=so
 make all install

 I tried that and it didn't make any difference.

Don't do make install since it will strip the binary. Manually copy
src/httpd to your apache/bin directory or run apache directly from the src
dir.

Edin


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] no debugging symbols found

2002-01-31 Thread J S


Nope. I tried that as well. Did a make clean in the apache directory, ran 
make again, then went into src and did a gdb httpd. Still no debugging 
symbols though.

$ gdb httpd
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as powerpc-ibm-aix4.3.2.0...
(no debugging symbols found)...
(gdb) run -X
Starting program: /home/apache/apache_1.3.22/src/httpd -X
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...fopen: The 
file access permissions do not allow the specified action.
httpd: could not open error log file /opt/apache/logs/error_log.

Program exited with code 01.
(gdb)


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] no debugging symbols found

2002-01-30 Thread Markus Fischer

On Wed, Jan 30, 2002 at 12:59:42PM +, J S wrote : 
 I want to debug a problem I'm getting in Apache with libphp4.so, but when I 
 run gdb httpd, I get a bunch of messages saying:
 
 no debugging symbols found
 
 Does anyone here know what I need to do to fix this?

Add --enable-debug to your php4 configure line. You may,
however, still see those messages for apache itself.

-- 
Please always Cc to me when replying to me on the lists.

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] no debugging symbols found

2002-01-30 Thread J S

Thanks. I have actually done that already. But these messages seem to be 
coming from apache. I know what you're going to say... try their mailing 
list then but I have already and had no reply back. I just thought I'd try 
here as the problem is definitely with libphp4.so (on AIX).



From: Markus Fischer [EMAIL PROTECTED]
To: J S [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] no debugging symbols found
Date: Wed, 30 Jan 2002 14:21:50 +0100
MIME-Version: 1.0
Received: from [216.92.131.4] by hotmail.com (3.2) with ESMTP id 
MHotMailBE213CB2008140043896D85C8304426E0; Wed, 30 Jan 2002 05:14:26 -0800
Received: (qmail 35577 invoked by uid 1010); 30 Jan 2002 13:14:25 -
Received: (qmail 35559 invoked from network); 30 Jan 2002 13:14:24 -
From php-dev-return-78554-vervoom Wed, 30 Jan 2002 05:15:45 -0800
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
list-help: mailto:[EMAIL PROTECTED]
list-unsubscribe: mailto:[EMAIL PROTECTED]
list-post: mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
User-Agent: Mutt/1.3.24i
X-Editor: Vim  http://www.vim.org/
X-Url: http://guru.josefine.at/~mfischer/
X-PGP-Key: 0xC2272BD0 at pgp.ai.mit.edu
X-PGP-Fingerprint: D3B0 DD4F E12B F911 3CE1  C2B5 D674 B445 C227 2BD0

On Wed, Jan 30, 2002 at 12:59:42PM +, J S wrote :
  I want to debug a problem I'm getting in Apache with libphp4.so, but 
when I
  run gdb httpd, I get a bunch of messages saying:
 
  no debugging symbols found
 
  Does anyone here know what I need to do to fix this?

 Add --enable-debug to your php4 configure line. You may,
 however, still see those messages for apache itself.

--
Please always Cc to me when replying to me on the lists.

--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] no debugging symbols found

2002-01-30 Thread derick

On Wed, 30 Jan 2002, J S wrote:

 Thanks. I have actually done that already. But these messages seem to be
 coming from apache. I know what you're going to say... try their mailing
 list then but I have already and had no reply back. I just thought I'd try
 here as the problem is definitely with libphp4.so (on AIX).

Do you use a stripped binary? (make install strips apache afaik) Try the
one from your source dir /path/to/apache_src/src/httpd.

regards,
Derick




 From: Markus Fischer [EMAIL PROTECTED]
 To: J S [EMAIL PROTECTED]
 CC: [EMAIL PROTECTED]
 Subject: Re: [PHP-DEV] no debugging symbols found
 Date: Wed, 30 Jan 2002 14:21:50 +0100
 MIME-Version: 1.0
 Received: from [216.92.131.4] by hotmail.com (3.2) with ESMTP id
 MHotMailBE213CB2008140043896D85C8304426E0; Wed, 30 Jan 2002 05:14:26 -0800
 Received: (qmail 35577 invoked by uid 1010); 30 Jan 2002 13:14:25 -
 Received: (qmail 35559 invoked from network); 30 Jan 2002 13:14:24 -
 From php-dev-return-78554-vervoom Wed, 30 Jan 2002 05:15:45 -0800
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 Precedence: bulk
 list-help: mailto:[EMAIL PROTECTED]
 list-unsubscribe: mailto:[EMAIL PROTECTED]
 list-post: mailto:[EMAIL PROTECTED]
 Delivered-To: mailing list [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 References: [EMAIL PROTECTED]
 In-Reply-To: [EMAIL PROTECTED]
 User-Agent: Mutt/1.3.24i
 X-Editor: Vim  http://www.vim.org/
 X-Url: http://guru.josefine.at/~mfischer/
 X-PGP-Key: 0xC2272BD0 at pgp.ai.mit.edu
 X-PGP-Fingerprint: D3B0 DD4F E12B F911 3CE1  C2B5 D674 B445 C227 2BD0
 
 On Wed, Jan 30, 2002 at 12:59:42PM +, J S wrote :
   I want to debug a problem I'm getting in Apache with libphp4.so, but
 when I
   run gdb httpd, I get a bunch of messages saying:
  
   no debugging symbols found
  
   Does anyone here know what I need to do to fix this?
 
  Add --enable-debug to your php4 configure line. You may,
  however, still see those messages for apache itself.
 
 --
 Please always Cc to me when replying to me on the lists.
 
 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 




 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] no debugging symbols found

2002-01-30 Thread J S

Thanks. Just tried that but it does the same.


From: [EMAIL PROTECTED]
To: J S [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] no debugging symbols found
Date: Wed, 30 Jan 2002 14:49:40 +0100 (CET)
MIME-Version: 1.0
Received: from [212.204.192.51] by hotmail.com (3.2) with ESMTP id 
MHotMailBE21460F007D40043796D4CCC033EE400; Wed, 30 Jan 2002 05:54:24 -0800
Received: from jdi.jdimedia.nl (jdi.jdimedia.nl [212.204.192.51])by 
jdi.jdimedia.nl (8.12.1/8.12.1) with ESMTP id g0UDne6D025538;Wed, 30 Jan 
2002 14:49:40 +0100
From [EMAIL PROTECTED] Wed, 30 Jan 2002 05:56:18 -0800
X-X-Sender:  [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]

On Wed, 30 Jan 2002, J S wrote:

  Thanks. I have actually done that already. But these messages seem to be
  coming from apache. I know what you're going to say... try their mailing
  list then but I have already and had no reply back. I just thought I'd 
try
  here as the problem is definitely with libphp4.so (on AIX).

Do you use a stripped binary? (make install strips apache afaik) Try the
one from your source dir /path/to/apache_src/src/httpd.

regards,
Derick

 
 
 
  From: Markus Fischer [EMAIL PROTECTED]
  To: J S [EMAIL PROTECTED]
  CC: [EMAIL PROTECTED]
  Subject: Re: [PHP-DEV] no debugging symbols found
  Date: Wed, 30 Jan 2002 14:21:50 +0100
  MIME-Version: 1.0
  Received: from [216.92.131.4] by hotmail.com (3.2) with ESMTP id
  MHotMailBE213CB2008140043896D85C8304426E0; Wed, 30 Jan 2002 05:14:26 
-0800
  Received: (qmail 35577 invoked by uid 1010); 30 Jan 2002 13:14:25 -
  Received: (qmail 35559 invoked from network); 30 Jan 2002 13:14:24 
-
  From php-dev-return-78554-vervoom Wed, 30 Jan 2002 05:15:45 -0800
  Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
  Precedence: bulk
  list-help: mailto:[EMAIL PROTECTED]
  list-unsubscribe: mailto:[EMAIL PROTECTED]
  list-post: mailto:[EMAIL PROTECTED]
  Delivered-To: mailing list [EMAIL PROTECTED]
  Message-ID: [EMAIL PROTECTED]
  References: [EMAIL PROTECTED]
  In-Reply-To: [EMAIL PROTECTED]
  User-Agent: Mutt/1.3.24i
  X-Editor: Vim  http://www.vim.org/
  X-Url: http://guru.josefine.at/~mfischer/
  X-PGP-Key: 0xC2272BD0 at pgp.ai.mit.edu
  X-PGP-Fingerprint: D3B0 DD4F E12B F911 3CE1  C2B5 D674 B445 C227 2BD0
  
  On Wed, Jan 30, 2002 at 12:59:42PM +, J S wrote :
I want to debug a problem I'm getting in Apache with libphp4.so, but
  when I
run gdb httpd, I get a bunch of messages saying:
   
no debugging symbols found
   
Does anyone here know what I need to do to fix this?
  
   Add --enable-debug to your php4 configure line. You may,
   however, still see those messages for apache itself.
  
  --
  Please always Cc to me when replying to me on the lists.
  
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: 
[EMAIL PROTECTED]
  
 
 
 
 
  _
  Get your FREE download of MSN Explorer at 
http://explorer.msn.com/intl.asp.
 
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 





_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]