Dear List!
I'm trying to compile sndfiler from svn but I get errors. I need it since I need to play ogg files to an icecast stream. I firts made sure that libsndfile and thread was installed but building sndfiler still results in error..
http://grh.mur.at/software/sndfiler.html
I run Ubuntu 10.04.4 LTS (server) x86_64 PD-extended 0.42.5 from puredata.info
Thanks! Bart
error:
# make -f Makefile.pd_main pd_linux gcc -DUNIX -fPIC -pthread -DPD -DUSE_PD_MAIN -O3 -funroll-loops -Wall -W -Wshadow -Wno-parentheses -Wno-switch -Wno-unused -fomit-frame-pointer -I. -I/usr/include/pdextended -I/usr/local/src/freeswitch/libs/libsndfile/src -I/usr/lib/pd-extended/extra/threadlib/src -o sndfiler.o -c sndfiler.c sndfiler.c: In function ‘sndfiler_read_cb’: sndfiler.c:298: warning: cast to pointer from integer of different size sndfiler.c:299: warning: cast to pointer from integer of different size gcc -DUNIX -fPIC -pthread -DPD -DUSE_PD_MAIN -O3 -funroll-loops -Wall -W -Wshadow -Wno-parentheses -Wno-switch -Wno-unused -fomit-frame-pointer -I. -I/usr/include/pdextended -I/usr/local/src/freeswitch/libs/libsndfile/src -I/usr/lib/pd-extended/extra/threadlib/src -o file_input.o -c file_input.c gcc --export-dynamic -shared -o sndfiler.pd_linux sndfiler.o file_input.o -lc -lm -lsndfile -lvorbisfile /usr/lib/pd-extended/extra/threadlib.pd_linux /usr/bin/ld.bfd.real: cannot find -lsndfile collect2: ld returned 1 exit status make: *** [sndfiler.pd_linux] Error 1
The paths in Makefile.pd_main: # ----------------------------------------------------------
# adjust the next pathes to your system:
# this should point to the directory which contains # m_pd.h and g_canvas.h PD_SCR = /usr/include/pdextended
# this is the pd directory, usually /usr/lib/pd # or c:/pd etc. PD_PATH = /usr/lib/pd-extended
# path of sndfile.h from libsndfile, usually it's in SNDFILE_SRC = /usr/local/src/freeswitch/libs/libsndfile/src
# path to threadlib.h THREADLIB_SRC = /usr/lib/pd-extended/extra/threadlib/src
# path to threadlib.pd_linux/dll/pd_darwin THREADLIB_PATH = $(PD_PATH)/extra
# ----------------------------------------------------------
On 12/15/2012 15:27, Bart Koppe wrote:
Dear List!
I'm trying to compile sndfiler from svn but I get errors. I need it since I need to play ogg files to an icecast stream.
most likely [readanysf~] (which is newer than [sndfiler~]) will do the job as well.
I firts made sure that libsndfile and thread was installed but building sndfiler still results in error..
[...]
/usr/lib/pd-extended/extra/threadlib.pd_linux /usr/bin/ld.bfd.real: cannot find -lsndfile
it seems like the build is not finding libsndfile. did you install the "libsndfile1-dev" package?
fgamsrs IOhannes
On Sat, Dec 15, 2012 at 4:44 PM, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 12/15/2012 15:27, Bart Koppe wrote:
Dear List!
I'm trying to compile sndfiler from svn but I get errors. I need it since I need to play ogg files to an icecast stream.
most likely [readanysf~] (which is newer than [sndfiler~]) will do the job as well.
Yes, found this to in the end. Had some problems with the rdz PPA, but in the end I could install it, and it works!
I firts made sure that libsndfile and thread was installed but building
sndfiler still results in error..
[...]
/usr/lib/pd-extended/extra/**threadlib.pd_linux
/usr/bin/ld.bfd.real: cannot find -lsndfile
it seems like the build is not finding libsndfile. did you install the "libsndfile1-dev" package?
Thanks, that did it! Now I have both options! (sndfiler and readanysf~)
greets. Bart
fgamsrs IOhannes
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
On Sam, 2012-12-15 at 18:42 +0100, Bart Koppe wrote:
On Sat, Dec 15, 2012 at 4:44 PM, IOhannes m zmölnig zmoelnig@iem.at wrote: On 12/15/2012 15:27, Bart Koppe wrote: Dear List!
I'm trying to compile sndfiler from svn but I get errors. I need it since I need to play ogg files to an icecast stream. most likely [readanysf~] (which is newer than [sndfiler~]) will do the job as well.
Yes, found this to in the end. Had some problems with the rdz PPA, but in the end I could install it, and it works!
Do you mind telling me what sort of troubles you had with the PPA? If there is anything to fix, I'd like to fix it [*].
Roman
[*] That said, it's too bad Ubuntu 12.04 (the first very long time release) still has a broken pd-readanysf package. Though the problem is actually fixed upstream, no-one ever pushed the fix through Debian/Ubuntu package management (it seems so overly tedious, but I really should dig into it once).
On Dec 21, 2012, at 4:54 PM, Roman Haefeli wrote:
On Sam, 2012-12-15 at 18:42 +0100, Bart Koppe wrote:
On Sat, Dec 15, 2012 at 4:44 PM, IOhannes m zmölnig zmoelnig@iem.at wrote: On 12/15/2012 15:27, Bart Koppe wrote: Dear List!
I'm trying to compile sndfiler from svn but I get errors. I need it since I need to play ogg files to an icecast stream. most likely [readanysf~] (which is newer than [sndfiler~]) will do the job as well.
Yes, found this to in the end. Had some problems with the rdz PPA, but in the end I could install it, and it works!
Do you mind telling me what sort of troubles you had with the PPA? If there is anything to fix, I'd like to fix it [*].
Roman
[*] That said, it's too bad Ubuntu 12.04 (the first very long time release) still has a broken pd-readanysf package. Though the problem is actually fixed upstream, no-one ever pushed the fix through Debian/Ubuntu package management (it seems so overly tedious, but I really should dig into it once).
It should be possible to get a fixed one uploaded. Seems worthwhile since 12.04 is a long term support release. The first step is to file a bug report on it, and mention that they can just upload the newer version of the package. Then you have to find someone to nag to upload it.
.hc