Re: POE on OSX

2005-01-29 Thread Bas Schulte
Hi Erick,
On zaterdag, jan 29, 2005, at 08:57 Europe/Amsterdam, Erick Calder 
wrote:

has anyone successfully installed POE on OSX?  I'm failing the test 
suite
for the latest available with the following:
I have POE-0.3009 running on os x 10.2.8, installed and tests just fine.
I'm *not* using the system perl; I've got my own copy of perl 5.8.6 
(built with with ./Configure -d -Dprefix=/SOMEWHEREPRIVATE/perl -des, 
make, make install):

[EMAIL PROTECTED] bas]$ 
/opt/ttgp/v1.01/applications/perl/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
  Platform:
osname=darwin, osvers=6.8, archname=darwin
uname='darwin a192-168-100-219.wireless.localdomain 6.8 darwin 
kernel version 6.8: wed sep 10 15:20:55 pdt 2003; 
root:xnuxnu-344.49.obj~2release_ppc power macintosh powerpc '
config_args='-d -Dprefix=/opt/ttgp/v1.01/applications/perl -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -pipe',
optimize='-Os',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -pipe'
ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 
1493)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
alignbytes=8, prototype=define
  Linker and Libraries:
ld='cc', ldflags =' -flat_namespace -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-lm -lc
perllibs=-lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, 
libperl=libperl.a
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -flat_namespace -bundle -undefined 
suppress -L/usr/local/lib'

Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under darwin
  Compiled at Jan 17 2005 13:18:25
  @INC:
/opt/ttgp/v1.01/applications/perl/lib/5.8.6/darwin
/opt/ttgp/v1.01/applications/perl/lib/5.8.6
/opt/ttgp/v1.01/applications/perl/lib/site_perl/5.8.6/darwin
/opt/ttgp/v1.01/applications/perl/lib/site_perl/5.8.6
/opt/ttgp/v1.01/applications/perl/lib/site_perl
Output of make test:
[EMAIL PROTECTED] POE-0.3009]$ make test
PERL_DL_NONLAZY=1 /opt/ttgp/v1.01/applications/perl/bin/perl 
-Iblib/lib -Iblib/arch test.pl
tests/10_units/01_preprocessor/01_preprocessor..ok
tests/10_units/01_preprocessor/02_macro_usebytesok
tests/10_units/02_pipes/01_base.skipped
all skipped: not implemented yet
tests/10_units/02_pipes/02_oneway...skipped
all skipped: not implemented yet
tests/10_units/02_pipes/03_twoway...skipped
all skipped: not implemented yet
tests/10_units/03_base/01_poe...ok
tests/10_units/03_base/02_api_resloader.ok
tests/10_units/03_base/03_component.ok
tests/10_units/03_base/04_driverok
tests/10_units/03_base/05_filterok
tests/10_units/03_base/06_loop..ok
tests/10_units/03_base/07_queue.ok
tests/10_units/03_base/08_resource..ok
tests/10_units/03_base/09_resources.skipped
all skipped: not implemented yet
tests/10_units/03_base/10_wheel.ok
tests/10_units/03_base/11_assert_usage..ok
tests/10_units/03_base/12_assert_retval.ok
tests/10_units/03_base/13_assert_data...ok
tests/10_units/03_base/14_kernelok
tests/10_units/04_drivers/01_sysrw..ok
tests/10_units/05_filters/01_block..ok
tests/10_units/05_filters/02_grep...skipped
all skipped: not implemented yet
tests/10_units/05_filters/03_http...ok
7/56 skipped: PUT not supported yet.
tests/10_units/05_filters/04_line...ok
tests/10_units/05_filters/05_mapskipped
all skipped: not implemented yet
tests/10_units/05_filters/06_recordblockskipped
all skipped: not implemented yet
tests/10_units/05_filters/07_reference..ok
tests/10_units/05_filters/08_stream.ok
tests/10_units/05_filters/50_stackable..ok
tests/10_units/05_filters/99_filterchange...ok
tests/10_units/06_queues/01_array...ok
tests/20_resources/10_perl/aliases..ok
tests/20_resources/10_perl/caller_state.ok

Re: POE on OSX

2005-01-29 Thread Rocco Caputo
On Fri, Jan 28, 2005 at 11:57:34PM -0800, Erick Calder wrote:
 has anyone successfully installed POE on OSX?  I'm failing the test suite
 for the latest available with the following:
[...]
 Failed Test   Stat Wstat Total Fail  Failed  List of 
 Failed
 ---
 tests/30_loops/10_select/k_alarms1   256371   2.70%  36
 tests/30_loops/10_select/wheel_ac41  25.00%  3
 tests/30_loops/20_poll/k_alarms.t1   256371   2.70%  36
 tests/30_loops/20_poll/wheel_tail91  11.11%  6
 58 tests and 7 subtests skipped.
 Failed 4/125 test scripts, 96.80% okay. 4/3508 subtests failed, 99.89% okay.
 make: *** [test_dynamic] Error 2
   /usr/bin/make test -- NOT OK
 Running make install
   make test had returned bad status, won't install without force

Time for some perl -V action, because I'm developing POE on OS X
now, and I run make test before most commits.

-- 
Rocco Caputo - http://poe.perl.org/


Re: POE on OSX

2005-01-29 Thread Erick Calder
Summary of my perl5 (revision 5.0 version 8 subversion 1 RC3) configuration:
  Platform:
osname=darwin, osvers=7.0, archname=darwin-thread-multi-2level
uname='darwin hampsten 7.0 darwin kernel version 6.0: fri jul 25
16:58:41 pdt 2003; root:xnu-344.frankd.rootsxnu-344.frankd~objrelease_ppc
power macintosh powerpc '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe
-Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='cc', ccflags ='-g -pipe -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include',
optimize='-Os',
cppflags='-no-cpp-precomp -g -pipe -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build
1495)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
  Linker and Libraries:
ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
libperl=libperl.dylib
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup
-L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Locally applied patches:
RC3
  Built under darwin
  Compiled at Sep 12 2003 19:50:49
  @INC:
/System/Library/Perl/5.8.1/darwin-thread-multi-2level
/System/Library/Perl/5.8.1
/Library/Perl/5.8.1/darwin-thread-multi-2level
/Library/Perl/5.8.1
/Library/Perl
/Network/Library/Perl/5.8.1/darwin-thread-multi-2level
/Network/Library/Perl/5.8.1
/Network/Library/Perl
.

 From: Rocco Caputo [EMAIL PROTECTED]
 Date: Sat, 29 Jan 2005 11:39:08 -0500
 To: poe@perl.org
 Subject: Re: POE on OSX
 
 On Fri, Jan 28, 2005 at 11:57:34PM -0800, Erick Calder wrote:
 has anyone successfully installed POE on OSX?  I'm failing the test suite
 for the latest available with the following:
 [...]
 Failed Test   Stat Wstat Total Fail  Failed  List of
 Failed
 -
 --
 tests/30_loops/10_select/k_alarms1   256371   2.70%  36
 tests/30_loops/10_select/wheel_ac41  25.00%  3
 tests/30_loops/20_poll/k_alarms.t1   256371   2.70%  36
 tests/30_loops/20_poll/wheel_tail91  11.11%  6
 58 tests and 7 subtests skipped.
 Failed 4/125 test scripts, 96.80% okay. 4/3508 subtests failed, 99.89% okay.
 make: *** [test_dynamic] Error 2
   /usr/bin/make test -- NOT OK
 Running make install
   make test had returned bad status, won't install without force
 
 Time for some perl -V action, because I'm developing POE on OS X
 now, and I run make test before most commits.
 
 -- 
 Rocco Caputo - http://poe.perl.org/




Re: POE on OSX

2005-01-29 Thread misc
I just installed POE using CPAN last night on OS 10.3.7 without a problem.
 Here's the output of `perl -V` on my machine; feel free to compare.  The
only difference I see is that I have Fink installed.

lithium% perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1 RC3) configuration:
  Platform:
osname=darwin, osvers=7.0, archname=darwin-thread-multi-2level
uname='darwin hampsten 7.0 darwin kernel version 6.0: fri jul 25
16:58:41 pdt 2003;
root:xnu-344.frankd.rootsxnu-344.frankd~objrelease_ppc power macintosh
powerpc '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe 
-Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='cc', ccflags ='-g -pipe -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include',
optimize='-Os',
cppflags='-no-cpp-precomp -g -pipe -pipe -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build
1495)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
  Linker and Libraries:
ld='MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
libperl=libperl.dylib
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup
-L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
  Locally applied patches:
RC3
  Built under darwin
  Compiled at Sep 12 2003 19:50:49
  %ENV:
PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
  @INC:
/sw/lib/perl5/5.8.1/darwin-thread-multi-2level
/sw/lib/perl5/5.8.1
/sw/lib/perl5
/sw/lib/perl5/darwin
/System/Library/Perl/5.8.1/darwin-thread-multi-2level
/System/Library/Perl/5.8.1
/Library/Perl/5.8.1/darwin-thread-multi-2level
/Library/Perl/5.8.1
/Library/Perl
/Network/Library/Perl/5.8.1/darwin-thread-multi-2level
/Network/Library/Perl/5.8.1
/Network/Library/Perl
.



Re: POE on OSX

2005-01-29 Thread Erick Calder
the only difference I see in this listing is the /sw directories added to
@INC... I don't have such a directory, how did you get that?

 From: [EMAIL PROTECTED]
 Date: Sat, 29 Jan 2005 16:17:09 -0500 (EST)
 To: poe@perl.org
 Subject: Re: POE on OSX
 
 I just installed POE using CPAN last night on OS 10.3.7 without a problem.
  Here's the output of `perl -V` on my machine; feel free to compare.  The
 only difference I see is that I have Fink installed.




Re: POE on OSX

2005-01-29 Thread Erick Calder
hmm... maybe it has to do with your installing Gtk/tk/etc.  did you install
Event.pm?  I fail 2 tests on Event 2.01 -- I've googled and found other ppl
with the same issue but no solutions so far.

for the record, I'm running 10.3.7

- e

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e
test_harness(0, 'blib/lib', 'blib/arch') t/*.t
t/attach_to...v-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/attach_to...ok
t/bored...v-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/bored...ok
t/callbackv-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/callbackok
t/datav-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/dataok
t/delete..v-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/delete..ok
t/evalv-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/evalok
t/fifov-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/fifook
t/generic.v-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/generic.ok
t/group...v-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/group...ok
t/hookv-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/hookok
t/hup.v-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/hup.ok
t/idlev-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/idleok
t/idle2...v-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/idle2...ok
t/io..v-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/io..NOK 6# Test 6 got: '0' (t/io.t at line 87)
#   Expected: '1'
#  t/io.t line 87 is: ok $noticed_bogus_fd, 1;
t/io..NOK 7# Failed test 7 in t/io.t at line 88
#  t/io.t line 88 is: ok !defined $bogus-fd;
t/io..FAILED tests 6-7
Failed 2/8 tests, 75.00% okay
t/leakv-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/leakok
t/leak2...v-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/leak2...ok
t/loopv-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
t/loopok
t/now.v-strings are deprecated at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.
v-string in use/require non-portable at
/private/var/root/.cpan/build/Event-1.02/blib/lib/Event.pm line 11.

Re: POE on OSX

2005-01-29 Thread Rocco Caputo
On Sat, Jan 29, 2005 at 02:50:04PM -0800, Erick Calder wrote:
 hmm... maybe it has to do with your installing Gtk/tk/etc.  did you install
 Event.pm?  I fail 2 tests on Event 2.01 -- I've googled and found other ppl
 with the same issue but no solutions so far.
 
 for the record, I'm running 10.3.7

No, Event, Tk, and Gtk didn't install with Apple's Perl.  Tk builds
successfully with Perl from fink.  I think Event does, too.  Gtk
doesn't, however.

-- 
Rocco Caputo - http://poe.perl.org/


Re: POE on OSX

2005-01-29 Thread Rocco Caputo
On Sat, Jan 29, 2005 at 06:22:34PM -0800, Erick Calder wrote:
 I installed Fink but don't find anything resembling Event.pm - in any case,
 this module is optional (as is Gtk/Tk), right?
 
 so if I can't build POE there's some other reason... what should be my next
 step?

Install xcode?  Make sure you have all your system updates?  I don't
know what to say beyond that.

-- 
Rocco Caputo - http://poe.perl.org/


Re: POE on OSX

2005-01-29 Thread Erick Calder
I installed Fink but don't find anything resembling Event.pm - in any case,
this module is optional (as is Gtk/Tk), right?

so if I can't build POE there's some other reason... what should be my next
step?

 From: Rocco Caputo [EMAIL PROTECTED]
 Date: Sat, 29 Jan 2005 19:04:44 -0500
 To: poe@perl.org
 Subject: Re: POE on OSX
 
 On Sat, Jan 29, 2005 at 02:50:04PM -0800, Erick Calder wrote:
 hmm... maybe it has to do with your installing Gtk/tk/etc.  did you install
 Event.pm?  I fail 2 tests on Event 2.01 -- I've googled and found other ppl
 with the same issue but no solutions so far.
 
 for the record, I'm running 10.3.7
 
 No, Event, Tk, and Gtk didn't install with Apple's Perl.  Tk builds
 successfully with Perl from fink.  I think Event does, too.  Gtk
 doesn't, however.
 
 -- 
 Rocco Caputo - http://poe.perl.org/