Re: [PD-dev] integrating pdlua into Pd-extended
Martin, I think you could put different pkg-config lines in the per-OS section of the Makefile, and that would work for differences between Debian/ Ubuntu, Mac OS X, and Windows liblua. That won't help if different GNU/Linux distros have different names for the lib tho. .hc On Mar 18, 2011, at 5:02 PM, katja wrote: Hello, In the original Makefile.static for pdlua it is defined: lua-5.1.3 This worked for me on OSX. Katja On Fri, Mar 18, 2011 at 7:07 PM, Claude Heiland-Allen > wrote: Hey, On 18/03/11 17:38, Martin wrote: The error actually seems to originate in pkg-config not finding lua5.1: From my limited experience, Lua 5.1 libraries have different names all over the place, even in different GNU/Linux distros (lua51, lua5.1, lua5, lua, ...). A bit of a nightmare. "pkg-config lua --libs" should do it on Mac OS X/Fink. .hc Claude ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev "We have nothing to fear from love and commitment." - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] integrating pdlua into Pd-extended
Hello, In the original Makefile.static for pdlua it is defined: lua-5.1.3 This worked for me on OSX. Katja On Fri, Mar 18, 2011 at 7:07 PM, Claude Heiland-Allen wrote: > Hey, > > > On 18/03/11 17:38, Martin wrote: > >> The error actually seems to originate in pkg-config not finding lua5.1: >> > > From my limited experience, Lua 5.1 libraries have different names all over > the place, even in different GNU/Linux distros (lua51, lua5.1, lua5, lua, > ...). A bit of a nightmare. > > > "pkg-config lua --libs" should do it on Mac OS X/Fink. >>> >>> .hc >>> >> > > Claude > > > ___ > Pd-dev mailing list > Pd-dev@iem.at > http://lists.puredata.info/listinfo/pd-dev > ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] integrating pdlua into Pd-extended
Hey, On 18/03/11 17:38, Martin wrote: The error actually seems to originate in pkg-config not finding lua5.1: From my limited experience, Lua 5.1 libraries have different names all over the place, even in different GNU/Linux distros (lua51, lua5.1, lua5, lua, ...). A bit of a nightmare. "pkg-config lua --libs" should do it on Mac OS X/Fink. .hc Claude ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] integrating pdlua into Pd-extended
The error actually seems to originate in pkg-config not finding lua5.1: make -C /Users/pd/auto-build/pd-extended/externals/loaders/pdlua/src PD_PATH=/Users/pd/auto-build/pd-extended/pd CFLAGS="-DPD -I/Users/pd/auto-build/pd-extended/pd/src -Wall -W -ggdb -I/Users/pd/auto-build/pd-extended/Gem/src -I/sw/include -I/Users/pd/auto-build/pd-extended/externals/pdp/include -DMACOSX -DUNIX -Dunix -DDL_OPEN" compiling pdlua version 0.6 cflags are -DPD -I/Users/pd/auto-build/pd-extended/pd/src -Wall -W -ggdb -I/Users/pd/auto-build/pd-extended/Gem/src -I/sw/include -I/Users/pd/auto-build/pd-extended/externals/pdp/include -DMACOSX -DUNIX -Dunix -DDL_OPEN optcflags are -fast -fPIC -ftree-vectorize -ftree-vectorizer-verbose=2 -march=pentium4 -msse3 -mfpmath=sse Package lua5.1 was not found in the pkg-config search path. Perhaps you should add the directory containing `lua5.1.pc' to the PKG_CONFIG_PATH environment variable No package 'lua5.1' found luacflags are -DVERSION='0.6' ldflags are -mmacosx-version-min=10.4 -bundle -undefined dynamic_lookup -L/sw/lib Not sure how to fix that... Martin On 18/03/11 12:46 PM, Hans-Christoph Steiner wrote: Ok, its built and included, but its not finding the liblua on Mac OS X: /Applications/Pd-0.43.0-extended-20110318.app/Contents/Resources/Scripts/../extra/pdlua/pdlua.pd_darwin: dlopen(/Applications/Pd-0.43.0-extended-20110318.app/Contents/Resources/Scripts/../extra/pdlua/pdlua.pd_darwin, 10): Symbol not found: _lua_type Referenced from: /Applications/Pd-0.43.0-extended-20110318.app/Contents/Resources/Scripts/../extra/pdlua/pdlua.pd_darwin Expected in: dynamic lookup One advantage of actually linking pdlua to liblua is that the embed-macosx-dependencies.sh script will automatically include the needed lib into the Pd-extended package. "pkg-config lua --libs" should do it on Mac OS X/Fink. .hc On Mar 16, 2011, at 4:58 PM, Hans-Christoph Steiner wrote: Hey Martin, Glad to see you are working on getting pdlua integrated into Pd-extended. It is now dying with a linking error on Mac OS X: http://autobuild.puredata.info/auto-build/2011-03-16/logs/2011-03-16_15.50.09_darwin_macosx104-i386_pd-extended.txt pdlua.c:877: warning: comparison between signed and unsigned linking pdlua with -llua5.1 -lc cc -mmacosx-version-min=10.4 -bundle -undefined dynamic_lookup -L/sw/lib -o "pdlua.pd_darwin" "pdlua.o" -llua5.1 -lc /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for: -llua5.1 It looks like you should use -llua.5.1 since the dylib is called /sw/lib/liblua.5.1.dylib .hc I hate it when they say, "He gave his life for his country." Nobody gives their life for anything. We steal the lives of these kids. -Admiral Gene LeRocque "[T]he greatest purveyor of violence in the world today [is] my own government." - Martin Luther King, Jr. ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] add a new tcl file to pd source [was: recentfiles_list explanation]
Good news! Add the file here, like it sounds like you already have: pd/tcl/Makefile.am pd/po/Makefile.am Then manually edit pkgIndex.tcl, I haven't had good luck with pkg_mkIndex.tcl. .hc On Mar 18, 2011, at 12:46 PM, yvan volochine wrote: hi as my work on recent files is nearly done, I'd like to know what's the proper way to add a new *.tcl file to pd source. as I said in the other thread, I added my new file to: pd/tcl/Makefile.am pd/tcl/po/Makefile.am then I ran manually tcl/pkg_mkIndex.tcl and my file ends up in tcl/ pkgIndex.tcl is that the right thing to do ? I'm a Makefile n00b so please tell me if I do something stupid. I cannot provide a patch until I solved this. ps: I found nothing related to this in the developper doc cheers, _y ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
[PD-dev] add a new tcl file to pd source [was: recentfiles_list explanation]
hi as my work on recent files is nearly done, I'd like to know what's the proper way to add a new *.tcl file to pd source. as I said in the other thread, I added my new file to: pd/tcl/Makefile.am pd/tcl/po/Makefile.am then I ran manually tcl/pkg_mkIndex.tcl and my file ends up in tcl/pkgIndex.tcl is that the right thing to do ? I'm a Makefile n00b so please tell me if I do something stupid. I cannot provide a patch until I solved this. ps: I found nothing related to this in the developper doc cheers, _y ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] integrating pdlua into Pd-extended
Ok, its built and included, but its not finding the liblua on Mac OS X: /Applications/Pd-0.43.0-extended-20110318.app/Contents/Resources/ Scripts/../extra/pdlua/pdlua.pd_darwin: dlopen(/Applications/Pd-0.43.0- extended-20110318.app/Contents/Resources/Scripts/../extra/pdlua/ pdlua.pd_darwin, 10): Symbol not found: _lua_type Referenced from: /Applications/Pd-0.43.0-extended-20110318.app/ Contents/Resources/Scripts/../extra/pdlua/pdlua.pd_darwin Expected in: dynamic lookup One advantage of actually linking pdlua to liblua is that the embed- macosx-dependencies.sh script will automatically include the needed lib into the Pd-extended package. "pkg-config lua --libs" should do it on Mac OS X/Fink. .hc On Mar 16, 2011, at 4:58 PM, Hans-Christoph Steiner wrote: Hey Martin, Glad to see you are working on getting pdlua integrated into Pd- extended. It is now dying with a linking error on Mac OS X: http://autobuild.puredata.info/auto-build/2011-03-16/logs/2011-03-16_15.50.09_darwin_macosx104-i386_pd-extended.txt pdlua.c:877: warning: comparison between signed and unsigned linking pdlua with -llua5.1 -lc cc -mmacosx-version-min=10.4 -bundle -undefined dynamic_lookup -L/ sw/lib -o "pdlua.pd_darwin" "pdlua.o" -llua5.1 -lc /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for: -llua5.1 It looks like you should use -llua.5.1 since the dylib is called /sw/ lib/liblua.5.1.dylib .hc I hate it when they say, "He gave his life for his country." Nobody gives their life for anything. We steal the lives of these kids. - Admiral Gene LeRocque "[T]he greatest purveyor of violence in the world today [is] my own government." - Martin Luther King, Jr. ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
[PD-dev] [ pure-data-Patches-3222795 ] fully automate the creation of the translation template.pot
Patches item #3222795, was opened at 2011-03-18 10:19 Message generated for change (Tracker Item Submitted) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3222795&group_id=55736 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: bugfix Status: Open Resolution: None Priority: 5 Private: No Submitted By: Hans-Christoph Steiner (eighthave) Assigned to: Miller Puckette (millerpuckette) Summary: fully automate the creation of the translation template.pot Initial Comment: The gettext tools can automatically generate a translation template file template.pot from the source code, but xgettext gets confused by the strings that are send from C to Tcl. So I added those strings to some fake Tcl files, and now "make po/template.pot" will automatically generate the updated translation template from the source code. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3222795&group_id=55736 ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev