pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] pan always crashing fast again


From: dchmelik
Subject: Re: [Pan-users] pan always crashing fast again
Date: Sat, 15 Jul 2023 22:20:08 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

On 7/13/23 12:57 PM, reijo.korhonen@gmail.com wrote:
On Tue, 2023-07-11 at 18:56 -0700, David Chmelik wrote:
Well, how do I do that?  This command had no output: ./configure
--help|grep -i debug .
My answer is again very generic.

Hmm... Is your target to debug pan. What your have done before? If you
run "./configure", this command is normally run, when you have
downloaded on application zip-package and unzipped it gone to unzipped
app-code main directory. There is little runnable script ""configure".
"configure" makes makefiles for your system. After "./configure" your
compile pan with a command "make" in same directory, where your run
"./configure".

Google "linux compile debuggeble" and you get basics, for instance "
https://newton.ex.ac.uk/teaching/resources/software/linuxcc/";

When you have run ./configure, you have got makefile for compiling pan.
"./configure" (without grep) hopefully tells how you can confugure what
kind makefile is generated. But you can edit makefile yourself and as
Google tells us, your can edit makefile for generating debuggable
runnable by hand. Check that compiling flags include "-Oo -g", meaning
no optimazion and runnable will include code information", so when you
debug pan, your get code lines where runnable fails.

When you run gdb <path to runnable-pan> your propably should be in same
directory, where you run "make", so gdb can find pan code lines. [...]

The pan.SlackBuild uses these compiling flags '-O2 -fPIC'.  Do any these conflict with '-Oo -g'?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]