Page Index Toggle Pages: 1
Topic Tools
Normal Topic Monkish Question (Read 1,347 times)
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,932
Location: Land of the Blazing Sun!

YaBB 2.6.1
Monkish Question
Apr 24th, 2014 at 3:05pm
Post Tools
Pray tell, brothers and sisters;

"Which core Perl module exports the PERLIB5 variable?"

For, at this time, my path leads to the Valley of Can'tLocate, whereupon my CPAN arguments faileth.

thankfully.

Bro Cadfael  (who went to Belgium)  Smiley

Edited:
I have fixed the error, but I still would like to know the answer


« Last Edit: Apr 24th, 2014 at 3:29pm by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,932
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Monkish Question
Reply #1 - Apr 24th, 2014 at 5:09pm
Post Tools
Hallelujah! (sorta)



I have gotten to the bottom of many, many CPAN and CPANPLUS errors (likely not easily solvable -- either on Weeny-dogs or LinusPenguinPlus++)

If the installation is not virgin and intact, with a properly configured C compiler and 'make configuration' also complete and intact, you will almost certainly fail in attempts to install certain Perl Modules.

So the rules are:

A. Ask someone else to do it (always the best).  This is the ONLY option for hosted servers at this time. Bother Cadfael has not yet learned all the monkish ways.

B.  If it is a Linux distribution you are doing the work on:
Quote:
JonB's Postulate One: Any Perl Module that has a dependency (another Perl Module) that requires compilation is going to have to do the make/test/install cycle 'inline' for CPAN or CPAN Plus to work.


SO FOLLOW THESE RULES:
   1. Install a developer spin, contains the .h headers needed later by the C Compiler.
   2. Use the provided utilities (yum, apt-get etc) to add features.
   3. Everything should be done/installed to default values. (your paths will never be right otherwise).  I know this...
   4. This is why we will need to rebuild (ground up) a new (nice) clean server for YaBBforum.com. 'New' meaning 'bare metal'.

C. Oddly - its easier on Windows if you stick to ActivePerl.  Their PPM (Perl Package Manager) assumes you will not have a compiler, so any needed DLLs are precompiled.  On Strawberry Perl, I'm not sure at this point.  You should see if all the required PM's are installed before you get onto the YaBB thing.

-----------------

I learned this by resolving almost every issue for a missing Perl Module (note almost: at this moment). Very Fooogly process.  I may yet get them all fixed on a very clean new VM, which I can later clone.

Here's how abstruse the error was that let me get to the underlying problem.  When the original compilation was done, the developer wanted a small distribution package.  So he truncated a required path .../share/man/...  by placing a symbolic link in .../share that pointed to ../man (that he later eliminated). So when you wanted to build a module, the package would fail by being unable to write the 'man' pages - never getting to the point where the compilation errors were.  I discovered it only because 'root' was failing on a 'mkdir' directive. How could that be?  Smiley

Well, symbolic links and folders are the same class of object... thus you can't have two with the same name at the same level in a folder tree.

I know that person. I'm glad he is in all of our collective rear-view mirrors.  He stormed off (apparently) when called out for not coughing up & posting his source for our (not YaBB) Windows DLLs for the Control Panel (had to be re-written from ground up).  Open Source means "OPEN SOURCE" not 'its on my hard drive'   Tongue
 

Cool
« Last Edit: Apr 24th, 2014 at 5:19pm by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,932
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Monkish Question
Reply #2 - Apr 26th, 2014 at 3:54pm
Post Tools
I have jumped down the rabbit hole.


