LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-03-2019, 10:43 AM   #1
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Rep: Reputation: 12
Implementing PKG_CONFIG_DEBUG_SPEW in "configure" script.


This post is a result of several incomplete / unsolved posts on this forum.
I would prefer not to be accused of reposting etc., but if possible like to get into serious discussion regarding the issues instead.

I have previously successfully used environment variable PKG_CONFIG_DEBUG_SPEW=set as an option for "configure".

The result were numerous debugging outputs helping me to analyse the "configure" script.

After downloading new and clean copy of "configure" I am unable to implement this variable again as a "configure" option or even setting it in script itself.

The enclosed test code verifies that PKG_CONFIG_DEBUG_SPEW is set in script but it does no show in printenv


Code:
printenv
PKG_CONFIG_DEBUG_SPEW=set
printf "\033[1;31m@line $LINENO DEBUG printenv after PKG_CONFIG_DEBUG_SPEW=set  $PKG_CONFIG_DEBUG_SPEW   (?)  \033[0m\n"
printenv
I like to mention the recent discussion about using "autotools", perhaps adding
PKG_CONFIG_DEBUG_SPEW into "configure" is wrong thing to do and the variable should be implemented elsewhere.

Appreciate any help in solving this issue.
 
Old 05-03-2019, 10:48 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Configure script is a shell script.

There is a common way to debug shell scripts which I've mentioned before in your repeated threads about package configuration questions. Please think about the advice you've been given in the past, or instead review the blog of mine from my signature titled My Bash Blog which contains numerous methods to perform shell debugging effectively, including what I'm talking about here.

Once again, make sure you retain incremental backups of files so you can recover or retain things which work and be able to re-use them.
 
1 members found this post helpful.
Old 05-03-2019, 06:10 PM   #3
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Quote:
Originally Posted by AnneRanch View Post
This post is a result of several incomplete / unsolved posts on this forum.
I would prefer not to be accused of reposting etc., but if possible like to get into serious discussion regarding the issues instead.
Now that mention it, it is time to pay more attention to this as the multiple similar posts have been noted by myself and others.

When these things are brought to your attention please do not think of them as "accusations", and it isn't even really about "the rules". It is all about providing the best, most accessible help for yourself now, and future visitors who may have similar questions and end up on your thread from search results. And it is all about being respectful of the time others volunteer to consider and reply to your questions. The rules mention this because it is a good thing!

Keeping all your related questions in a single thread makes it very much easier for others to follow the development of your issue in a continuous manner. Not only are they more aware simply because they recognize individual threads of interest to themselves, but as participants in a thread they receive notifications when anyone posts new information, or you post a followup or related question. Better for you, better for everyone else!

When you post related questions in multiple threads, others cannot easily follow and many simply avoid participation in those after a while.

So, from here forward, let's work on keeping related things in the same thread. If your threads are merged from time to time, think of it as a service, not a reprimand. Mostly just good housekeeping!

Thanks!

Last edited by astrogeek; 05-03-2019 at 06:32 PM.
 
2 members found this post helpful.
Old 05-03-2019, 08:32 PM   #4
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by astrogeek View Post
Now that mention it, it is time to pay more attention to this as the multiple similar posts have been noted by myself and others.

When these things are brought to your attention please do not think of them as "accusations", and it isn't even really about "the rules". It is all about providing the best, most accessible help for yourself now, and future visitors who may have similar questions and end up on your thread from search results. And it is all about being respectful of the time others volunteer to consider and reply to your questions. The rules mention this because it is a good thing!

Keeping all your related questions in a single thread makes it very much easier for others to follow the development of your issue in a continuous manner. Not only are they more aware simply because they recognize individual threads of interest to themselves, but as participants in a thread they receive notifications when anyone posts new information, or you post a followup or related question. Better for you, better for everyone else!

When you post related questions in multiple threads, others cannot easily follow and many simply avoid participation in those after a while.

So, from here forward, let's work on keeping related things in the same thread. If your threads are merged from time to time, think of it as a service, not a reprimand. Mostly just good housekeeping!

Thanks!
Be happy to do so, unfortunately even simple , single sided unrelated to anything else question turns into innuendos "you do not know what you are doing" and nagging "if you make a backup if will work ".

It is obvious I am obligated to heed any of the subject PERSONAL remarks and have no say so about it.

No need to go far - look at this post.
So far no real contribution to the problem , only "sermons".

And I am supposedly appreciate all this from "volunteers"?

Why is so difficult to accept the fact I am looking for a technical answer and not this kind of replies?

The purpose of the forum SHOULD be to promote product by providing place to exchange ideas.

I am not that naive to expect everybody overflowing with knowledge , however , it seems that this forum seem to be more interested in maintaining format that providing for ideas exchange.

I can guess what the repose to this vent will be.

IBTL just reminder that this is not the only game in town.


PS
Found a workaround solution.

Last edited by AnneRanch; 05-03-2019 at 08:33 PM.
 
Old 05-03-2019, 10:13 PM   #5
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Quote:
Originally Posted by AnneRanch View Post
I can guess what the repose to this vent will be.

IBTL just reminder that this is not the only game in town.


PS
Found a workaround solution.
Did you not read my previous post, or simply ignore it?

One reason you do not receive many replies is very likely that based on your posting history, others can guess what your own response will be - a vent...

No one has threatened to lock your thread, and everyone, including myself has been very patient to give you opportunity to settle in and find your place in the LQ environment. Some take longer than others, and some put more effort into it than others.

Indeed, this is not "the only game in town", and while you are welcome here, no one here is competing for your business.

If you cannot find a comfortable fit for yourself here, then by all means try another venue more suitable for your style of participation. Better for you and better for everyone else.

But if you wish to continue here, please read again the Site FAQ to which you have been referred several times before now. It is a simple and very permissive code of conduct among friends, but ultimately it must govern everyone who participates here.

Best of luck in whatever you do.
 
3 members found this post helpful.
Old 05-03-2019, 11:54 PM   #6
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by AnneRanch View Post
PS
Found a workaround solution.
As a contributing participant, you would share the solution you found, yes? That’s what makes LQ work.
 
3 members found this post helpful.
Old 05-05-2019, 12:21 PM   #7
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by scasey View Post
As a contributing participant, you would share the solution you found, yes? That’s what makes LQ work.
(Why?)
It was a silly workaround and not really a solution.
I just made it work on different hardware.
The real solution is as I suspected - reinstalling pkg-config package.
Works peachy.
One down ... more to come.

Last edited by AnneRanch; 05-05-2019 at 12:39 PM.
 
  


Reply



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
Analyze "configure" script after adding PKG_CONFIG_DEBUG_SPEW option AnneRanch Programming 9 04-28-2019 08:14 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
"Doubt in Implementing top command " manikantha Programming 1 09-24-2004 07:20 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:16 AM.

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