confused about compiling

Karl W. MacMillan karlmac at peabody.jhu.edu
Tue Apr 4 01:03:22 CEST 2000


On Mon, 3 Apr 2000, D. Marcus Johnson wrote:

> Hi,
> 
> I am not really clear on how one is supposed to
> compile pd. There are instructions for downloading and
> unpacking it, and for testing but I am unclear on how
> to compile pd. I would appreciate if someone could
> direct me to the proper information.
> 
> In /home/schwaahd/pd-0.27/src I did a :
> 
>   make -f makefile.linux SOUNDDRIVER=ALSA

This is correct, though there should be a symbolic link from makefile ->
makefile.linux, making it possible to edit the makefile and then type
make.

> 
> This made a :  pd  and pd-gui show up in ~/pd-0.27/bin
> 

Then everything compiled correctly.

> I can get pd to sort of turn but it can't seem to find
> the pd-gui. I feel like I am missing some thing basic
> but fundamental. I am new to Linux and PD so sorry if
> this is a really dumb question.
> 

The problem is that PD is trying to guess about the layout of your files
by grabbing the current working directory.  I assume that you added pd/bin
to your path and then typed pd?  If so, this can be solved by starting pd
from the pd/bin directory or installing pd in a different way - by putting
pd in /usr/bin or /usr/local/bin and putting everything else in
/usr/lib/pd and /usr/local/lib/pd respectively.  I think make install will
do this for you but I have not tested it.

> Thank You
> -Darwin
> 
> Redhat 6.1
> ALSA .0.5.6
> Ensoniq AudioPCI/1371
> K6-2 475Mhz
> 

One note - ALSA native support for .5.6 is only available in pd .30 and
must be explicity enable by starting pd with the -alsa flag.  Hope this
helps.

Karl

> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
> 

_____________________________________________________
| Karl W. MacMillan                                 |
| Peabody Institute of the Johns Hopkins University |
| Network and Telecommunications Services           |
| karlmac at peabody.jhu.edu                           |
| 410/659-8297                                      |
-----------------------------------------------------




More information about the Pd-list mailing list