Quote:
In another moment down went Alice after it, never once considering how in the world she was to get out again.
The rabbit-hole went straight on like a tunnel for some way, and then dipped suddenly down, so suddenly that Alice had not a moment to think about stopping herself before she found herself falling down a very deep well.
Either the well was very deep, or she fell very slowly, for she had plenty of time as she went down to look about her and to wonder what was going to happen next. First, she tried to look down and make out what she was coming to, but it was too dark to see anything; then she looked at the sides of the well, and noticed that they were filled with cupboards and book-shelves; here and there she saw maps and pictures hung upon pegs. She took down a jar from one of the shelves as she passed; it was labelled 'ORANGE MARMALADE', but to her great disappointment it was empty: she did not like to drop the jar for fear of killing somebody, so managed to put it into one of the cupboards as she fell past it.
'Well!' thought Alice to herself, 'after such a fall as this, I shall think nothing of tumbling down stairs! How brave they'll all think me at home! Why, I wouldn't say anything about it, even if I fell off the top of the house!' (Which was very likely true.)
Down, down, down. Would the fall NEVER come to an end! 'I wonder how many miles I've fallen by this time?' she said aloud. 'I must be getting somewhere near the centre of the earth. Let me see: that would be four thousand miles down, I think—' (for, you see, Alice had learnt several things of this sort in her lessons in the schoolroom, and though this was not a VERY good opportunity for showing off her knowledge, as there was no one to listen to her, still it was good practice to say it over) '—yes, that's about the right distance—but then I wonder what Latitude or Longitude I've got to?' (Alice had no idea what Latitude was, or Longitude either, but thought they were nice grand words to say.)
Presently she began again. 'I wonder if I shall fall right THROUGH the earth! How funny it'll seem to come out among the people that walk with their heads downward! The Antipathies, I think—' (she was rather glad there WAS no one listening, this time, as it didn't sound at all the right word) '—but I shall have to ask them what the name of the country is, you know. Please, Ma'am, is this New Zealand or Australia?' (and she tried to curtsey as she spoke—fancy CURTSEYING as you're falling through the air! Do you think you could manage it?) 'And what an ignorant little girl she'll think me for asking! No, it'll never do to ask: perhaps I shall see it written up somewhere.'
Down, down, down. There was nothing else to do, so Alice soon began talking again. 'Dinah'll miss me very much to-night, I should think!' (Dinah was the cat.) 'I hope they'll remember her saucer of milk at tea-time. Dinah my dear! I wish you were down here with me! There are no mice in the air, I'm afraid, but you might catch a bat, and that's very like a mouse, you know. But do cats eat bats, I wonder?' And here Alice began to get rather sleepy, and went on saying to herself, in a dreamy sort of way, 'Do cats eat bats? Do cats eat bats?' and sometimes, 'Do bats eat cats?' for, you see, as she couldn't answer either question, it didn't much matter which way she put it. She felt that she was dozing off, and had just begun to dream that she was walking hand in hand with Dinah, and saying to her very earnestly, 'Now, Dinah, tell me the truth: did you ever eat a bat?' when suddenly, thump! thump! down she came upon a heap of sticks and dry leaves, and the fall was over.
Alice was not a bit hurt, and she jumped up on to her feet in a moment: she looked up, but it was all dark overhead; before her was another long passage, and the White Rabbit was still in sight, hurrying down it. There was not a moment to be lost: away went Alice like the wind, and was just in time to hear it say, as it turned a corner, 'Oh my ears and whiskers, how late it's getting!' She was close behind it when she turned the corner, but the Rabbit was no longer to be seen: she found herself in a long, low hall, which was lit up by a row of lamps hanging from the roof.
There were doors all round the hall, but they were all locked; and when Alice had been all the way down one side and up the other, trying every door, she walked sadly down the middle, wondering how she was ever to get out again.


Undecided
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,932
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Monkish Question
Reply #3 - Apr 26th, 2014 at 6:19pm
Post Tools
Fortunately - Alice fell down the rabbit hole on the test server.

Lips Sealed

  

I find your lack of faith disturbing.
Back to top
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,932
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Monkish Question
Reply #4 - Apr 26th, 2014 at 8:26pm
Post Tools
I did however resolve all the dependencies. Smiley

Now I need lunch
Smiley
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
------
Senior Member
Beta Testers
****
Offline



Posts: 528
Re: Monkish Question
Reply #5 - Apr 27th, 2014 at 12:54am
Post Tools
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top