Mac OS X 10.3 (darwin 7.0.0)
Output of make test
jkepler$ make test
rm -f blib/arch/auto/Proc/ProcessTable/ProcessTable.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc
-bundle -undefined dynamic_lookup -L/usr/local/lib
ProcessTable.o -o blib/arch/auto/Proc/ProcessTable/
ProcessTable.bundle
ld: warning -prebind has no effect with -bundle
chmod 755 blib/arch/auto/Proc/ProcessTable/
ProcessTable.bundle
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::
MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/process....dyld: /usr/bin/perl Undefined symbols:
/Users/jkepler/Downloads/Proc-ProcessTable-0.39/blib/arch/
auto/Proc/ProcessTable/ProcessTable.bundle undefined
reference to _OS_get_table expected to be defined in a
dynamic image
/Users/jkepler/Downloads/Proc-ProcessTable-0.39/blib/arch/
auto/Proc/ProcessTable/ProcessTable.bundle undefined
reference to _OS_initialize expected to be defined in a
dynamic image
t/process....dubious
Test returned status 0 (wstat 5, 0x5)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------
-----------
t/process.t 0 5 3 6 200.00% 1-3
Failed 1/1 test scripts, 0.00% okay. 3/3 subtests failed,
0.00% okay.
make: *** [test_dynamic] Error 2
Output of example.pl
dyld: perl Undefined symbols:
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Proc/
ProcessTable/ProcessTable.bundle undefined reference to
_OS_get_table expected to be defined in a dynamic image
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Proc/
ProcessTable/ProcessTable.bundle undefined reference to
_OS_initialize expected to be defined in a dynamic image
Logged In: NO
you might want to take a look @ <http://search.cpan.org/src/
DURIST/Proc-ProcessTable-0.39/PORTING>
Logged In: YES
user_id=937087
Ok, this time I am logged in. Please take a look at the following
web site at
http://search.cpan.org/src/DURIST/Proc-ProcessTable-0.39/
PORTING
Logged In: YES
user_id=140852
same error on Mac OS X 10.1.5 with perl 5.8.0
Logged In: YES
user_id=950922
The problem of the "official version" ptable 0.39 is that there are
neither darwin.c/.h in os nor darwin.pl in hints, even if the readme
claims that ptable 0.39 has been ported to Darwin.
Just try to checkout ptable from CVS. You will find the missing files
in this version. Spooky!
Logged In: YES
user_id=140852
well there is some file in the cvs repository that could be
added to test the module build on darwin.
I've tried to compile on 10.1.5.
Proc-ProcessTable-0.39 $ make
cc -c -pipe -fno-common -no-cpp-precomp
-fno-strict-aliasing -I/sw/include -I/usr/local/include -O3
-DVERSION=\"0.39\" -DXS_VERSION=\"0.39\"
"-I/usr/local/lib/perl/darwin-thread-multi/CORE" OS.c
OS.c: In function `OS_get_table':
OS.c:265: structure has no member named `p_starttime'
make: *** [OS.o] Error 1
$
no succed