#19 cannot locate asm/page.ph at @INC

closed
None
6
2002-12-05
2002-10-09
Anonymous
No

Cerberus has failed to locate the page.ph. it must be related to
required "asm/page.ph" in line 25 of check-gener...
and it seems to me the Perl setup is not right place in this RH80.

run /usr/include ; h2ph -r -l .

but, it could not help.

Further support are needed for this poor guy :-)

Raymond,

Discussion

  • Samuel Flory

    Samuel Flory - 2002-10-22

    Logged In: YES
    user_id=453582

    asm/page.ph doesn't exist in new releases of RH. I'd be
    more worried if the only place it was used wasn't broken.

    This should fix the issue:
    diff -ru ctcs-1.3.0pre4/newburn-generator
    ctcs-1.3.0pre4-sam/newburn-generator
    --- ctcs-1.3.0pre4/newburn-generator 2001-11-06
    13:40:40.000000000 -0800
    +++ ctcs-1.3.0pre4-sam/newburn-generator 2002-10-21
    14:05:41.000000000 -0700
    @@ -22,7 +22,7 @@
    use Getopt::Std;
    use va_detect;
    use testgen;
    -require 'asm/page.ph';
    +#require 'asm/page.ph';

    #
    # globals
    @@ -547,14 +550,15 @@

    # get high free pages
    # Convert into KB reserved.
    - my $high_free=(split /\t/, `cat
    /proc/sys/vm/freepages`)[2] * &PAGE_SIZE / 1024
    ;
    + #my $high_free=(split /\t/, `cat
    /proc/sys/vm/freepages`)[2] * &PAGE_SIZE / 102
    4 ;

    # Reserve 192K per process point
    my $process_free = $reduction_points * 192;

    # Finally, compute total reduction.
    - $memtst_reduct= int(.5 + ($borrow_pc + $high_free +
    $borrow + $process_free) / 10
    24);
    + $memtst_reduct= int(.5 + ($borrow_pc + $borrow +
    $process_free) / 1024);

    +#$memtst_reduct= int(.5 + ($borrow_pc + $high_free +
    $borrow + $process_free) / 1024);
    # $memtst_reduct = int (13 + 1 + ($#tcflines +
    $extrareserve + $otherlines + ( 8 *
    ($kbram / ($perprocess * 1024)))) * .25);
    print STDERR "***** Computing Memory Test
    configuration *****\n";
    print STDERR "***** Limiting to $perprocess MB of
    RAM per malloc *****\n";
    diff -ru ctcs-1.3.0pre4/runin/burnBX
    ctcs-1.3.0pre4-sam/runin/burnBX

     
  • Samuel Flory

    Samuel Flory - 2002-10-22
    • priority: 5 --> 6
    • assigned_to: nobody --> samflory
     
  • Samuel Flory

    Samuel Flory - 2002-12-05
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks