Re: [PD] [pool] build fails on linux
On Sat, 29 Jan 2011, Thomas Grill wrote: i'd recommend to try the flext build system instead of the autoconf/make. See flext/build.txt for explanations. I can't really comment on linux, my memory has already gone, but i wonder whether there actually is a libpd.a that can be linked in (as tried by the cited command) On an ordinary pd-vanilla or pd-extended on non-Windows, you just remove the -lpd option and you try again. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pool] build fails on linux
Hi Yvan, i'd recommend to try the flext build system instead of the autoconf/make. See flext/build.txt for explanations. I can't really comment on linux, my memory has already gone, but i wonder whether there actually is a libpd.a that can be linked in (as tried by the cited command) gr~~~ 2011/1/25 Yvan Volochine : > hi, > trying to build pool from latest svn (and latest pd git) I get this error: > > make[1]: Entering directory `/home/delf/dev/pool/source' > /bin/bash ../libtool --tag=CXX --mode=link g++ -O2 > -I/usr/local/include/flext -I/home/delf/dev/pure-data/src -no-undefined > -module -shrext .pd_linux -avoid-version -L/usr/local/lib -lpd > -lflext-pd_s -o pool.la -rpath /usr/local/lib pool_la-main.lo > pool_la-pool.lo pool_la-data.lo > libtool: link: g++ -shared -nostdlib > /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o > /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o .libs/pool_la-main.o > .libs/pool_la-pool.o .libs/pool_la-data.o -L/usr/local/lib -lpd > -lflext-pd_s -L/usr/lib/gcc/i486-linux-gnu/4.4.3 > -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib > -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. > -L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s > /usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o > /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o -Wl,-soname > -Wl,pool.pd_linux -o .libs/pool.pd_linux > /usr/bin/ld: cannot find -lpd > collect2: ld returned 1 exit status > make[1]: *** [pool.la] Error 1 > make[1]: Leaving directory `/home/delf/dev/pool/source' > make: *** [all-recursive] Error 1 > zsh: exit 2 make > > am I missing a path or something ? > ./configure --with-sysdir=/PATH/TO/PD/SRC did find pd headers and all, now I > have no idea about what is going wrong... > > any hint is much appreciated, > > cheers, > _y > > ___ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -- Thomas Grill http://g.org ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pool] build fails on linux
On Fri, Jan 28, 2011 at 1:30 PM, Yvan Volochine wrote: > the correct way of building a flext external: > > (assuming pool and flext are in $HOME/dev) > > $ cd $HOME/dev/pool > $ bash ../flext/build.sh pd gcc > # bash ../flext/build.sh pd gcc install lesson learned: read the README until the end ! sorry for the noise... _y ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pool] build fails on linux
On Fri, Jan 28, 2011 at 1:53 AM, Pedro Lopes wrote: > > I recall that some old makefiles found in some externals had a sintax like: > >make pd_linux > instead of > >make > Thus they had multiple make targets inside, and if you type make it would > enter the wrong one (like Win) thanks to all for your hints. I finally made it =) for the sake of the archives, here are my steps and errors: I try by removing "pd" from pool_la_LDFLAGS in pool/source/Makefile (which might be something very stupid !) but somehow [pool] built fine. then using [pool] in pd gave me a "undefined symbol: _ZN17flext_root_singlenwEj" error, which lead me to this thread: http://www.parasitaere-kapazitaeten.net/pipermail/flext/2010-September/000121.html with the correct way of building a flext external: (assuming pool and flext are in $HOME/dev) $ cd $HOME/dev/pool $ bash ../flext/build.sh pd gcc # bash ../flext/build.sh pd gcc install thanks ! _y ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pool] build fails on linux
I recall that some old makefiles found in some externals had a sintax like: >make pd_linux instead of >make Thus they had multiple make targets inside, and if you type make it would enter the wrong one (like Win) On Thu, Jan 27, 2011 at 8:02 PM, wrote: > > You get an error: > /usr/bin/ld: cannot find -lpd > On linux you don't need lpd, it looks like you're compiling a windows > version. > > Martin > > > > > Date: Thu, 27 Jan 2011 19:27:26 +0100 > > From: yvan...@gmail.com > > To: pd-list@iem.at > > Subject: Re: [PD] [pool] build fails on linux > > > > bump ? > > sorry but this is quite boring, I hope I don't miss the obvious :/ > > forgot to say that this error appears on lucid. > > > > ps: also sorry because it looks like my 1st message was a reply to a > > thread although it was not... (and this only on > > lists.puredata.info, weird..) > > > > cheers, > > _y > > > > > > On Tue, Jan 25, 2011 at 2:15 AM, Yvan Volochine > > > wrote: > > hi, > > trying to build pool from latest svn (and latest pd git) I get this > error: > > > > make[1]: Entering directory `/home/delf/dev/pool/source' > > /bin/bash ../libtool --tag=CXX --mode=link g++ -O2 > > -I/usr/local/include/flext -I/home/delf/dev/pure-data/src > > -no-undefined -module -shrext .pd_linux -avoid-version -L/usr/local/lib > > -lpd -lflext-pd_s -o pool.la -rpath /usr/local/lib > > pool_la-main.lo pool_la-pool.lo pool_la-data.lo > > libtool: link: g++ -shared -nostdlib > > /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o > > /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o .libs/pool_la-main.o > > .libs/pool_la-pool.o .libs/pool_la-data.o -L/usr/local/lib -lpd > > -lflext-pd_s -L/usr/lib/gcc/i486-linux-gnu/4.4.3 > > -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib > > -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. > > -L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s > > /usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o > > /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o -Wl,-soname > > -Wl,pool.pd_linux -o .libs/pool.pd_linux > > /usr/bin/ld: cannot find -lpd > > collect2: ld returned 1 exit status > > make[1]: *** [pool.la] Error 1 > > make[1]: Leaving directory `/home/delf/dev/pool/source' > > make: *** [all-recursive] Error 1 > > zsh: exit 2 make > > > > am I missing a path or something ? > > ./configure --with-sysdir=/PATH/TO/PD/SRC did find pd headers and all, > > now I have no idea about what is going wrong... > > > > any hint is much appreciated, > > > > cheers, > > _y > > > > > > ___ Pd-list@iem.at mailing > > list UNSUBSCRIBE and account-management -> > > http://lists.puredata.info/listinfo/pd-list > > ___ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > -- Pedro Lopes (MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pool] build fails on linux
hi the path to pd headers seems to be correct (./configure script does find g_canvas.h etc) m_pd.h is also there. unfortunately I'm not a Makefile expert at all.. cheers, _y 2011/1/27 András Murányi > Hello Yvan, > > i'm no compilation expert, (therefore) i would take a look if there is > indeed an m_pd.h at /PATH/TO/PD/SRC > If yes, the makefile might be broken, if not, you'll have to > set /PATH/TO/PD/SRC to whereever m_pd.h can be found. > Also, i think, the less complicated (which is, an absolute > path) /PATH/TO/PD/SRC, the more bulletproof. > > Andras > > > On Thu, Jan 27, 2011 at 7:27 PM, Yvan Volochine wrote: > >> bump ? >> sorry but this is quite boring, I hope I don't miss the obvious :/ >> forgot to say that this error appears on lucid. >> >> ps: also sorry because it looks like my 1st message was a reply to a >> thread although it was not... (and this only on lists.puredata.info, >> weird..) >> >> cheers, >> _y >> >> >> >> On Tue, Jan 25, 2011 at 2:15 AM, Yvan Volochine wrote: >> >>> hi, >>> trying to build pool from latest svn (and latest pd git) I get this >>> error: >>> >>> make[1]: Entering directory `/home/delf/dev/pool/source' >>> /bin/bash ../libtool --tag=CXX --mode=link g++ -O2 >>> -I/usr/local/include/flext -I/home/delf/dev/pure-data/src -no-undefined >>> -module -shrext .pd_linux -avoid-version -L/usr/local/lib -lpd >>> -lflext-pd_s-o pool.la -rpath /usr/local/lib pool_la-main.lo >>> pool_la-pool.lo pool_la-data.lo >>> libtool: link: g++ -shared -nostdlib >>> /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o >>> /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o .libs/pool_la-main.o >>> .libs/pool_la-pool.o .libs/pool_la-data.o -L/usr/local/lib -lpd >>> -lflext-pd_s -L/usr/lib/gcc/i486-linux-gnu/4.4.3 >>> -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib >>> -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. >>> -L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s >>> /usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o >>> /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o-Wl,-soname >>> -Wl,pool.pd_linux -o .libs/pool.pd_linux >>> /usr/bin/ld: cannot find -lpd >>> collect2: ld returned 1 exit status >>> make[1]: *** [pool.la] Error 1 >>> make[1]: Leaving directory `/home/delf/dev/pool/source' >>> make: *** [all-recursive] Error 1 >>> zsh: exit 2 make >>> >>> am I missing a path or something ? >>> ./configure --with-sysdir=/PATH/TO/PD/SRC did find pd headers and all, >>> now I have no idea about what is going wrong... >>> >>> any hint is much appreciated, >>> >>> cheers, >>> _y >>> >> >> > > > ___ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pool] build fails on linux
You get an error: /usr/bin/ld: cannot find -lpd On linux you don't need lpd, it looks like you're compiling a windows version. Martin > Date: Thu, 27 Jan 2011 19:27:26 +0100 > From: yvan...@gmail.com > To: pd-list@iem.at > Subject: Re: [PD] [pool] build fails on linux > > bump ? > sorry but this is quite boring, I hope I don't miss the obvious :/ > forgot to say that this error appears on lucid. > > ps: also sorry because it looks like my 1st message was a reply to a > thread although it was not... (and this only on > lists.puredata.info, weird..) > > cheers, > _y > > > On Tue, Jan 25, 2011 at 2:15 AM, Yvan Volochine > > wrote: > hi, > trying to build pool from latest svn (and latest pd git) I get this error: > > make[1]: Entering directory `/home/delf/dev/pool/source' > /bin/bash ../libtool --tag=CXX --mode=link g++ -O2 > -I/usr/local/include/flext -I/home/delf/dev/pure-data/src > -no-undefined -module -shrext .pd_linux -avoid-version -L/usr/local/lib > -lpd -lflext-pd_s -o pool.la -rpath /usr/local/lib > pool_la-main.lo pool_la-pool.lo pool_la-data.lo > libtool: link: g++ -shared -nostdlib > /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o > /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o .libs/pool_la-main.o > .libs/pool_la-pool.o .libs/pool_la-data.o -L/usr/local/lib -lpd > -lflext-pd_s -L/usr/lib/gcc/i486-linux-gnu/4.4.3 > -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib > -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. > -L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s > /usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o > /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o -Wl,-soname > -Wl,pool.pd_linux -o .libs/pool.pd_linux > /usr/bin/ld: cannot find -lpd > collect2: ld returned 1 exit status > make[1]: *** [pool.la] Error 1 > make[1]: Leaving directory `/home/delf/dev/pool/source' > make: *** [all-recursive] Error 1 > zsh: exit 2 make > > am I missing a path or something ? > ./configure --with-sysdir=/PATH/TO/PD/SRC did find pd headers and all, > now I have no idea about what is going wrong... > > any hint is much appreciated, > > cheers, > _y > > > ___ Pd-list@iem.at mailing > list UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pool] build fails on linux
Hello Yvan, i'm no compilation expert, (therefore) i would take a look if there is indeed an m_pd.h at /PATH/TO/PD/SRC If yes, the makefile might be broken, if not, you'll have to set /PATH/TO/PD/SRC to whereever m_pd.h can be found. Also, i think, the less complicated (which is, an absolute path) /PATH/TO/PD/SRC, the more bulletproof. Andras On Thu, Jan 27, 2011 at 7:27 PM, Yvan Volochine wrote: > bump ? > sorry but this is quite boring, I hope I don't miss the obvious :/ > forgot to say that this error appears on lucid. > > ps: also sorry because it looks like my 1st message was a reply to a thread > although it was not... (and this only on lists.puredata.info, weird..) > > cheers, > _y > > > > On Tue, Jan 25, 2011 at 2:15 AM, Yvan Volochine wrote: > >> hi, >> trying to build pool from latest svn (and latest pd git) I get this error: >> >> make[1]: Entering directory `/home/delf/dev/pool/source' >> /bin/bash ../libtool --tag=CXX --mode=link g++ -O2 >> -I/usr/local/include/flext -I/home/delf/dev/pure-data/src -no-undefined >> -module -shrext .pd_linux -avoid-version -L/usr/local/lib -lpd >> -lflext-pd_s-o pool.la -rpath /usr/local/lib pool_la-main.lo >> pool_la-pool.lo pool_la-data.lo >> libtool: link: g++ -shared -nostdlib >> /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o >> /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o .libs/pool_la-main.o >> .libs/pool_la-pool.o .libs/pool_la-data.o -L/usr/local/lib -lpd >> -lflext-pd_s -L/usr/lib/gcc/i486-linux-gnu/4.4.3 >> -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib >> -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. >> -L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s >> /usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o >> /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o-Wl,-soname >> -Wl,pool.pd_linux -o .libs/pool.pd_linux >> /usr/bin/ld: cannot find -lpd >> collect2: ld returned 1 exit status >> make[1]: *** [pool.la] Error 1 >> make[1]: Leaving directory `/home/delf/dev/pool/source' >> make: *** [all-recursive] Error 1 >> zsh: exit 2 make >> >> am I missing a path or something ? >> ./configure --with-sysdir=/PATH/TO/PD/SRC did find pd headers and all, now >> I have no idea about what is going wrong... >> >> any hint is much appreciated, >> >> cheers, >> _y >> > > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] [pool] build fails on linux
bump ? sorry but this is quite boring, I hope I don't miss the obvious :/ forgot to say that this error appears on lucid. ps: also sorry because it looks like my 1st message was a reply to a thread although it was not... (and this only on lists.puredata.info, weird..) cheers, _y On Tue, Jan 25, 2011 at 2:15 AM, Yvan Volochine wrote: > hi, > trying to build pool from latest svn (and latest pd git) I get this error: > > make[1]: Entering directory `/home/delf/dev/pool/source' > /bin/bash ../libtool --tag=CXX --mode=link g++ -O2 > -I/usr/local/include/flext -I/home/delf/dev/pure-data/src -no-undefined > -module -shrext .pd_linux -avoid-version -L/usr/local/lib -lpd > -lflext-pd_s-o pool.la -rpath /usr/local/lib pool_la-main.lo > pool_la-pool.lo pool_la-data.lo > libtool: link: g++ -shared -nostdlib > /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o > /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o .libs/pool_la-main.o > .libs/pool_la-pool.o .libs/pool_la-data.o -L/usr/local/lib -lpd > -lflext-pd_s -L/usr/lib/gcc/i486-linux-gnu/4.4.3 > -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib > -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. > -L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s > /usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o > /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o-Wl,-soname > -Wl,pool.pd_linux -o .libs/pool.pd_linux > /usr/bin/ld: cannot find -lpd > collect2: ld returned 1 exit status > make[1]: *** [pool.la] Error 1 > make[1]: Leaving directory `/home/delf/dev/pool/source' > make: *** [all-recursive] Error 1 > zsh: exit 2 make > > am I missing a path or something ? > ./configure --with-sysdir=/PATH/TO/PD/SRC did find pd headers and all, now > I have no idea about what is going wrong... > > any hint is much appreciated, > > cheers, > _y > ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] [pool] build fails on linux
hi, trying to build pool from latest svn (and latest pd git) I get this error: make[1]: Entering directory `/home/delf/dev/pool/source' /bin/bash ../libtool --tag=CXX --mode=link g++ -O2 -I/usr/local/include/flext -I/home/delf/dev/pure-data/src -no-undefined -module -shrext .pd_linux -avoid-version -L/usr/local/lib -lpd -lflext-pd_s-o pool.la -rpath /usr/local/lib pool_la-main.lo pool_la-pool.lo pool_la-data.lo libtool: link: g++ -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.3/crtbeginS.o .libs/pool_la-main.o .libs/pool_la-pool.o .libs/pool_la-data.o -L/usr/local/lib -lpd -lflext-pd_s -L/usr/lib/gcc/i486-linux-gnu/4.4.3 -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.3/../../.. -L/usr/lib/i486-linux-gnu -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-linux-gnu/4.4.3/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crtn.o-Wl,-soname -Wl,pool.pd_linux -o .libs/pool.pd_linux /usr/bin/ld: cannot find -lpd collect2: ld returned 1 exit status make[1]: *** [pool.la] Error 1 make[1]: Leaving directory `/home/delf/dev/pool/source' make: *** [all-recursive] Error 1 zsh: exit 2 make am I missing a path or something ? ./configure --with-sysdir=/PATH/TO/PD/SRC did find pd headers and all, now I have no idea about what is going wrong... any hint is much appreciated, cheers, _y ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list