Gossamer Forum
Quote Reply
nph-build
Ran into an problem building the pages.

under telnet, I got
panic POPSTACK
Callback called exit at nph-build.cgi at line 663.
BEGIN failed. Compilation aborted at line 663.

Under the normal Admin screens, it says I can't display anything.

Lance

Quote Reply
Re: nph-build In reply to
Following up on this. I was not able to rebuild or repair either.

I tried creating a new database. Naddah.

Quote Reply
Re: nph-build In reply to
Hi,

Would it be possible to get shell access to your system to see what's going on? What version of perl are you using, and did previous betas work?

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: nph-build In reply to
After I install a new copy of Beta5 (Redhat 6.1 Perl 5.005_03), I found the same problem.

And I found the reason: missing the perl module: Time::HiRes. After I install the module from CPAN, the problem resolved.

Quote Reply
Re: nph-build In reply to
Hi Alex,

I am having the same problem here. Beta 3, 4 ran fine, with beta five I cant build. The dynamic pages work fine, tough.
In Telnet, I had the error panic: POPSTACK
Callback called exit at ./nph-build.cgi line 663.
In the admin tool, I get a DNS or server error.


Quote Reply
Re: nph-build In reply to
I just installed the Time::HiRes Module and it now builds.

I skipped Beta 4, but Beta 1, 2 and 3 Built without problems. I replaced the NPH-Build.cgi from Beta 5 with beta 3, just for giggles. Didn't help.

If you still want Shell access Alex, it's not a problem. E-mail me or call me.

Lance Rasmussen
Bowlingzone.com

lance@bowlingzone.com

Quote Reply
Re: nph-build In reply to
> Did we ever find a fix for this problem? Obviously it has something
> to do with Time::HiRes which I don't have on my machine. If it is
> a perl contribution does anyone know where I can get it?

Ok folks. I found the fix on my machine anyways. My perl installation didn't have the Time-HiRes modules installed. For those FreeBSDers it can usually be found under /usr/ports/devel/p5-Time-HiRes. For those that are being hosted on an ISP machine you will want to send a request to your support personel and ask them to install the Time-HiRes Perl module.

Everything here is repairing, indexing, and building just fine.

Wil


Quote Reply
Re: nph-build In reply to
My hosting company will install it, but they are picky.
Do you have the complete name of the Time-HiRes Perl module, and where it may be found?

Quote Reply
Re: nph-build In reply to
i got it from www.cpan.org it is like a one line command you type into telnet, that is the full name i used.

http://www.ASciFi.com/ - The Science Fiction Portal
Quote Reply
Re: nph-build In reply to
Beta5 was a fresh install. I have the beta setup to see how it handles, it is not live. (Actually it's not doing anything right now Crazy )
I have been busy setting up 1.13 ( which I really like so far). I do have telnet access. You are welcome to fiddle with it all you want. Just drop me an email and I will give you access.

Quote Reply
Re: nph-build In reply to
Thanks!

Quote Reply
Re: nph-build In reply to
All is well. My host installed the Time::HiRes mod. That is all it needed. Now seems to run fine. Might want to mention that this mod is required before setup. My hosting company is pretty advanced and usually has everything already. I was surprised when it wasn't already installed. Luckly they are also the best when it comes to installing custom mods. They do it asap.
For those that have a questionable host, I suggest that you inform them of this mod.
Works great - thanks!
I am looking forward to the final release!

Quote Reply
Re: nph-build In reply to
What is this module used for anyways? Just curious..


Thanks,

Sean Mott
http://www.weathertalk.net
Internet's best weather search engine
Quote Reply
Re: nph-build In reply to
Search http://www.cpan.org for Time::HiRes.

Regards,

Eliot Lee
Quote Reply
Re: nph-build In reply to
It provides a much more accurate time() funciton, so that when you do a build everything is not rounded to the second.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: nph-build In reply to
Alex, this really begs the question:
Why do we need time resolved to increments of less than one second?
Are there conflicts if users try to submit changes at the same moment?

Mark Brasche
http://SurfSafely.com/
Quote Reply
Re: nph-build In reply to
Hi,

No, it's not required at all, I just find it nicer (i.e. when building pages it says 0.05 seconds instead of 0 or 1 seconds). But again, it won't be required, it should work transparently if you have the module or if not.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: nph-build In reply to
My ISP won't install the Time::HiRes Perl module, and I can't get the site to build without it. Is there anyway to modify the script for the Links 2.0 Beta 5 so that this module isn't required?

TCC

Quote Reply
Re: nph-build In reply to
Hi,

Remove the entire:

BEGIN { .. }

line completely.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: nph-build In reply to
Thanks that worked like a charm...

Quote Reply
Re: nph-build - argh. In reply to
Hi Alex,

same problem here - i've tried to change nph-import.cgi like this:

use CGI::Carp qw(fatalsToBrowser);
use 5.004_04;
use strict;
use vars qw/$Int $Error_FH $Critical_Warnings $Show_Mild_Warnings/;
use DBI;
# BEGIN {
# select((select(STDERR),$|=1)[0]),$|=1;
# if ($ENV{REQUEST_METHOD}) {
# require Links::Import::Interface::CGI;
# $Int = new Links::Import::Interface::CGI;
# }
# else {
# require Links::Import::Interface::Text;
# $Int = new Links::Import::Interface::Text;
# }
# unless ($ENV{GATEWAY_INTERFACE}) { # Don't want to screw up mod_perl!
# # Don't want these modules to load
# my @not_wanted_modules = qw(GT/CGI.pm GT/SQL/Display/HTML.pm GT/Template.pm Links.pm);
# @INC{@not_wanted_modules} = ('go away') x @not_wanted_modules;
# }
# }

use GT::SQL;


and got the following error:

Can't call method "get_options" on an undefined value at /homepages/4/d18932873/htdocs/cgi-bin/admin/nph-import.cgi line 45.

Any chance to get this working without having the Time::HiRes Perl module installed?

Thanks for hints!

Quote Reply
Re: nph-build - argh. In reply to
Bump. Need help.

Thanks!