i am trying to setup ubuntustudio , just as directed by the wiki.
i am still on step 1, from this page:
http://ubuntustudio.com/wiki/index.php/Breezy:Studio_Preparation
Installing the Applications
So, first things first. We highly recommend you enable all of the official software repositories. If you aren't sure how to do this, and you haven't changed your sources.list file yet, this is the quickest and easiest way to do it, as well as getting your system up-to-date with security fixes:
sudo -i echo deb http://archive.ubuntu.com/ubuntu/ breezy main restricted universe multiverse > /etc/apt/sources.list echo deb http://security.ubuntu.com/ubuntu/ breezy-security main restricted universe multiverse >> /etc/apt/sources.list echo deb http://archive.ubuntu.com/ubuntu/ breezy-updates main restricted universe multiverse >> /etc/apt/sources.list echo deb-src http://archive.ubuntu.com/ubuntu/ breezy main restricted universe multiverse >> /etc/apt/sources.list echo deb-src http://security.ubuntu.com/ubuntu/ breezy-security main restricted universe multiverse >> /etc/apt/sources.list echo deb-src http://archive.ubuntu.com/ubuntu/ breezy-updates main restricted universe multiverse >> /etc/apt/sources.list apt-get update apt-get dist-upgrade exit
:::
so i run that in the terminal, and it goes about its business of lacating all the bits and pieces...and then asks me:
Need to get 49.4MB of archives. After unpacking 66.8MB of additional disk space will be used. Do you want to continue [Y/n]?
so i just type: y
and then it says: Abort.
*** i tried it again, typing 'yes' / 'Y' / 'YES' / yes, pretty please with a cherry on top...but it just aborts every time.
so when terminal asks me: Do you want to continue [Y/n]?
how do i tell it 'YES' ????
oops...think i have figured it out...well...it's working now anyway.
when i just pasted the 10 lines of code directly into terminal, it didn't work...but by pasting one at a time, it worked.
usually i can just paste all the lines in and it works.
in general, when using terminal, should you paste 1 line at a time?
strange, i've pasted many lines without problems..
going on with this little HOWTO-pd-on-ubuntu:
yesterday I've compiled pd and gem. I had to apt-get install gcc g++ automake make autoconf etc... (sorry i cant' remember the complete list) to get a compiling environment
then pd specific:
sudo apt-get install tcl8.4-dev tk8.4-dev
then I installed stuff to get sources from CVS and SVN
apt-get install cvs subversion
then I checked out pd from CVS
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data co externals
then I moved into the pd/src and ./configure make
and got a nice uptodate pd version
now for gem:
sudo apt-get install libglu1-mesa-dev libjpeg62-dev libtiff4-dev libmpeg-dev libavifile-0.7-dev libmpeg3-dev libquicktime-dev
cd .. cvs -z3 -d:pserver:anonymous@cvs.gem.iem.at:/cvsroot/pd-gem login cvs -z3 -d:pserver:anonymous@cvs.gem.iem.at:/cvsroot/pd-gem checkout Gem GemLibs cd Gem/src ./configure
if you make now you'll get this error
make[1]: Entering directory `/home/davide/CVS-gem/Gem/src/Pixes' g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -mmmx -I/usr/include/quicktime -I/usr/include/avifile-0.7 -I.. recordQT4L.cpp -o recordQT4L.o recordQT4L.cpp: In member function 'virtual int recordQT4L::putFrame(imageStruct*)': recordQT4L.cpp:173: error: 'lqt_add_video_track' was not declared in this scope make[1]: *** [recordQT4L.o] Error 1 make[1]: Leaving directory `/home/davide/CVS-gem/Gem/src/Pixes' make: *** [Pixes] Error 2
my workaround is this:
cd Pixes mv record.cpp record.cpp.removed mv recordQT.cpp recordQT.cpp.removed mv recordQT4L.cpp recordQT4L.cpp.removed cd ..
now I could do
make
and have a nice Gem.pd_linux
if you want to use QuickTime then you may want to avoid this workaround, see this thread: http://lists.puredata.info/pipermail/gem-dev/2006-02/001601.html and follow IOhannes' hints
ciao, davide. ----- Original Message ----- From: hard off To: pd-ot@iem.at Sent: Friday, February 17, 2006 11:15 AM Subject: Re: [PD-ot] setting up ubuntustudio
oops...think i have figured it out...well...it's working now anyway.
when i just pasted the 10 lines of code directly into terminal, it didn't work...but by pasting one at a time, it worked.
usually i can just paste all the lines in and it works.
in general, when using terminal, should you paste 1 line at a time?
------------------------------------------------------------------------------
_______________________________________________ PD-ot mailing list PD-ot@iem.at http://lists.puredata.info/listinfo/pd-ot
is there any way i can just make ROOT and USER as the same thing, and not have to enter my password or get read/write permissions anymore?
i mean...no-one else WANTS to use this computer.
i just ran this script that opens a GEDIT window, and then asks me to paste stuff into the file and 'save as'.....but then it says i can't paste and save because i don't have permission.
i SO much respect you guys for getting linux up and running with audio programs. it's obviously not easy.
hard off wrote:
is there any way i can just make ROOT and USER as the same thing, and not have to enter my password or get read/write permissions anymore?
i mean...no-one else WANTS to use this computer.
thats what most w32-users think too...and that's why there are hardly any exploits, rootkits, trojans and the like.
if you don't like the concept of privilige separation switch to w32 or osX (OSX/Leap-A is just waiting for you...)
seriously, becoming root now and then will not shorten your creative uptime on the long run.
there are a few special cases where becoming root might really be a nuisance (e.g. somebody else needs control over a service but you don't want to give them the root-password; on single user laptops, configuring the wlan might also be ok to reside in user-space); for this, checkout sudo.
mfg.asdr IOhannes
Hallo, hard off hat gesagt: // hard off wrote:
is there any way i can just make ROOT and USER as the same thing, and not have to enter my password or get read/write permissions anymore?
i mean...no-one else WANTS to use this computer.
Well, *you* want, or don't you? "root" is not a user, root's a non-user, a meta-user, the super-user. root is very special and should be handled like that. Besides that: Ubuntu doesn't even have a root-user, that you can log in as.
i just ran this script that opens a GEDIT window, and then asks me to paste stuff into the file and 'save as'.....but then it says i can't paste and save because i don't have permission.
You will be glad, that you didn't have permissions if you once have typed "rm -rf *" as root in the wrong directory. Now, really, don't even try to do everything as root. You will get used to doing stuff as yourself very soon.
For getting around the Gedit problem: You should use the "sudo" command to do administrative work. It will only ask you for your password once and then cache it for quite a long time. So doing $ sudo gedit /etc/apt/sources.list and then $ sudo gedit /etc/modpropde.de/alsa-local you will only need to type the password with the first command.
Ciao
ok guys, thanks...your advice is respected.
now to get this sound card working.....grrrr
i must admit....installing, and then learning PD (on os X) was kinda tricky,
but i never really felt THIS dissappointed.. i didn't even wanna touch it today cos yesterday i ended up in a worse spot than when i started (lsusb stopped responding)
i'll stick with it through this week though. hopefully have a working soundcard by the end of that.
Hallo, Davide Morelli hat gesagt: // Davide Morelli wrote:
strange, i've pasted many lines without problems..
going on with this little HOWTO-pd-on-ubuntu:
yesterday I've compiled pd and gem. I had to apt-get install gcc g++ automake make autoconf etc... (sorry i cant' remember the complete list) to get a compiling environment
$ sudo apt-get build-dep puredata $ sudo apt-get build-dep gem
should also work. This will install the build-dependencies for the upstream puredata and gem packages, which should be enough for building CVS-pd as well.
Ciao
i installed pd the other day with no trouble.. that was easy.
but getting a soundcard to run is torture.
i'll try again tomorrow though.
that info you just posted is also really useful though, thanks frank.
Hallo, hard off hat gesagt: // hard off wrote:
i installed pd the other day with no trouble.. that was easy.
but getting a soundcard to run is torture.
Well, you have a tricky one, though at least it is supported. I failed at the M-Audio Quattro...
The Tascam cards should work with little additional work, I managed to do that about two years ago, when I had a Tascam for testing.
I put the firmware files in /usr/share/alsa/firmware/usx2yloader. It should look similar to this:
$ ls -l /usr/share/alsa/firmware/usx2yloader total 812 -rw-r--r-- 1 root root 4996 Feb 1 2004 tascam_loader.ihx -rw-r--r-- 1 root root 85 Feb 1 2004 us122.conf -rw-r--r-- 1 root root 71 Feb 1 2004 us122.prepad -rw-r--r-- 1 root root 198691 Feb 1 2004 us122.rbt -rw-r--r-- 1 root root 18802 Feb 1 2004 us122fw.ihx -rw-r--r-- 1 root root 85 Feb 1 2004 us224.conf -rw-r--r-- 1 root root 70 Feb 1 2004 us224.prepad -rw-r--r-- 1 root root 338384 Feb 1 2004 us224.rbt -rw-r--r-- 1 root root 18748 Feb 1 2004 us224fw.ihx -rw-r--r-- 1 root root 85 Feb 1 2004 us428.conf -rw-r--r-- 1 root root 72 Feb 1 2004 us428.prepad -rw-r--r-- 1 root root 180072 Feb 1 2004 us428.rbt -rw-r--r-- 1 root root 18628 Feb 1 2004 us428fw.ihx -rw-r--r-- 1 root root 71 Jan 27 2004 usx2y.prepad
These are old files, the new stuff should be in the alsa-firmware archive from alsa-project.org
The rest *should* work if you install the Debian package "alsa-firmware-loaders". I'm not sure if this installs cleanly on a Ubuntu system or if there is a version available in Ubuntu's Uni-/Multiverse repository. (I'm currently switching back from Ubuntu to my trusted pure Debian, which suits me better and often is more current than Ubuntu, if I run testing/unstable.)
alsa-firmware-loaders includes all you need to get besides the actual firmware. However /usr/share/doc/alsa-firmware-loaders/usx2yloader/README describes this as well. You could also just download the sources for alsa-firmware and compile the tool on your own. I'll be glad to help with that.
You probably already have hotplug and fxload installed, if not, you need to install them.
Ciao