Hello fellow pd users, I am sure you guys get a lot of questions like this one, but honestly I've tried now for over a week to fix this issue and I have exhausted all viable resources except this mailing list. So, I am writing to ya in hope to get some help. =)
Anyhow, the problem I have (under RH 7.0 only, 6.2 compiles ok, although it's a messy workaround) is that even though I install tcl and tk libraries (any version between 8.0 and 8.2 which are the only ones supported by ./configure file) and configure finds them just fine, once the pd is completely compiled, installed, (make, make install in the src dir, and yes, it compiles without any errors) and started by typing "pd" the program reports that it could not find libtcl8.x.so (depending on install), which I have solved by soft-linking these from /usr/local/lib to /usr/lib. Once this is resolved, the execution of pd just hangs and reports nothing, but nothing appears on the screen either. By ctrl+c-ing I get error 2 or something (exact message as if it was unable to find above mentioned libs). There are no errors reported until I press ctrl+c though. Does anyone have a solution to this one?
Is there any way to make ./configure find 8.3 tcl and tk libs, since those come pre-installed with RH7.0, except that they use a bit different .so files (libx8.3.so - notice there's that "x" after lib) and if such thing is possible would these be compatible with the pd itself?
Seems to me that configure should "fail" to create makefile if it would not find any of the tcl and tk libs, since those are crucial for making the app run, thus preventing less experienced users (such as myself :-) of tinkering with non-working makefile. Maybe this should be fixed (I'd be willing to do it as long as someone gives me a bit help with it, since I have a very limited shell-script writing knowledge) :-)
Is there a new version planned which will fix these issues and make the whole install less painfull on the newer releases of the tcl and tk libs? (uninstalling of tclx8.3 from RH distrib is not an option since a lot of other applications depend on that version of package, so I could potentially wreak havoc on my machine by forcing downgrading of the rpm package). Again, I'd be willing in assisting doing so, or even making an extensive install-help file as long as I'd get some assistance so that I can compile the darn thing first. After all, what's the point of writing an install-help file when my own version won't compile properly :-).
Finally, the other bunch :-) of questions pertain to the RH 6.2 (where I've successfully installed pd) and gem install. To me, gem install (Linux version, obviously) seems like a nightmare, is there any more extensive help as to how to make a generic linux install? What I did is as follows:
Did ./makeauxlibs in the /src/Gnu dir Did ./configure In 0.83 versions this sometimes ended-up being successfull (can't remember all of the instances, there were too many of attempts :-), but 0.84 was reporting lack of mpeg libs (which are not being made by ./makeauxlibs) and failed to move on.
From all attempts, I finally got 0.84 version to work by installing debian
mpeglib.rpm (or something similarly named, again, my memory escapes me :) and this got me through the ./config process.
Eventually, I managed to make and make-install file by hacking the install dirs and making them correspond to my install dirs. So, I ended up having /usr/local/pd/ folder with all binaries (except obviously for pd, which was put into /usr/local/bin/ and having Gem.pd-linux executable in the ./externs/ lib. (Gem compiled without any errors)
So, now when I run pd -lib /path/to/gem/externs/Gem (I tried Gem.pd-linux at the end instead of Gem as well), I get the following output:
<prompt>$ pd -lib ./externs/Gem (assuming I am in the pd-install dir)
successfully opened /dev/dsp write-only
successfully reopened /dev/dsp read/write
OSS: sampling rate: wanted 44100, got 44101
OSS: sampling rate: wanted 44100, got 44101
/usr/local/pd/./externs/Gem.pd_linux: /usr/local/pd/./externs/Gem.pd_linux: undefined symbol: OpenMPEG__FP8_IO_FILEP9ImageDesc
./externs/Gem: can't load library
Can anyone tell me what the heck does this mean and how can I potentially fix this? :-) Any help would be greatly appreciated! Also, I'd like to suggest if maybe we could start a new thread where we would discuss install experiences and maybe Linux install instructions itemized by the "flavor" (i.e. Redhat) and version of Linux used by polling all of our experiences in one huge database. If something like this has already been done, I sincerely apologize for posting redundant suggestions. Thank you in advance for all your help! Sincerely,
Ivica "Ico" Bukvic, composer http://meowing.ccm.uc.edu/~ico/ http://bukvicrh.dyndns.org/ico/ ico@fuse.net ============================ "To be is to do" - Socrates "To do is to be" - Sartre "Do be do be do" - Sinatra "Just do it!" - NIKE
Ivica,
I have a fixed up version of PD for Redhat 7 with binary here:
http://mambo.peabody.jhu.edu/~karlmac/download/
Karl
On Mon, 19 Feb 2001, Ivica Bukvic wrote:
Hello fellow pd users, I am sure you guys get a lot of questions like this one, but honestly I've tried now for over a week to fix this issue and I have exhausted all viable resources except this mailing list. So, I am writing to ya in hope to get some help. =)
Anyhow, the problem I have (under RH 7.0 only, 6.2 compiles ok, although it's a messy workaround) is that even though I install tcl and tk libraries (any version between 8.0 and 8.2 which are the only ones supported by ./configure file) and configure finds them just fine, once the pd is completely compiled, installed, (make, make install in the src dir, and yes, it compiles without any errors) and started by typing "pd" the program reports that it could not find libtcl8.x.so (depending on install), which I have solved by soft-linking these from /usr/local/lib to /usr/lib. Once this is resolved, the execution of pd just hangs and reports nothing, but nothing appears on the screen either. By ctrl+c-ing I get error 2 or something (exact message as if it was unable to find above mentioned libs). There are no errors reported until I press ctrl+c though. Does anyone have a solution to this one?
Is there any way to make ./configure find 8.3 tcl and tk libs, since those come pre-installed with RH7.0, except that they use a bit different .so files (libx8.3.so - notice there's that "x" after lib) and if such thing is possible would these be compatible with the pd itself?
Seems to me that configure should "fail" to create makefile if it would not find any of the tcl and tk libs, since those are crucial for making the app run, thus preventing less experienced users (such as myself :-) of tinkering with non-working makefile. Maybe this should be fixed (I'd be willing to do it as long as someone gives me a bit help with it, since I have a very limited shell-script writing knowledge) :-)
Is there a new version planned which will fix these issues and make the whole install less painfull on the newer releases of the tcl and tk libs? (uninstalling of tclx8.3 from RH distrib is not an option since a lot of other applications depend on that version of package, so I could potentially wreak havoc on my machine by forcing downgrading of the rpm package). Again, I'd be willing in assisting doing so, or even making an extensive install-help file as long as I'd get some assistance so that I can compile the darn thing first. After all, what's the point of writing an install-help file when my own version won't compile properly :-).
Finally, the other bunch :-) of questions pertain to the RH 6.2 (where I've successfully installed pd) and gem install. To me, gem install (Linux version, obviously) seems like a nightmare, is there any more extensive help as to how to make a generic linux install? What I did is as follows:
Did ./makeauxlibs in the /src/Gnu dir Did ./configure In 0.83 versions this sometimes ended-up being successfull (can't remember all of the instances, there were too many of attempts :-), but 0.84 was reporting lack of mpeg libs (which are not being made by ./makeauxlibs) and failed to move on.
From all attempts, I finally got 0.84 version to work by installing debian
mpeglib.rpm (or something similarly named, again, my memory escapes me :) and this got me through the ./config process.
Eventually, I managed to make and make-install file by hacking the install dirs and making them correspond to my install dirs. So, I ended up having /usr/local/pd/ folder with all binaries (except obviously for pd, which was put into /usr/local/bin/ and having Gem.pd-linux executable in the ./externs/ lib. (Gem compiled without any errors)
So, now when I run pd -lib /path/to/gem/externs/Gem (I tried Gem.pd-linux at the end instead of Gem as well), I get the following output:
<prompt>$ pd -lib ./externs/Gem (assuming I am in the pd-install dir)
successfully opened /dev/dsp write-only
successfully reopened /dev/dsp read/write
OSS: sampling rate: wanted 44100, got 44101
OSS: sampling rate: wanted 44100, got 44101
/usr/local/pd/./externs/Gem.pd_linux: /usr/local/pd/./externs/Gem.pd_linux: undefined symbol: OpenMPEG__FP8_IO_FILEP9ImageDesc
./externs/Gem: can't load library
Can anyone tell me what the heck does this mean and how can I potentially fix this? :-) Any help would be greatly appreciated! Also, I'd like to suggest if maybe we could start a new thread where we would discuss install experiences and maybe Linux install instructions itemized by the "flavor" (i.e. Redhat) and version of Linux used by polling all of our experiences in one huge database. If something like this has already been done, I sincerely apologize for posting redundant suggestions. Thank you in advance for all your help! Sincerely,
Ivica "Ico" Bukvic, composer http://meowing.ccm.uc.edu/~ico/ http://bukvicrh.dyndns.org/ico/ ico@fuse.net ============================ "To be is to do" - Socrates "To do is to be" - Sartre "Do be do be do" - Sinatra "Just do it!" - NIKE
| Karl W. MacMillan | | Computer Music Department | | Peabody Institute of the Johns Hopkins University | | karlmac@peabody.jhu.edu | | www.peabody.jhu.edu/~karlmac |