-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jan 31, 2007, at 5:05 PM, Alexander Hansen wrote:

> On 1/31/07, Pepe Barbe <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I am trying to build Xetex on an Intel Mac and I get the following:
>>
> <snip>
>
>> gcc  -DU_COMMON_IMPLEMENTATION -I/sw/include  -I.
>> -I../../../../libs/icu-xetex/common -I../../../../libs/icu-xetex/i18n
>> -g -O2  -fno-common -c   -o uinit.ao
>> ../../../../libs/icu-xetex/common/uinit.c
>> distcc[5361] ERROR: compile
>> /sw/var/ccache/uinit.tmp.angband.lan.5347.i on localhost failed
>> ../../../../libs/icu-xetex/common/uinit.c: In function 'u_cleanup':
>> ../../../../libs/icu-xetex/common/uinit.c:55: error:
>> 'UTRACE_U_CLEANUP' undeclared (first use in this function)
>> ../../../../libs/icu-xetex/common/uinit.c:55: error: (Each undeclared
>> identifier is reported only once
>> ../../../../libs/icu-xetex/common/uinit.c:55: error: for each  
>> function
>> it appears in.)
>> ../../../../libs/icu-xetex/common/uinit.c:55: error:
>> 'UTRACE_OPEN_CLOSE' undeclared (first use in this function)
>> ../../../../libs/icu-xetex/common/uinit.c: In function 'u_init':
>> ../../../../libs/icu-xetex/common/uinit.c:87: error: 'UTRACE_U_INIT'
>> undeclared (first use in this function)
>> ../../../../libs/icu-xetex/common/uinit.c:87: error:
>> 'UTRACE_OPEN_CLOSE' undeclared (first use in this function)
>> make[1]: *** [uinit.ao] Error 1
>> rm ucln_cmn.ao putil.ao utypes.ao cmemory.ao uobject.ao umutex.ao
>> make: *** [all-recursive] Error 2
>> ### execution of /var/tmp/tmp.1.WOMsro failed, exit code 1
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-xetex-0.995-2
>> (Reading database ... 144089 files and directories currently  
>> installed.)
>> Removing fink-buildlock-xetex-0.995-2 ...
>> Failed: phase compiling: xetex-0.995-2 failed
>>
>> Any ideas on how to fix this?
>>
>> Thanks,
>> Pepe
>>
>
> It looks like you are using ccache-default.  Is that the case?  Start
> by turning that off.  If it builds for you then a BuildConflict could
> be added.
>

I just tried building xetex on a MacBook Pro and the build failed,  
but at a different point. The same failure happened whether or not  
ccache-default was installed.

- ------------- snip --------------
         # xdv2pdf is for Mac OS X only, don't try to build on Linux
         if [ "`uname`" == "Darwin" ]; then
                 case $MACOSX_DEPLOYMENT_TARGET in
                         10.0)           V=1000;;
                         10.1)           V=1010;;
                         10.2)           V=1020;;
                         10.3)           V=1030;;
                         10.4)           V=1040;;
                         *)              exit 1;;
                 esac

                 (cd Work/texk/xdv2pdf && make XXCFLAGS="- 
DMACOSX_DEPLOYMENT_TARGET=$V" all) || exit 1
         fi
uname
gcc -DHAVE_CONFIG_H  -I. -I../../../texk/xdv2pdf -I.. -I../../../texk/ 
xdv2pdf/..  -I/sw/include  -g -O2  -c ../../../texk/xdv2pdf/ 
xdv2pdf_main.c -o xdv2pdf_main.o
c++ -g -O2 -DHAVE_CONFIG_H -DMACOSX_DEPLOYMENT_TARGET=1040 -I. - 
I../../../texk/xdv2pdf -c ../../../texk/xdv2pdf/xdv2pdf.cpp
../../../texk/xdv2pdf/xdv2pdf.cpp: In function 'void getBitmapData 
(ComponentInstanceRecord*, BitmapInfo*)':
../../../texk/xdv2pdf/xdv2pdf.cpp:668: warning: 'NewGWorldFromPtr' is  
deprecated (declared at /System/Library/Frameworks/ 
ApplicationServices.framework/Frameworks/QD.framework/Headers/ 
QDOffscreen.h:172)
../../../texk/xdv2pdf/xdv2pdf.cpp:669: warning: 'NewGWorldFromPtr' is  
deprecated (declared at /System/Library/Frameworks/ 
ApplicationServices.framework/Frameworks/QD.framework/Headers/ 
QDOffscreen.h:172)
../../../texk/xdv2pdf/xdv2pdf.cpp:685: warning: 'DisposeGWorld' is  
deprecated (declared at /System/Library/Frameworks/ 
ApplicationServices.framework/Frameworks/QD.framework/Headers/ 
QDOffscreen.h:226)
../../../texk/xdv2pdf/xdv2pdf.cpp:685: warning: 'DisposeGWorld' is  
deprecated (declared at /System/Library/Frameworks/ 
ApplicationServices.framework/Frameworks/QD.framework/Headers/ 
QDOffscreen.h:226)
../../../texk/xdv2pdf/xdv2pdf.cpp: In function 'void processAllPages 
(FILE*)':
../../../texk/xdv2pdf/xdv2pdf.cpp:2128: error:  
'CreateColorSpaceFromSystemICCProfileName' was not declared in this  
scope
make: *** [xdv2pdf.o] Error 1
- ------------- snip --------------

It's kind of weird that they're redefining MACOSX_DEPLOYMENT_TARGET.  
I wonder if setting it to 1040 might be confusing some system  
headers? But that doesn't seem to explain Pepe's failure.

Daniel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: http://homepage.mac.com/danielj7/publickey.txt

iD8DBQFFwUP94sDFGYouOqARAqu2AJ4gwzWm9l/sXr4vV631zd1Mxo2gAwCghHpG
dIyMPLY50JlaLIbOFUuO+qI=
=oEXQ
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to