LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-20-2009, 02:17 AM   #1
jpmad4it
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:
http://bugs.php.net/bug.php?id=47441

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.

Regards
Jp
 
  


Reply


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 06:13 AM
error report through compile glibc2.5 with 2.6.18.3 kernel header InitX Linux - Kernel 0 05-17-2007 06:18 AM
bug report gibney Linux - Newbie 1 03-14-2007 09:37 AM
mysql install error says "please submit bug report" learnfast Linux - Newbie 1 04-30-2005 09:26 AM
was it bug and how do I report it!! ngan_yine Linux - General 2 01-17-2005 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:25 PM.

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