[CM] [fomus-user] 0.1.12-alpha

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Wed Dec 8 16:06:34 PST 2010


On 12/08/2010 02:51 PM, Heinrich Taube wrote:
> fwiw i built and installed fomus under my home directory on ccrma-gate 
> a few days ago (~hkt/Software/)
ccrma-gate is not running fc14, the problem is probably a newer version 
of gcc in fc14 that is more strict with types.

-- Fernando

>
> On Dec 8, 2010, at 4:27 PM, Fernando Lopez-Lezcano wrote:
>
>> On 12/04/2010 01:24 AM, David Psenicka wrote:
>>> This release includes major fixes involving compound meter/time
>>> signatures, detached marks and mark events, as well many minor fixes 
>>> and
>>> more documentation additions and revisions. Thanks again for everyone's
>>> bug reports, suggestions and help.
>>
>> I'm trying to build on fc14:
>>
>> ----
>> exec.cc: In function 'execout::execpid execout::exec(execout::execout*,
>> const char*, const std::vector<std::basic_string<char> >&, const
>> module_list&, const char*)':
>> exec.cc:81:75: error: no matching function for call to
>> 'boost::iostreams::file_descriptor_source::file_descriptor_source(int&,
>> bool)'
>> /usr/include/boost/iostreams/device/file_descriptor.hpp:197:5: note:
>> candidates are:
>> boost::iostreams::file_descriptor_source::file_descriptor_source(const
>> boost::iostreams::file_descriptor_source&)
>> /usr/include/boost/iostreams/device/file_descriptor.hpp:187:14: note:
>>
>> boost::iostreams::file_descriptor_source::file_descriptor_source(const
>> char*, std::ios_base::openmode)
>> /usr/include/boost/iostreams/device/file_descriptor.hpp:183:14: note:
>>
>> boost::iostreams::file_descriptor_source::file_descriptor_source(const
>> std::string&, std::ios_base::openmode)
>> /usr/include/boost/iostreams/device/file_descriptor.hpp:169:14: note:
>>
>> boost::iostreams::file_descriptor_source::file_descriptor_source(boost::iostreams::file_descriptor_source::handle_type, 
>>
>> boost::i\
>> ostreams::file_descriptor_flags)
>> /usr/include/boost/iostreams/device/file_descriptor.hpp:166:5: note:
>>
>> boost::iostreams::file_descriptor_source::file_descriptor_source()
>> m
>> ----
>>
>> Would this be an appropriate patch? (it builds with this applied but I
>> have not tested it):
>>
>> ----
>> --- fomus-0.1.12-alpha/src/lib/mod/out/exec.cc~ 2010-04-22
>> 00:30:37.000000000 -0400
>>
>>
>> +++ fomus-0.1.12-alpha/src/lib/mod/out/exec.cc  2010-12-08
>> 16:26:11.000000000 -0500
>>
>>
>> @@ -78,7 +78,7 @@
>>      }
>>
>>
>>      if (close(tmpstdin[1]) < 0) throw execerr(); // PARENT PROCESS
>>
>>
>>      if (out) {
>>
>>
>> -      out->open(boost::iostreams::file_descriptor_source(tmpstdin[0],
>> true)); // open for reading
>>
>> +      out->open(boost::iostreams::file_descriptor_source((const
>> std::string&)tmpstdin[0], (std::ios_base::openmode)true)); // open for
>> reading
>>
>>      } else {
>>
>>
>>        int nl = open("/dev/null", O_WRONLY);
>>
>>
>>        if (nl < 0) throw execerr();
>>
>>
>> ----
>>
>> -- Fernando
>>



More information about the Cmdist mailing list