<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>strange, i've pasted many lines without 
problems..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>going on with&nbsp;this little 
HOWTO-pd-on-ubuntu:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then pd specific:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>sudo apt-get install tcl8.4-dev 
tk8.4-dev</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then I installed stuff to get sources from 
CVS&nbsp;and SVN</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>apt-get install cvs subversion</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then I checked out pd from CVS</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>cvs 
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data login</FONT></DIV>
<DIV><FONT face=Arial size=2>cvs -z3 
-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pure-data co 
externals</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then I moved into the pd/src and</FONT></DIV>
<DIV><FONT face=Arial size=2>./configure</FONT></DIV>
<DIV><FONT face=Arial size=2>make</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and got a nice uptodate pd version</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>now for gem:</FONT></DIV>
<DIV><BR>sudo apt-get install libglu1-mesa-dev libjpeg62-dev libtiff4-dev 
libmpeg-dev libavifile-0.7-dev libmpeg3-dev libquicktime-dev<BR></DIV>
<DIV><FONT face=Arial size=2>cd ..</FONT></DIV>
<DIV><FONT face=Arial size=2>cvs -z3 
-d:pserver:anonymous@cvs.gem.iem.at:/cvsroot/pd-gem login</FONT></DIV>
<DIV><FONT face=Arial size=2>cvs -z3 
-d:pserver:anonymous@cvs.gem.iem.at:/cvsroot/pd-gem checkout Gem 
GemLibs</FONT></DIV>
<DIV><FONT face=Arial size=2>cd Gem/src</FONT></DIV>
<DIV><FONT face=Arial size=2>./configure</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>if you make now you'll get this error</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>make[1]: 
Entering directory `/home/davide/CVS-gem/Gem/src/Pixes'<BR>g++ -c -fPIC -g -O2 
-freg-struct-return -O3 -fno-builtin -falign-loops=16<BR>-funroll-loops 
-ffast-math -mmmx&nbsp; 
-I/usr/include/quicktime<BR>-I/usr/include/avifile-0.7&nbsp;&nbsp; 
-I..&nbsp;&nbsp; recordQT4L.cpp -o recordQT4L.o<BR>recordQT4L.cpp: In member 
function 'virtual 
int<BR>recordQT4L::putFrame(imageStruct*)':<BR>recordQT4L.cpp:173: error: 
'lqt_add_video_track' was not declared in this<BR>scope<BR>make[1]: *** 
[recordQT4L.o] Error 1<BR>make[1]: Leaving directory 
`/home/davide/CVS-gem/Gem/src/Pixes'<BR>make: *** [Pixes] Error 
2</FONT><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>my workaround is this:</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>cd&nbsp;Pixes</FONT></DIV>
<DIV><FONT face=Arial size=2>mv record.cpp record.cpp.removed</FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>mv recordQT.cpp recordQT.cpp.removed</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>mv recordQT4L.cpp 
recordQT4L.cpp.removed</FONT></DIV>
<DIV>cd ..</DIV>
<DIV>&nbsp;</DIV>
<DIV>now I could do</DIV>
<DIV>&nbsp;</DIV></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>make</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and have a nice Gem.pd_linux</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>if you want to use QuickTime then you may want to 
avoid this workaround, see this thread:</FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="http://lists.puredata.info/pipermail/gem-dev/2006-02/001601.html">http://lists.puredata.info/pipermail/gem-dev/2006-02/001601.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2>and follow IOhannes' hints</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ciao,</FONT></DIV>
<DIV><FONT face=Arial size=2>davide.</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=hard.off@gmail.com href="mailto:hard.off@gmail.com">hard off</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=pd-ot@iem.at 
  href="mailto:pd-ot@iem.at">pd-ot@iem.at</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, February 17, 2006 11:15 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [PD-ot] setting up 
  ubuntustudio</DIV>
  <DIV><BR></DIV>oops...think i have figured it out...well...it's working now 
  anyway.<BR><BR><BR>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. 
  <BR><BR>usually i can just paste all the lines in and it works.<BR><BR>in 
  general, when using terminal, should you paste 1 line at a time?<BR><BR><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>PD-ot mailing 
  list<BR>PD-ot@iem.at<BR>http://lists.puredata.info/listinfo/pd-ot<BR></BLOCKQUOTE></BODY></HTML>