On Monday, August 4, 2003, at 7:39 AM, Bill Henry wrote:
Dan

I am using Panther b21 and it does not seem to work with the psync in CCC from Mike Bombich, or even your stand alone psync 2.0 product

Any updates in the works?

I have finally got Panther Preview and acknowledged the problem.


% make
cp File/Constants.pm blib/lib/MacOSX/File/Constants.pm
AutoSplitting blib/lib/MacOSX/File/Constants.pm (blib/lib/auto/MacOSX/File/Constants)
cp File.pm blib/lib/MacOSX/File.pm
cp Catalog.pm ../blib/lib/MacOSX/File/Catalog.pm
AutoSplitting ../blib/lib/MacOSX/File/Catalog.pm (../blib/lib/auto/MacOSX/File/Catalog)
/usr/local/bin/perl /usr/local/lib/perl5/5.8.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.1/ExtUtils/typemap Catalog.xs > Catalog.xsc && mv Catalog.xsc Catalog.c
cc -c -I../ -I/Developer/Headers/FlatCarbon -pipe -fno-common -DDARWIN -no-cpp-precomp -fno-strict-aliasing -Os -DVERSION=\"0.64\" -DXS_VERSION=\"0.64\" "-I/usr/local/lib/perl5/5.8.1/darwin-thread-multi-64int-2level/CORE" Catalog.c
In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/CarbonCore.h:113,
from /System/Library/Frameworks/CoreServices.framework/Headers/ CoreServices.h:21,
from /Developer/Headers/FlatCarbon/Files.h:1,
from ../common/util.c:9,
from Catalog.xs:16:
/System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/Debugging.h:285:2: #else without #if
/System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/Debugging.h:287:2: #endif without #if
/System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/Debugging.h:301:1: missing binary operator before token "enum"
Catalog.c:313:1: unterminated #if
make[1]: *** [Catalog.o] Error 1
make: *** [subdirs] Error 2

As you see, the error occurs on Carbon headers so it must have something to do with new gcc or dev tool. Very fortunately I have found a very simple workaround. Instead of simple 'make', type 'make CC=gcc2' and it builds fine. See the log right after my signature.


As you see 'make test' is noisy because we--perl5 porters have decided to depreciate v-string and MacOSX::File as of 0.66 does use that. That will be addressed in the next release but I would like you people to wait until perl 5.8.1 ships (very soon, at least sooner than Panther).

If you have other wishlist (such as minor bug(s) in psync), please post here at [EMAIL PROTECTED] so we can share.

Oh, one more thing. Please note that I only maintain MacOSX::File. CCC and PsyncX do use the psync script that comes with MacOSX::File but they are not works of mine.

Dan the Man with Too Many Platforms to Support

% /usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for MacOSX::File::Catalog
Writing Makefile for MacOSX::File::Copy
Writing Makefile for MacOSX::File::Info
Writing Makefile for MacOSX::File::Spec
Writing Makefile for MacOSX::File
[EMAIL PROTECTED]:~/work/MacOSX-File-0.66% make CC=gcc2
cp File.pm blib/lib/MacOSX/File.pm
cp File/Constants.pm blib/lib/MacOSX/File/Constants.pm
AutoSplitting blib/lib/MacOSX/File/Constants.pm (blib/lib/auto/MacOSX/File/Constants)
cp Catalog.pm ../blib/lib/MacOSX/File/Catalog.pm
AutoSplitting ../blib/lib/MacOSX/File/Catalog.pm (../blib/lib/auto/MacOSX/File/Catalog)
/usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.1/ExtUtils/typemap Catalog.xs > Catalog.xsc && mv Catalog.xsc Catalog.c
gcc2 -c -I../ -I/Developer/Headers/FlatCarbon -g -pipe -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -Os -DVERSION=\"0.64\" -DXS_VERSION=\"0.64\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" Catalog.c
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h: 13,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/ CoreFoundation.h:8,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/CarbonCore.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/ CoreServices.h:21,
from /Developer/Headers/FlatCarbon/Files.h:1,
from ../common/util.c:9,
from Catalog.xs:16:
/usr/include/gcc/darwin/2.95.2/g++/../stdbool.h:10: warning: empty declaration
Catalog.xs: In function `XS_MacOSX__File__Catalog_xs_setcatalog':
Catalog.xs:263: warning: assignment makes pointer from integer without a cast
Running Mkbootstrap for MacOSX::File::Catalog ()
chmod 644 Catalog.bs
rm -f ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -flat_namespace -undefined suppress -framework Carbon Catalog.o -o ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bundle
chmod 755 ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bundle
cp Catalog.bs ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bs
chmod 644 ../blib/arch/auto/MacOSX/File/Catalog/Catalog.bs
Manifying ../blib/man3/MacOSX::File::Catalog.3pm
cp Copy.pm ../blib/lib/MacOSX/File/Copy.pm
/usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.1/ExtUtils/typemap Copy.xs > Copy.xsc && mv Copy.xsc Copy.c
gcc2 -c -I../ -I/Developer/Headers/FlatCarbon -g -pipe -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -Os -DVERSION=\"0.64\" -DXS_VERSION=\"0.64\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" Copy.c
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h: 13,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/ CoreFoundation.h:8,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/CarbonCore.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/ CoreServices.h:21,
from /Developer/Headers/FlatCarbon/Files.h:1,
from ../common/util.c:9,
from Copy.xs:12:
/usr/include/gcc/darwin/2.95.2/g++/../stdbool.h:10: warning: empty declaration
Running Mkbootstrap for MacOSX::File::Copy ()
chmod 644 Copy.bs
rm -f ../blib/arch/auto/MacOSX/File/Copy/Copy.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -flat_namespace -undefined suppress -framework Carbon Copy.o -o ../blib/arch/auto/MacOSX/File/Copy/Copy.bundle
chmod 755 ../blib/arch/auto/MacOSX/File/Copy/Copy.bundle
cp Copy.bs ../blib/arch/auto/MacOSX/File/Copy/Copy.bs
chmod 644 ../blib/arch/auto/MacOSX/File/Copy/Copy.bs
Manifying ../blib/man3/MacOSX::File::Copy.3pm
cp Info.pm ../blib/lib/MacOSX/File/Info.pm
AutoSplitting ../blib/lib/MacOSX/File/Info.pm (../blib/lib/auto/MacOSX/File/Info)
/usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.1/ExtUtils/typemap Info.xs > Info.xsc && mv Info.xsc Info.c
gcc2 -c -I../ -I/Developer/Headers/FlatCarbon -g -pipe -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -Os -DVERSION=\"0.64\" -DXS_VERSION=\"0.64\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" Info.c
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h: 13,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/ CoreFoundation.h:8,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/CarbonCore.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/ CoreServices.h:21,
from /Developer/Headers/FlatCarbon/Files.h:1,
from ../common/util.c:9,
from Info.xs:16:
/usr/include/gcc/darwin/2.95.2/g++/../stdbool.h:10: warning: empty declaration
Running Mkbootstrap for MacOSX::File::Info ()
chmod 644 Info.bs
rm -f ../blib/arch/auto/MacOSX/File/Info/Info.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -flat_namespace -undefined suppress -framework Carbon Info.o -o ../blib/arch/auto/MacOSX/File/Info/Info.bundle
chmod 755 ../blib/arch/auto/MacOSX/File/Info/Info.bundle
cp Info.bs ../blib/arch/auto/MacOSX/File/Info/Info.bs
chmod 644 ../blib/arch/auto/MacOSX/File/Info/Info.bs
Manifying ../blib/man3/MacOSX::File::Info.3pm
cp Spec.pm ../blib/lib/MacOSX/File/Spec.pm
AutoSplitting ../blib/lib/MacOSX/File/Spec.pm (../blib/lib/auto/MacOSX/File/Spec)
/usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.1/ExtUtils/typemap Spec.xs > Spec.xsc && mv Spec.xsc Spec.c
gcc2 -c -I../ -I/Developer/Headers/FlatCarbon -g -pipe -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -Os -DVERSION=\"0.64\" -DXS_VERSION=\"0.64\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" Spec.c
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h: 13,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/ CoreFoundation.h:8,
from /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/CarbonCore.h:20,
from /System/Library/Frameworks/CoreServices.framework/Headers/ CoreServices.h:21,
from /Developer/Headers/FlatCarbon/Finder.h:1,
from Spec.xs:12:
/usr/include/gcc/darwin/2.95.2/g++/../stdbool.h:10: warning: empty declaration
Running Mkbootstrap for MacOSX::File::Spec ()
chmod 644 Spec.bs
rm -f ../blib/arch/auto/MacOSX/File/Spec/Spec.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -flat_namespace -undefined suppress -framework Carbon Spec.o -o ../blib/arch/auto/MacOSX/File/Spec/Spec.bundle
chmod 755 ../blib/arch/auto/MacOSX/File/Spec/Spec.bundle
cp Spec.bs ../blib/arch/auto/MacOSX/File/Spec/Spec.bs
chmod 644 ../blib/arch/auto/MacOSX/File/Spec/Spec.bs
Manifying ../blib/man3/MacOSX::File::Spec.3pm
cp bin/pgetfinfo blib/script/pgetfinfo
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pgetfinfo
cp bin/psetfinfo blib/script/psetfinfo
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/psetfinfo
cp bin/pcpmac blib/script/pcpmac
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pcpmac
cp bin/pmvmac blib/script/pmvmac
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/pmvmac
cp bin/psync blib/script/psync
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/psync
Manifying blib/man1/pgetfinfo.1
Manifying blib/man1/psetfinfo.1
Manifying blib/man1/pcpmac.1
Manifying blib/man1/pmvmac.1
Manifying blib/man1/psync.1
Manifying blib/man3/MacOSX::File::Constants.3pm
Manifying blib/man3/MacOSX::File.3pm
% make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/catalog....v-string in use/require non-portable at /Users/dankogai/work/MacOSX-File-0.66/blib/lib/MacOSX/File/Catalog.pm line 25.
v-string in use/require non-portable at /Users/dankogai/work/MacOSX-File-0.66/blib/lib/MacOSX/File.pm line 3.
t/catalog....ok
t/copy.......v-string in use/require non-portable at /Users/dankogai/work/MacOSX-File-0.66/blib/lib/MacOSX/File/Copy.pm line 22.
v-string in use/require non-portable at /Users/dankogai/work/MacOSX-File-0.66/blib/lib/MacOSX/File.pm line 3.
t/copy.......ok
t/file.......v-string in use/require non-portable at /Users/dankogai/work/MacOSX-File-0.66/blib/lib/MacOSX/File.pm line 3.
t/file.......ok
t/info.......v-string in use/require non-portable at /Users/dankogai/work/MacOSX-File-0.66/blib/lib/MacOSX/File.pm line 3.
v-string in use/require non-portable at /Users/dankogai/work/MacOSX-File-0.66/blib/lib/MacOSX/File/Info.pm line 23.
t/info.......ok
t/spec.......v-string in use/require non-portable at /Users/dankogai/work/MacOSX-File-0.66/blib/lib/MacOSX/File/Spec.pm line 3.
v-string in use/require non-portable at /Users/dankogai/work/MacOSX-File-0.66/blib/lib/MacOSX/File.pm line 3.
t/spec.......ok
All tests successful.
Files=5, Tests=29, 3 wallclock secs ( 2.28 cusr + 0.21 csys = 2.49 CPU)
No tests defined for MacOSX::File::Catalog extension.
No tests defined for MacOSX::File::Copy extension.
No tests defined for MacOSX::File::Info extension.
No tests defined for MacOSX::File::Spec extension.
[EMAIL PROTECTED]:~/work/MacOSX-File-0.66%


Reply via email to