| Hi Michael,
Most likely this is due to permissions and not being able to install
into a folder. This thread has gotten quite long, but the complete
thread is accessible here:
http://csound.1045644.n5.nabble.com/OSX-Homebrew-td5723213.html
Have you done:
sudo chmod +a 'user:YOUR_NAME_HERE allow
add_subdirectory,add_file,delete_child,directory_inherit'
/Library/Python/2.7/site-packages
sudo chmod +a 'user:YOUR_NAME_HERE allow
add_subdirectory,add_file,delete_child,directory_inherit'
/Library/Java/Extensions
where YOUR_NAME_HERE is your system user name.
(This info is on the page:
https://sourceforge.net/p/csound/wiki/Homebrew%20OSX/)
You should also run the commands to allow for writing into /usr/local.
Try the above and then reinstall csound. If there are still issues,
try installing with -v, i.e. "brew install --HEAD -v csound".
Good luck!
steven
On Wed, May 15, 2013 at 2:20 PM, Michael wrote:
> Steven Yi gmail.com> writes:
>
>>
>> Hi All,
>>
>> I've put together a homebrew [1] file and was hoping to get some
>> people to test it. If it's working well maybe we can submit it to the
>> homebrew repo. The file is available at:
>>
>> http://www.kunstmusik.com/csound.rb
>>
>> You can try installing it by using:
>>
>> brew install http://www.kunstmusik.com/csound.rb
>>
>> This builds with a source zip I put together from today's GIT (using
>> 'cpack package_source'). If you want to use the latest from GIT
>> (recommended at this point) you can use:
>>
>> brew install --HEAD http://www.kunstmusik.com/csound.rb
>>
>> This should also install the following dependencies:
>>
>> depends_on 'cmake' => :build
>> depends_on 'swig' => :build
>>
>> depends_on 'libsndfile'
>>
>> depends_on 'portaudio' => :recommended
>> depends_on 'portmidi' => :recommended
>> depends_on 'liblo' => :recommended
>> depends_on 'boost' => :recommended
>> depends_on 'libpng' => :recommended
>> depends_on 'stk' => :recommended
>>
>> You can get info on flags by using:
>>
>> brew info http://www.kunstmusik.com/csound.rb
>>
>> and can (or, at least, should) be able to build as a --universal using:
>>
>> brew install --HEAD http://www.kunstmusik.com/csound.rb --universal
>>
>> Some notes:
>>
>> 1) There are likely to be problems. Please report issues here so that
>> we can fix them together. :)
>>
>> 2) The csound cmake file installs things into places that may be
>> protected on your system. The particularly relevant ones are
>> /usr/local, /Library/Python/2.7/site-packages, and
>> /Library/Java/Extensions. Homebrew explains how to deal with the
>> latter 2 directores in [2]. There's info about /usr/local on the
>> homebrew site [1].
>>
>> 3) I'm currently thinking this might be the best way to get everything
>> required to build csound installed on OSX. The idea is that once you
>> install once, you'll have everything you need to also clone Csound's
>> git repo and develop/build/install.
>>
>> Thanks!
>> steven
>>
>> [1] - http://brew.sh/
>> [2] - https://github.com/mxcl/homebrew/wiki/Gems%2C-Eggs-and-Perl-Modules
>>
>> ----------------------------------------------------------------------------
> --
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
>
> Great thing you are doing here Steven!
>
> I just tried the --HEAD version now,
> it all goes well until csound itself,
> it throws an error:
>
> ==> Installing csound
> ==> Cloning git://git.code.sourceforge.net/p/csound/csound6-git
> Cloning into '/Library/Caches/Homebrew/csound--git'...
> remote: Counting objects: 1532, done.
> remote: Compressing objects: 100% (1316/1316), done.
> remote: Total 1532 (delta 288), reused 794 (delta 139)
> Receiving objects: 100% (1532/1532), 13.22 MiB | 1.06 MiB/s, done.
> Resolving deltas: 100% (288/288), done.
> ==> cmake . -DUSE_GETTEXT=0 -
> DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/csound/HEAD -DC
> ==> make install
> Call Stack (most recent call first):
> cmake_install.cmake:56 (INCLUDE)
>
>
> make: *** [install] Error 1
>
> READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
>
> ---
>
> I cannot make much sense of this output,
> I'm no expert in this
>
> I don't know what should I do next
>
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |