[prev in list] [next in list] [prev in thread] [next in thread] 

List:       festlang-talk
Subject:    [festival-talk] which gcc on Mac OS X
From:       bunnell () asel ! udel ! edu (Tim Bunnell)
Date:       2006-09-25 20:20:59
Message-ID: 45183A2B.2090603 () asel ! udel ! edu
[Download RAW message or body]

message from Tim Bunnell <bunnell at asel.udel.edu> to festival-talk
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Tim Bunnell wrote:
> Not getting far enough to worry about afplay. Using gcc-3.3, it's still 
> barfing on the definition of socklen_t in io.c.
> 
> This has Brian's patch:
> 
>> #if defined(__APPLE__)
>> #if __APPLE_CC__ != 1809  /* not Tiger */
>> typedef int socklen_t;
>> #endif
>> #endif
> 
> And here's the compile error:
> 
>> g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend 
>> -DSUPPORT_EDITLINE -I../include io.cc
>> ../include/unix/EST_socket_unix.h:63: error: conflicting declaration 
>> 'typedef int socklen_t'
>> /usr/include/sys/socket.h:99: error: 'socklen_t' has a previous 
>> declaration as 'typedef __darwin_socklen_t socklen_t'
> 
> My laptop is running 10.4.7 on a 1.67 GHz G4 with the latest Apple 
> developer tools installed. I see that the macro __APPLE_CC__ is defined 
> as 1819 on my machine instead of 1809...
> 

And, FYI, switching to gcc 4.0.1, I see that __APPLE_CC__ is defined as 
5363. Looks like that #if needs something abit more inclusive...

t
> t
> 
> 
> t
> 
> Brian West wrote:
>> To get afplay do this:
>>
>> cd /Developer/Examples/CoreAudio/Services/AudioFileTools
>> xcodebuild
>>
>> /b
>>
>> On Sep 25, 2006, at 2:01 PM, Alan W Black wrote:
>>
>>> message from Alan W Black <awb at cs.cmu.edu> to festival-talk
>>> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>>> Tim Bunnell wrote:
>>>> message from Tim Bunnell <bunnell at asel.udel.edu> to festival-talk
>>>> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>>>> Hi all,
>>>> I'm trying for the first time to install festival & speech_tools on 
>>>> a powerPC mac. I have both gcc 3.3 and gcc 4.0. Which is the 
>>>> preferred compiler for 1.2.96-beta downloaded from Alan's fftest 
>>>> directory?
>>>> Also, I noticed a patch had been posted in August. Is that now in 
>>>> the distributed tarball, or should I apply it?
>>>
>>> Make sure you get the latest version of 1.96, it a rolling version.
>>>
>>> I did put the patches in for OSX in august and they are in there, 
>>> however it does not yet talk to the audio device properly, but does 
>>> otherwise work.  Therefore you need to select an external program to 
>>> play audio.  From Brian West's earlier posting
>>>
>>> > message from Brian West <brian.west at mac.com> to festival-talk
>>> > = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
>>> = =
>>> > Yes that part is still broken.
>>> >
>>> > cd /Developer/Examples/CoreAudio/Services/AudioFileTools
>>> > open AudioFileTools.xcodeproj
>>> >
>>> > compile that. install afplay into your path.
>>> >
>>> > in siteinit.scm
>>> >
>>> > (Parameter.set 'Audio_Required_Format 'riff)
>>> > (Parameter.set 'Audio_Command "afplay $FILE")
>>> > (Parameter.set 'Audio_Method 'Audio_Command)
>>>
>>> Alan
>>>
>>>
>>>> Thanks,
>>>> t
>>>
>>> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>>> =    University of Edinburgh's Festival Speech Synthesis System       =
>>> = http://festvox.org/festival      Sent Via festival-talk at festvox.org =
>>> =                           To unsubscribe mail majordomo at festvox.org =
>>> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>>>
>>
> 

-- 
Head, Speech Research Lab    | Research Associate Professor
duPont Hospital for Children | Computer and Info Sciences/ Linguistics
Voice: 1+302+651-6835        | University of Delaware
Fax:   1+302+651-6895        | URL: www.asel.udel.edu/speech/
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
=    University of Edinburgh's Festival Speech Synthesis System       =
= http://festvox.org/festival      Sent Via festival-talk at festvox.org =
=                           To unsubscribe mail majordomo at festvox.org =
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic