Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / October 2003



Tip: Looking for answers? Try searching our database.

Apache::Scoreboard trouble

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ray Zimmerman - 17 Oct 2003 21:36 GMT
I have perl-5.8.0 installed in /usr/local with no problems.

Today I installed Apache::Scoreboard but when I try running ...

#!/usr/bin/perl -w
use strict;
use Apache::Scoreboard;
1;

... I get ...

dyld: perl Undefined symbols:
_ap_rwrite
_ap_send_http_header
_ap_set_content_length
_sv2request_rec
Trace/BPT trap

Any ideas?

 Ray Zimmerman  / e-mail: rz10@cornell.edu / 428-B Phillips Hall
  Sr Research  /   phone: (607) 255-9645  /  Cornell University
   Associate  /      FAX: (815) 377-3932 /   Ithaca, NY  14853

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

P.S. I've included the output of make below ...

% make
cp Scoreboard.pm blib/lib/Apache/Scoreboard.pm
cp lib/Apache/ScoreboardGraph.pm blib/lib/Apache/ScoreboardGraph.pm
cp DummyScoreboard.pm ../blib/lib/Apache/DummyScoreboard.pm
/usr/bin/perl /usr/local/perl-5.8.0/lib/5.8.0/ExtUtils/xsubpp
-typemap /usr/local/perl-5.8.0/lib/5.8.0/ExtUtils/typemap -typemap
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/typemap
-typemap typemap  DummyScoreboard.xs > DummyScoreboard.xsc && mv
DummyScoreboard.xsc DummyScoreboard.c
Please specify prototyping behavior for DummyScoreboard.xs (see perlxs manual)
cc -c  -I../
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/include
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/include/modules/perl
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/include/include
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/include/regex
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/include/os/unix
-I/usr/local/apache/1.3.28/include -pipe -fno-common -no-cpp-precomp
-fno-strict-aliasing -O3   -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\"
"-I/usr/local/perl-5.8.0/lib/5.8.0/darwin/CORE"   DummyScoreboard.c
Running Mkbootstrap for Apache::DummyScoreboard ()
chmod 644 DummyScoreboard.bs
rm -f ../blib/arch/auto/Apache/DummyScoreboard/DummyScoreboard.bundle
LD_RUN_PATH="" cc  -flat_namespace -bundle -undefined suppress
DummyScoreboard.o  -o
../blib/arch/auto/Apache/DummyScoreboard/DummyScoreboard.bundle
chmod 755 ../blib/arch/auto/Apache/DummyScoreboard/DummyScoreboard.bundle
cp DummyScoreboard.bs
../blib/arch/auto/Apache/DummyScoreboard/DummyScoreboard.bs
chmod 644 ../blib/arch/auto/Apache/DummyScoreboard/DummyScoreboard.bs
/usr/bin/perl /usr/local/perl-5.8.0/lib/5.8.0/ExtUtils/xsubpp
-typemap /usr/local/perl-5.8.0/lib/5.8.0/ExtUtils/typemap -typemap
/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/typemap
-typemap typemap  Scoreboard.xs > Scoreboard.xsc && mv Scoreboard.xsc
Scoreboard.c
Please specify prototyping behavior for Scoreboard.xs (see perlxs manual)
cc -c
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/include
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/include/modules/perl
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/include/include
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/include/regex
-I/usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin/auto/Apache/include/os/unix
-pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -O3
-DVERSION=\"0.10\" -DXS_VERSION=\"0.10\"
"-I/usr/local/perl-5.8.0/lib/5.8.0/darwin/CORE"   Scoreboard.c
Running Mkbootstrap for Apache::Scoreboard ()
chmod 644 Scoreboard.bs
rm -f blib/arch/auto/Apache/Scoreboard/Scoreboard.bundle
LD_RUN_PATH="" cc  -flat_namespace -bundle -undefined suppress
Scoreboard.o  -o blib/arch/auto/Apache/Scoreboard/Scoreboard.bundle
chmod 755 blib/arch/auto/Apache/Scoreboard/Scoreboard.bundle
cp Scoreboard.bs blib/arch/auto/Apache/Scoreboard/Scoreboard.bs
chmod 644 blib/arch/auto/Apache/Scoreboard/Scoreboard.bs
Manifying blib/man3/Apache::Scoreboard.3
%
Michael Chamberlain - 18 Oct 2003 17:58 GMT
> I have perl-5.8.0 installed in /usr/local with no problems.
>
[quoted text clipped - 15 lines]
>
> Any ideas?

My guess would be your running an apache1 version of Apache::Scoreboard
with
an apache2 binary.

Mike.
David Dierauer - 19 Oct 2003 14:58 GMT
> I have perl-5.8.0 installed in /usr/local with no problems.
>
> Today I installed Apache::Scoreboard but when I try running ...
>
> #!/usr/bin/perl -w
^^^^^^^^^^^^^
> use strict;
> use Apache::Scoreboard;
* snip *

Could the solution be as simple as changing the line I highlighted above
to /usr/local/bin/perl -w

Signature

David Dierauer
Software Engineer
david.dierauer@voyager.net

Ray Zimmerman - 20 Oct 2003 14:52 GMT
>>  I have perl-5.8.0 installed in /usr/local with no problems.
>>
[quoted text clipped - 8 lines]
>Could the solution be as simple as changing the line I highlighted above
>to /usr/local/bin/perl -w

No that's not it either ... /usr/bin/perl is a symlink to /usr/local/bin/perl.

% /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=darwin, osvers=6.3, archname=darwin

<snip>

Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under darwin
  Compiled at Jan  7 2003 16:42:21
  %ENV:
    PERL5LIB="/sw/lib/perl5"
  @INC:
    /sw/lib/perl5/darwin
    /sw/lib/perl5
    /usr/local/perl-5.8.0/lib/5.8.0/darwin
    /usr/local/perl-5.8.0/lib/5.8.0
    /usr/local/perl-5.8.0/lib/site_perl/5.8.0/darwin
    /usr/local/perl-5.8.0/lib/site_perl/5.8.0
    /usr/local/perl-5.8.0/lib/site_perl
    .

Signature

 Ray Zimmerman  / e-mail: rz10@cornell.edu / 428-B Phillips Hall
  Sr Research  /   phone: (607) 255-9645  /  Cornell University
   Associate  /      FAX: (815) 377-3932 /   Ithaca, NY  14853

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.