[RTcmix-discuss] How to force RTcmix to install to /usr/local
?
David Topper
topper at virginia.edu
Thu Feb 9 11:59:47 EST 2006
Hi Simeon,
Sounds like something is mucked in your makefile. You might want to try
overwriting the variables therein ... or passing args to ./configure ...
or just editing makefile.conf to point to the correct places.
DT
Simeon Fitch wrote:
>RTcmix-ers:
>
>I am working on a perceptual psychology experiment (@ UVa), using
>RTcmix to generate auditory stimulus. To simplify installation on the
>testing hardware, I started putting together a MacOS X package that
>would install RTcmix in /usr/local. Despite running configure with a
>installation prefix installation, when I run "make install" it still
>installs to the build directory.
>
>This wouldn't be so much of a problem since I could manually copy all
>the files from RTcmix-4.0/bin to /usr/local/bin. However due to the
>way libtool works (which I find irritating), the search paths for the
>shared libraries are "hard coded" into the binaries.
>
>For example, after copying CMIX to /usr/local/bin:
>
>------------------------
>Marimba:~ sfitch$ otool -L /usr/local/bin/CMIX
>/usr/local/bin/CMIX:
> /Users/sfitch/Coding/RTcmix-4.0/lib/librtcmix.dylib
>(compatibility version 0.0.0, current version 0.0.0)
> /Users/sfitch/Coding/RTcmix-4.0/lib/libgen.dylib
>(compatibility version 0.0.0, current version 0.0.0)
><snip>
>------------------------
>
>Similarly, the dynamic modules have the same dependency:
>
>------------------------
>Marimba:~/Coding sfitch$ otool -L RTcmix-4.0/shlib/libWAVETABLE.so
>RTcmix-4.0/shlib/libWAVETABLE.so:
> /Users/sfitch/Coding/RTcmix-4.0/lib/libgen.dylib
>(compatibility version 0.0.0, current version 0.0.0)
> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
>(compatibility version 1.0.0, current version 1.0.0)
><snip>
>------------------------
>
>Normally these paths are "re-wired" when you do a "make install" by
>the libtool installation script. But since "make install" appears to
>be ignoring the prefix spec, this isn't happening.
>
>So, is there some other approach I should take to generate a more
>portable build layout? How are other users handling this, or is it
>assumed that every user creates their own binary installation.
>
>I'm building on MacOS X.4, with gcc powerpc-apple-darwin8-gcc-4.0.1
>
>Many thanks for your help!
>
>Simeon
>
>--
>Simeon H.K. Fitch, Owner
>Mustard Seed Software
>Charlottesville, VA 22901
>_______________________________________________
>RTcmix-discuss mailing list
>RTcmix-discuss at music.columbia.edu
>http://music.columbia.edu/mailman/listinfo/rtcmix-discuss
>
>
--
Technical Director - Virginia Center for Computer Music
http://www.virginia.edu/music/VCCM/
More information about the RTcmix-discuss
mailing list