[RTcmix-discuss] RTcmix on Ubuntu i686 compile problems

Peter Traub pmt4u at virginia.edu
Sun Oct 23 14:32:03 EDT 2005


sorry, just getting back on email for the first time in a few days. i've 
been using the daily snapshot from presto.

p

John Gibson wrote:
> I don't think we're going to get to the bottom of this until
> one of us has access to a recent Ubuntu installation.  I have
> an Ubuntu Live CD, but that's for version 4.10, which is
> probably too old to be relevant, right?
>
> Some of the problems you're having probably have to do with my
> quick hack to compile without needing Minc.  This worked on my
> machine, but perhaps some requirements were already built.
>
> One error you have (Option.h: No such file or directory) is what
> you get if you haven't done a make from the top-level RTcmix
> directory, which creates symbolic links in RTcmix/include.
>
> The warnings about tmpnam when building the python front end 
> are not a problem.  I get them also.  It's something wrong
> with python that doesn't matter for us.
>
> What we really have to do is understand why you guys can't
> compile Minc on Ubuntu.
>
> Also, which sources did you get, exactly?  We have a 4.0
> tarball, and then there are nightly cvs snapshots, which
> can be pretty different.
>
>
> "stefan)" <lists at stefanix.net> wrote:
>
>   
>> Besides my little problem with the compilation I would like to thank
>> Brad Garton for stopping by at ITP and showing RTcmix to us. I realized
>> that it would probably suite my needs better than Csound. Unfortunately
>> I have not yet been successful in compiling the sources.
>>
>> I am experiencing a very similar, probably identical, problem as Peter
>> Traub.
>>
>> To recap the problem:
>>
>> [] I downloaded the sources, typed ./configure --with-perl (actually
>> want python but for testing I used perl), make and got the "cannot find
>> -lrtcmix" error.
>> [] I followed the discussion around Peter Traub and verified that I have
>> basically the same setup as Peter with the only difference that my Linux
>> runs on an Intel Laptop (all the same versions of flex, bison, etc.).
>> [] I could reproduce the error message which says something like
>> "yy_current_buffer not declared."
>> [] Along the same line, I could reproduce the error that says something
>> like "parse_with_minc.c:8:20: error: Option.h: No such file or directory"
>> []Since these problems seem MINC related I followed the instruction to
>> strip MINC from RTcmix. In scr/rtcmix I used the Makefile which Peter
>> posted to the list.
>> [] I also could successfully compile the genlib directory but when I
>> then go to src/rtcmix and do a make cleanall; make I get this error:
>>
>> ========[make output]=========
>> [...]
>> g++ -Wno-deprecated -o PMIX -rdynamic RTcmixMain.o main.o
>> /home/noema/temp/rtcmix_uva/RTcmix-4.0/src/rtcmix/profile.o \
>> /home/noema/temp/rtcmix_uva/RTcmix-4.0/src/parser/parse_with_perl.o -L.
>> -Wl,-rpath /home/noema/temp/rtcmix_uva/RTcmix-4.0/lib
>> -L/home/noema/temp/rtcmix_uva/RTcmix-4.0/lib -lrtcmix -lgen `perl
>> -MExtUtils::Embed -e ldopts | sed 's/usr\/local/usr/'`
>> RTcmixMain.o: In function `RTcmixMain':
>> /home/noema/temp/rtcmix_uva/RTcmix-4.0/src/rtcmix/RTcmixMain.cpp:164:
>> undefined reference to `rtprofile'
>> /home/noema/temp/rtcmix_uva/RTcmix-4.0/src/rtcmix/RTcmixMain.cpp:164:
>> undefined reference to `rtprofile'
>> collect2: ld returned 1 exit status
>> make: *** [PMIX] Error 1
>> ===============================
>>
>> Similarily, when I configure with python instead of perl and follow the
>> same prceedure I get the following error. This is even independant from
>> substituting for Peter's Makefile:
>>
>>
>> ========[make output]=========
>> g++ -Wno-deprecated -o PYMIX -rdynamic RTcmixMain.o main.o
>> /home/noema/temp/rtcmix_uva/RTcmix-4.0/src/rtcmix/profile.o \
>> /home/noema/temp/rtcmix_uva/RTcmix-4.0/src/parser/parse_with_python.o
>> -L. -Wl,-rpath /home/noema/temp/rtcmix_uva/RTcmix-4.0/lib
>> -L/home/noema/temp/rtcmix_uva/RTcmix-4.0/lib -lrtcmix -lgen
>> ../parser/python/rtcmixmodule.o `python ../parser/python/print_libpython.py`
>> /usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function
>> `posix_tmpnam':
>> : warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
>> /usr/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function
>> `posix_tempnam':
>> : warning: the use of `tempnam' is dangerous, better use `mkstemp'
>> RTcmixMain.o: In function `RTcmixMain':
>> /home/noema/temp/rtcmix_uva/RTcmix-4.0/src/rtcmix/RTcmixMain.cpp:164:
>> undefined reference to `rtprofile'
>> /home/noema/temp/rtcmix_uva/RTcmix-4.0/src/rtcmix/RTcmixMain.cpp:164:
>> undefined reference to `rtprofile'
>> collect2: ld returned 1 exit status
>> make: *** [PYMIX] Error 1
>> ==================================
>>
>>
>> _______________________________________________
>> RTcmix-discuss mailing list
>> RTcmix-discuss at music.columbia.edu
>> http://music.columbia.edu/mailman/listinfo/rtcmix-discuss
>>     
> _______________________________________________
> RTcmix-discuss mailing list
> RTcmix-discuss at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/rtcmix-discuss
>   



More information about the RTcmix-discuss mailing list