<!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 5.50.4207.2601" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>Hi fellow pd users! 
I apologize in advance if this tutorial has been given in previous posts 
(although I myself was unable to find such thing), but&nbsp;I am so excited 
about the whole thing I feel like I need to share my joy with ya :-D. I finally 
figured out how to compile the darn Gem and make it work on RH 7. So, here's the 
step-by-step install instructions:</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>To install pd part, 
the best thing is to download Karl MacMillan's precompiled version (thanks a lot 
Karl!).</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>this part is 
self-explanatory, but knowing how it felt being a newbie (heck, I am not far 
from that even now :-), I'll do a quick overview of this as 
well:</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>(make sure you are 
logged in as a root or su)</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>1. Download the 
pd-032-PATCH*tar.gz file from Karl's site <A 
href="http://mambo.peabody.jhu.edu/~karlmac/download/"><FONT 
face="Times New Roman" 
size=3>http://mambo.peabody.jhu.edu/~karlmac/download/</FONT></A><FONT 
face="Times New Roman" size=3> </FONT></FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>2. Uncompress it by 
typing tar -zxvf &lt;above file-name&gt; (this can be done in any folder, I used 
/Install folder located in root dir)</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>3. cd pd/src/ (this 
is a newly created dir)</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>4. make clean (this 
part is redundant but just in case something has been altered on your RH 
7)</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>5. make 
install</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>You should now have 
pd installed (try running it by typing "pd"&nbsp;at the 
prompt)</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001>&nbsp;</SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>NOTE: on my system I 
ended up moving pd executable from /usr/local/bin to /usr/lib/pd/ folder by 
typing:</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>mv /usr/local/bin/pd 
/usr/lib/pd/</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>and then created a 
symlink to /usr/local/bin/ in order to avoid "./bin/pd-gui not found error" 
(there might be a&nbsp;more elegant&nbsp;way of doing this so please correct me 
if that is the case). I did this second part by typing:</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>ln -s /usr/lib/pd/pd 
/usr/local/bin/pd</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>So if the above 
mentioned error occurred when you tried to start pd, now it should be gone. Make 
sure not to type ./pd though, since then pd-gui will be searched under 
../bin/pd-gui (two dots in front of /bin folder) which will make cpu not find it 
again.</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>Now, onto the Gem 
install:</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>1. Download 
gem-0.83.tar.gz file from the Gunter Geiger's ftp (not 0.84 since that one 
reports that error I've been battling for over a week now 
:-(</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>2. Uncompress it 
(tar -zxvf &lt;file-name&gt;)</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
2.A Copy the m_pd.h file from your pd-installation/src directory (not the 
/usr/lib/pd one, but the one from which you did make and&nbsp;make 
install)&nbsp;into the gem-0.83/src/Base/ directory overwriting the one that is 
already in there (I am not sure if this is necessary, since I did not try to do 
install without this step, but since the README says so, I made it so&nbsp;:-) 
(actually also the files differ in size, so my assumption is that it does make a 
difference)</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>3. cd 
gem-0.83/src/Gnu</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>4. 
./makeauxlibs</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>5. 
./configure</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>At this point if the 
cpu reports something missing (in my case that was -gltt) and fails to create 
makefiles, go on the <A href="http://www.rpmfind.net">www.rpmfind.net</A> and 
look for "gltt" in the search box. This will "spit-out" a list of available 
rpm's. Download the latest package available preferrably one made for RH7 
distribution, but Suse should do fine in the case RH version is not available (I 
forgot what file I downloaded and currently rpmfind.net is not accessible for 
some reason, neither are any of&nbsp;its mirrors, seems like my isp is acting up 
or something). Also, don't forget to shift-click if you're using Netscape under 
linux when trying to download, and install it by typing (in the folder where you 
have downloaded the package:</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>rpm -Uvh 
gltt*.rpm</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>If there are failed 
dependencies, (in my case there weren't any) then you should look into 
obtaining/updating other involved packages as well using the same process. But, 
if you did not tamper with your RH7 install too much, you should be 
fine.</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>6. try running 
./configure again. This time it should go all the way.</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>7. This is the MOST 
TEDIOUS part of the whole process:</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>type: 
make</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>and every time your 
cpu reports error saying "enum Glenum was not declared" or something like that, 
see what file is being reported as problematic and in which folder (cpu will 
usually say what file has the error and at what line, and also after reporting 
the error it will say "leaving &lt;foldername&gt; folder" which will point out 
as to where the file is located. Go to that folder and open that file in the 
text-editor (I used kwrite for this purpose, but there's no "ultimate" 
text-editor in this case) do a search of "glenum" and wherever you find an 
instance within that file of "enum GLenum" ERASE the "enum" part. There's 
somewhere between 5-15 files that are causing this same issue in several of the 
folders (keep in mind that some of the files have this problem in several 
spots). All of these files&nbsp;are located in the gem-0.83/src/ subfolders. 
Once you are done with correcting this error in one file, always return back to 
gem-0.83/src/Gnu folder and try another "make," which will either bring you to 
completion of this step, or to another problematic file.</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>8. Once you are done 
with the previous step, the program should end-up spitting out Gem.pd_linux 
file.</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>type:&nbsp;make 
install (in the Gnu folder)</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>and your Gem install 
should be done!</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>(I did this step in 
a bit more "clean" way, by doing another "make clean," "make," and then "make 
install"&nbsp;once everything compiled properly, just to make sure everything 
compiled in a single run, and thus making sure there were no inconsistencies 
during the compilation due to changing of the files in the middle of the 
process)</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>9. Try the pd by 
typing (in any folder) pd -lib /usr/lib/pd/externs/Gem</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>This should 
initialize pd and load Gem library (it should give you Gem version on the 
terminal), so go and try one of the examples to see if it works 
:-).</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>That's it! Enjoy! I 
am sure I will :-). Great work Pd&nbsp;developers, this software truly 
rocks!&nbsp;For all of you on this mailing list who are not using RH7 or already 
have Gem up-and-running, I apologize for cluttering your mailbox with this 
e-mail. I just hope some of you will find this e-mail useful, so that my typing 
was not in vain :-). Take care all! Sincerely,</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<P><FONT face=Arial size=2>Ivica "Ico" Bukvic,</FONT> <FONT face=Arial 
size=2>c</FONT><FONT face=Arial size=2>omposer</FONT> <BR><FONT face=Arial 
size=2><A target=_blank 
href="http://meowing.ccm.uc.edu/~ico/">http://meowing.ccm.uc.edu/~ico/</A></FONT> 
<BR><FONT face=Arial size=2><A target=_blank 
href="http://bukvicrh.dyndns.org/ico/">http://bukvicrh.dyndns.org/ico/</A></FONT> 
<BR><FONT face=Arial size=2>ico@fuse.net</FONT> <BR><FONT face=Arial 
size=2>============================</FONT> <BR><FONT face=Arial size=2>"To be is 
to do" - Socrates</FONT> <BR><FONT face=Arial size=2>"To do is to be" - 
Sartre</FONT> <BR><FONT face=Arial size=2>"Do be do be do" - Sinatra</FONT> 
<BR><FONT face=Arial size=2>"Just do it!"&nbsp;&nbsp;&nbsp; - NIKE</FONT> </P>
<DIV><SPAN class=910560705-21022001><FONT face=Arial size=2>P.S. Seems that 
rpmfind.net is back up, so here's the file I used to install gltt: 
gltt-2.5-1-i386.rpm (listed under Libc6 Contribs for i386&nbsp; as a 
Distribution version)</FONT></SPAN></DIV>
<DIV><SPAN class=910560705-21022001><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>