Re: Mac::Carbon issues

2007-04-10 Thread Chris Nandor
At 16:12 -0400 2007.04.09, Sherm Pendley wrote:
On Mar 28, 2007, at 7:57 PM, Chris Nandor wrote:

 What cpan requires File::HomeDir::Darwin?  CPAN.pm, or some
 script ... ?

The latest CPAN.pm requires File::HomeDir, which in turn requires
File::HomeDir::Darwin. I'm not certain when that change happened.

Odd.


 You have -arch i686 -arch ppc, which makes it a universal build, as I
 understand it, and when we last ran into this problem, we figured
 out to add
 -msse2.

Is that also a requirement for -arch i386?

As I recall, it seems to be only an issue for universal builds.

-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Technology Group   [EMAIL PROTECTED] http://ostg.com/


Re: Mac::Carbon issues

2007-04-09 Thread Sherm Pendley

On Mar 28, 2007, at 7:57 PM, Chris Nandor wrote:

What cpan requires File::HomeDir::Darwin?  CPAN.pm, or some  
script ... ?


The latest CPAN.pm requires File::HomeDir, which in turn requires  
File::HomeDir::Darwin. I'm not certain when that change happened.



You have -arch i686 -arch ppc, which makes it a universal build, as I
understand it, and when we last ran into this problem, we figured  
out to add

-msse2.


Is that also a requirement for -arch i386?

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net




Re: Mac::Carbon issues

2007-03-28 Thread Chris Nandor
In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] (wren ng thornton) wrote:

 So I seem to have mucked up my perl. I was cpanning
 around updating things and Mac::Carbon failed to
 install. But in doing so, it looks like it uninstalled
 the previous version that was in there, so now I can't
 start cpan up since it requires Mac::Files for
 File::HomeDir::Darwin. I then tried getting the
 Mac::Carbon tarball to install from, but it spews a
 bunch of errors too (see bottom). I remember seeing
 these sorts of errors in the past, but I don't recall
 how they got fixed.

What cpan requires File::HomeDir::Darwin?  CPAN.pm, or some script ... ?


As to the build problem, I think it is in here:


   Platform:
 osname=darwin, osvers=8.7.1,
 archname=darwin-2level
 uname='darwin fuchikoma.local 8.7.1 darwin kernel
 version 8.7.1: wed jun 7 16:19:56 pdt 2006;
 root:xnu-792.9.72.obj~2release_i386 i386 i386 '
 config_args='-Accflags=-arch i686 -arch ppc

You have -arch i686 -arch ppc, which makes it a universal build, as I 
understand it, and when we last ran into this problem, we figured out to add 
-msse2.  You wrote:


# In order to fix the makefiles for the local perl I had
# to add -msse2 to CCCDLFLAGS, CCDLFLAGS, and CCFLAGS on
# all the makefiles since I couldn't get my
# modifications of Makefile.PL to stick. After
# modifications the first two of those flags only had
# -msse2, and CCFLAGS was:
# 
# -msse2 -fno-common -DPERL_DARWIN -no-cpp-precomp -arch
# i686 -arch ppc -nostdinc
# -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc
# -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc
# -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include
# -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
# -fno-strict-aliasing -pipe
# -Wdeclaration-after-statement


-- 
Chris Nandor  [EMAIL PROTECTED]http://pudge.net/
Open Source Technology Group   [EMAIL PROTECTED] http://ostg.com/


Mac::Carbon issues

2007-03-23 Thread wren ng thornton
So I seem to have mucked up my perl. I was cpanning
around updating things and Mac::Carbon failed to
install. But in doing so, it looks like it uninstalled
the previous version that was in there, so now I can't
start cpan up since it requires Mac::Files for
File::HomeDir::Darwin. I then tried getting the
Mac::Carbon tarball to install from, but it spews a
bunch of errors too (see bottom). I remember seeing
these sorts of errors in the past, but I don't recall
how they got fixed.

Thoughts?

Live well,
~wren

OS X: 10.4.9 Intel
GCC:  4.0.1 (Apple Computer, Inc. build 5341)
Perl:  5.8.8 built for darwin-2level

[0] [EMAIL PROTECTED]:~/Mac-Carbon-0.77 $ perl -V
Summary of my perl5 (revision 5 version 8 subversion
8) configuration:
  Platform:
osname=darwin, osvers=8.7.1,
archname=darwin-2level
uname='darwin fuchikoma.local 8.7.1 darwin kernel
version 8.7.1: wed jun 7 16:19:56 pdt 2006;
root:xnu-792.9.72.obj~2release_i386 i386 i386 '
config_args='-Accflags=-arch i686 -arch ppc
-nostdinc
-B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc
-B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include   

-F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
-Aldflags=-arch i686 -arch ppc
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
[EMAIL PROTECTED] [EMAIL PROTECTED]
-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 -arch i686 -arch ppc -nostdinc
-B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc
-B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include
-F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
-fno-strict-aliasing -pipe
-Wdeclaration-after-statement',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common
-DPERL_DARWIN -no-cpp-precomp -arch i686 -nostdinc
-B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc
-B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include
-F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
-fno-strict-aliasing -pipe
-Wdeclaration-after-statement'
ccversion='', gccversion='4.0.1 (Apple Computer,
Inc. build 5341)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=1234
d_longlong=define, longlongsize=8,
d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double',
nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
  Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags
=' -arch i686 -arch ppc
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk'
libpth=/usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib,
useshrplib=false, libperl=libperl.a
gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef,
ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined
dynamic_lookup'


Characteristics of this binary (from libperl): 
  Compile-time options: PERL_MALLOC_WRAP
USE_LARGE_FILES USE_PERLIO
  Built under darwin
  Compiled at Jul  2 2006 17:33:59
  @INC:
/usr/local/lib/perl5/5.8.8/darwin-2level
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
.
[0] [EMAIL PROTECTED]:~/Mac-Carbon-0.77 $ make
cc -c  -I/Developer/Headers/FlatCarbon/ -fno-common
-DPERL_DARWIN -no-cpp-precomp -arch i686 -arch ppc
-nostdinc
-B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc
-B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc
-isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include
-F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks
-fno-strict-aliasing -pipe
-Wdeclaration-after-statement -fpascal-strings -O3  
-DVERSION=\1.32\ -DXS_VERSION=\1.32\ 
-I/usr/local/lib/perl5/5.8.8/darwin-2level/CORE  
AppleEvents.c
In file included from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:29,
 from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
 from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125,
 from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
 from
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
 from
/Developer/Headers/FlatCarbon/Events.h:1,