Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-20-2009, 03:17 AM   #1
LQ Newbie
Registered: Dec 2008
Posts: 5

Rep: Reputation: 0
PHP compile error - bug report needs backtrace - how to do this?

Hi everyone,

I have been trying to compile PHP on my Linux machine, but I get a compile error.

The details of the error have been submitted to PHP bugs here:

The guys there want a backtrace, but I'm not sure how to do this. I've looked at their documentation, but I'm confused as it mentions getting a core file of the error by running the script that caused the fault. Would that be the run-tests.php script if the "make test" fails?

I think I need to run the PHP executable in php/sapi/cli/ under GDB, and then try to run run-tests.php.....but I'm not sure. I did try this but Linux says that there is no executable there. Here is what I did:

TEST_PHP_EXECUTABLE=/home/php-5.3.0beta1/sapi/cli/php gdb

Once GDB starts to run I enter:

run /home/php-5.3.0beta1/run-tests.php

The output is:

Starting program: /home/php-5.2.8/run-tests.php
No executable file specified.
Use the "file" or "exec-file" command.

Can anyone help with this please?

Any help is much appreciated.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conmpile error wen compile php:configure: error: libpng.(a|so) not found tanveer Linux - Software 5 02-03-2009 07:13 AM
error report through compile glibc2.5 with kernel header InitX Linux - Kernel 0 05-17-2007 07:18 AM
bug report gibney Linux - Newbie 1 03-14-2007 10:37 AM
mysql install error says "please submit bug report" learnfast Linux - Newbie 1 04-30-2005 10:26 AM
was it bug and how do I report it!! ngan_yine Linux - General 2 01-18-2005 12:49 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration