The 'puredata' command comes from the Debian packaging.  The Pd source code 
will only install a 'pd' command.

.hc

On Jan 12, 2012, at 2:15 PM, Matteo Sisti Sette wrote:

> Hi,
> 
> On Ubuntu 11.10, I had pd 0.43 installed (it had been a long time since the 
> last time I had used it and it used to be 0.42, so not sure when I switched 
> to 0.43... either it has been automatically updated through Synaptic, or I 
> had installed 0.43 to give it a try on linux though I knew it was unstable on 
> Mac and Windows)
> 
> Anyway, now I've downloaded the sources for 0.43.1 (there's no prebuilt 
> ubuntu package, is there?). I've built it and installed it, apparently with 
> success ("Pd install succeeded").
> 
> However, when I run it as "puredata", it still runs the old 0.43.0.
> Is the binary installed somewhere else than usual? Or maybe something went 
> wrong silently during installation?
> 
> 
> Hmm actually there seem to be some error in the output from "make install", 
> maybe the "install succeeded" message is just a fake?
> 
> I entered the src directory and did:
>  ./configure   => no errors
>  make  => no errors
>  make install
> 
> I attach the output from "make install" below. This part scares me:
> 
> ...
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/stdout'
> install -d /usr/local/lib/pd/bin
> install ../bin/ /usr/local/lib/pd/bin/
> install: omitting directory `../bin/'
> make: [install] Error 1 (ignored)
> install ../bin/pd-watchdog /usr/local/lib/pd/bin/pd-watchdog
> ...
> 
> or is it fine??
> 
> thanks
> m.
> 
> 
> 
> $ sudo make install
> [sudo] password for teo:
> cd ../obj;  cc -Wl,-export-dynamic -lasound  -o ../bin/pd g_canvas.o 
> g_graph.o g_text.o g_rtext.o g_array.o g_template.o g_io.o g_scalar.o 
> g_traversal.o g_guiconnect.o g_readwrite.o g_editor.o g_all_guis.o g_bang.o 
> g_hdial.o g_hslider.o g_mycanvas.o g_numbox.o g_toggle.o g_vdial.o 
> g_vslider.o g_vumeter.o m_pd.o m_class.o m_obj.o m_atom.o m_memory.o 
> m_binbuf.o m_c since before I upgraded from 10.10, and I used to use pd 
> 0.42onf.o m_glob.o m_sched.o s_main.o s_inter.o s_file.o s_print.o s_loader.o 
> s_path.o s_entry.o s_audio.o s_midi.o s_utf8.o d_ugen.o d_ctl.o 
> d_arithmetic.o d_osc.o d_filter.o d_dac.o d_misc.o d_math.o d_fft.o d_array.o 
> d_global.o d_delay.o d_resample.o x_arithmetic.o x_connective.o x_interface.o 
> x_midi.o x_misc.o x_time.o x_acoustics.o x_net.o x_qlist.o x_gui.o x_list.o 
> d_soundfile.o s_midi_oss.o s_audio_oss.o s_audio_alsa.o s_audio_alsamm.o 
> s_midi_alsa.o d_fft_mayer.o d_fftroutine.o  -ldl -lm -lpthread -lasound
> cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses 
> -Wno-switch -DHAVE_LIBDL -DUNIX -DHAVE_UNISTD_H -DPDGUIDIR=\"tcl/\"         
> -fno-strict-aliasing -DPA_USE_OSS -DUSEAPI_OSS -DPA_USE_ALSA -DUSEAPI_ALSA 
> -O6 -funroll-loops -fomit-frame-pointer -D_LARGEFILE64_SOURCE  -o 
> ../bin/pd-watchdog s_watchdog.c
> cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses 
> -Wno-switch -DHAVE_LIBDL -DUNIX -DHAVE_UNISTD_H -DPDGUIDIR=\"tcl/\"         
> -fno-strict-aliasing -DPA_USE_OSS -DUSEAPI_OSS -DPA_USE_ALSA -DUSEAPI_ALSA 
> -O6 -funroll-loops -fomit-frame-pointer -D_LARGEFILE64_SOURCE   -o 
> ../bin/pdreceive u_pdreceive.c
> u_pdreceive.c: In function ‘tcpmakeoutput’:
> u_pdreceive.c:231:22: warning: ignoring return value of ‘write’, declared 
> with attribute warn_unused_result [-Wunused-result]
> make -C ../extra/bonk~
> make[1]: Entering directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/bonk~'
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/bonk~'
> make -C ../extra/choice
> make[1]: Entering directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/choice'
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/choice'
> make -C ../extra/expr~
> make[1]: Entering directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/expr~'
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/expr~'
> make -C ../extra/fiddle~
> make[1]: Entering directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/fiddle~'
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/fiddle~'
> make -C ../extra/loop~
> make[1]: Entering directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/loop~'
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/loop~'
> make -C ../extra/lrshift~
> make[1]: Entering directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/lrshift~'
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/lrshift~'
> make -C ../extra/pique
> make[1]: Entering directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/pique'
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/pique'
> make -C ../extra/sigmund~
> make[1]: Entering directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/sigmund~'
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/sigmund~'
> make -C ../extra/pd~
> make[1]: Entering directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/pd~'
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/pd~'
> make -C ../extra/stdout
> make[1]: Entering directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/stdout'
> make[1]: Nothing to be done for `current'.
> make[1]: Leaving directory 
> `/media/DATA/downloads/programmi/pd-0.43-1/extra/stdout'
> install -d /usr/local/lib/pd/bin
> install ../bin/ /usr/local/lib/pd/bin/
> install: omitting directory `../bin/'
> make: [install] Error 1 (ignored)
> install ../bin/pd-watchdog /usr/local/lib/pd/bin/pd-watchdog
> install -d /usr/local/bin
> install -m755 ../bin/pd /usr/local/bin/pd
> install -m755 ../bin/pdsend /usr/local/bin/pdsend
> install -m755 ../bin/pdreceive /usr/local/bin/pdreceive
> install -d /usr/local/lib/pd/tcl
> install ../tcl/* /usr/local/lib/pd/tcl
> for dir in 1.manual 2.control.examples 3.audio.examples 4.data.structures 
> 5.reference 6.externs 7.stuff sound; do \
>               echo "installing $dir"; \
>               install -d /usr/local/lib/pd/doc/$dir ; \
>               install -m644 -p ../doc/$dir/*.* /usr/local/lib/pd/doc/$dir ; \
>       done
> installing 1.manual
> installing 2.control.examples
> installing 3.audio.examples
> installing 4.data.structures
> installing 5.reference
> installing 6.externs
> installing 7.stuff
> install: cannot stat `../doc/7.stuff/*.*': No such file or directory
> installing sound
> for dir in soundfile-tools synth tools; do \
>               echo "installing 7.stuff/$dir"; \
>               install -d /usr/local/lib/pd/doc/7.stuff/$dir ; \
>               install -m644 -p ../doc/7.stuff/$dir/*.* \
>                    /usr/local/lib/pd/doc/7.stuff/$dir ; \
>       done
> installing 7.stuff/soundfile-tools
> installing 7.stuff/synth
> installing 7.stuff/tools
> mv /usr/local/lib/pd/doc/1.manual/1.introduction.txt 
> /usr/local/lib/pd/doc/1.manual/1.introduction.txt.tmp
> cat /usr/local/lib/pd/doc/1.manual/1.introduction.txt.tmp | sed 
> 's|PD_VERSION|Pd version 0.43.1|' \
>               > /usr/local/lib/pd/doc/1.manual/1.introduction.txt
> rm /usr/local/lib/pd/doc/1.manual/1.introduction.txt.tmp
> cp -pr ../extra /usr/local/lib/pd/
> rm -f /usr/local/lib/pd/extra/*/*.o
> install -d /usr/local/include
> install -m644 m_pd.h /usr/local/include/m_pd.h
> install -d /usr/local/share/man/man1
> gzip < ../man/pd.1 >  /usr/local/share/man/man1/pd.1.gz
> chmod 644 /usr/local/share/man/man1/pd.1.gz
> gzip < ../man/pdsend.1 >  /usr/local/share/man/man1/pdsend.1.gz
> chmod 644 /usr/local/share/man/man1/pdsend.1.gz
> gzip < ../man/pdreceive.1 >  /usr/local/share/man/man1/pdreceive.1.gz
> chmod 644 /usr/local/share/man/man1/pdreceive.1.gz
> Pd install succeeded.
> 
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list





----------------------------------------------------------------------------

Programs should be written for people to read, and only incidentally for 
machines to execute.
 - from Structure and Interpretation of Computer Programs


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to