[PD] Compiling...

Hans-Christoph Steiner hans at at.or.at
Fri Jul 8 20:22:32 CEST 2011


I think you want to do this:

sudo apt-get install liblua5.1-0-dev

.hc

On Wed, 06 Jul 2011 17:42 -0300, "Mario Mey" <mariomey at gmail.com> wrote:
> Ok remeve gem and gem2pdp. Now, I have these last lines:
> 
> /[...]
> chmod a-x "helplink.pd_linux"
> make[3]: se sale del directorio «/home/mario/pd-extended/externals/pddp»
> make -C /home/mario/pd-extended/externals/loaders/pdlua/src 
> PD_PATH=/home/mario/pd-extended/pd CFLAGS="-DPD 
> -I/home/mario/pd-extended/pd/src -Wall -W -ggdb 
> -I/home/mario/pd-extended/externals/Gem 
> -I/home/mario/pd-extended/externals/pdp/include -DUNIX -Dunix -DDL_OPEN 
> -fPIC"
> make[3]: se ingresa al directorio 
> «/home/mario/pd-extended/externals/loaders/pdlua/src»
> compiling pdlua version 0.6
> cflags are -DPD -I/home/mario/pd-extended/pd/src -Wall -W -ggdb 
> -I/home/mario/pd-extended/externals/Gem 
> -I/home/mario/pd-extended/externals/pdp/include -DUNIX -Dunix -DDL_OPEN 
> -fPIC
> optcflags are -O2
> luacflags are -DVERSION='0.6' -I/usr/include/lua5.1
> ldflags are  -Wl,--export-dynamic  -shared -fPIC
> libs are -llua5.1   -lc
> cc -DPD -I/home/mario/pd-extended/pd/src -Wall -W -ggdb 
> -I/home/mario/pd-extended/externals/Gem 
> -I/home/mario/pd-extended/externals/pdp/include -DUNIX -Dunix -DDL_OPEN 
> -fPIC -O2 -DVERSION='"0.6"' -I/usr/include/lua5.1  -o "pdlua.o" -c
> "pdlua.c"
> *pdlua.c:40:17: fatal error: lua.h: No existe el fichero o el directorio*
> *compilation terminated.
> *make[3]: *** [pdlua.o] Error 1
> make[3]: se sale del directorio 
> «/home/mario/pd-extended/externals/loaders/pdlua/src»
> make[2]: *** [loaders-pdlua] Error 2
> make[2]: se sale del directorio «/home/mario/pd-extended/externals»
> make[1]: *** [externals_install] Error 2
> make[1]: se sale del directorio «/home/mario/pd-extended/packages»
> make: *** [install] Error 2
> mario at Mario-PK3D:~/pd-extended/packages/linux_make$ /
> 
> 
> El 06/07/11 13:22, Hans-Christoph Steiner escribió:
> > That error is from compiling Gem:
> >
> > make[5]: se sale del directorio
> > «/home/mario/pd-extended/externals/Gem/src»
> >
> > So it seems that Gem is still being built.  You'll also want to remove
> > gem2pdp
> >
> > .hc
> >
> > On Wed, 06 Jul 2011 04:21 -0300, "Mario Mey"<mariomey at gmail.com>  wrote:
> >> I remove the gem from that file... and the same error...
> >>
> >>
> >>
> >>
> >>
> >> El 05/07/11 23:36, Hans-Christoph Steiner escribió:
> >>> Gem is currently broken on GNU/Linux and IOhannes is on vacation.  To
> >>> make a build, remove 'gem' from LIB_TARGETS in
> >>> pd-extended/externals/Makefile and the rest should build.
> >>>
> >>> .hc
> >>>
> >>> On Jul 4, 2011, at 11:47 PM, Mario Mey wrote:
> >>>
> >>>> Trying to compile PureData, SVN, on Ubuntu 11.04 AMD64, following the
> >>>> instruction from the page http://puredata.info/docs/developer, I did:
> >>>>
> >>>> 1.- rsync from the auto-build farm (from
> >>>> http://puredata.info/docs/developer/GettingPdSource)
> >>>>      rsync -av --delete rsync://128.238.56.50/distros/pd-extended/
> >>>> pd-extended/
> >>>>
> >>>> 2.- Preparing Ubuntu: http://puredata.info/docs/developer/UbuntuMaverick
> >>>>
> >>>> 3.- Building PD-Extended:
> >>>> http://puredata.info/docs/developer/BuildingPdExtended
> >>>>
> >>>> But there's no .tar.bz2 or .deb on
> >>>> pure-data/packages/linux-make/build... These are the last lines while
> >>>> compilling. What should I do? I don't understand...
> >>>>
> >>>> /[...]
> >>>> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++
> >>>> -DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DPD
> >>>> -I/home/mario/pd-extended/pd/src  -DHAVE_S_STUFF_H -O2
> >>>> -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
> >>>> -funroll-loops -ffast-math -mmmx -MT libGem_la-SynchedWorkerThread.lo
> >>>> -MD -MP -MF .deps/libGem_la-SynchedWorkerThread.Tpo -c -o
> >>>> libGem_la-SynchedWorkerThread.lo `test -f 'SynchedWorkerThread.cpp'
> >>>> || echo './'`SynchedWorkerThread.cpp
> >>>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src
> >>>> -DPD -I/home/mario/pd-extended/pd/src -DHAVE_S_STUFF_H -O2
> >>>> -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
> >>>> -funroll-loops -ffast-math -mmmx -MT libGem_la-SynchedWorkerThread.lo
> >>>> -MD -MP -MF .deps/libGem_la-SynchedWorkerThread.Tpo -c
> >>>> SynchedWorkerThread.cpp  -fPIC -DPIC -o
> >>>> .libs/libGem_la-SynchedWorkerThread.o
> >>>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src
> >>>> -DPD -I/home/mario/pd-extended/pd/src -DHAVE_S_STUFF_H -O2
> >>>> -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
> >>>> -funroll-loops -ffast-math -mmmx -MT libGem_la-SynchedWorkerThread.lo
> >>>> -MD -MP -MF .deps/libGem_la-SynchedWorkerThread.Tpo -c
> >>>> SynchedWorkerThread.cpp -o libGem_la-SynchedWorkerThread.o>/dev/null
> >>>> 2>&1
> >>>> mv -f .deps/libGem_la-SynchedWorkerThread.Tpo
> >>>> .deps/libGem_la-SynchedWorkerThread.Plo
> >>>> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++
> >>>> -DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DPD
> >>>> -I/home/mario/pd-extended/pd/src  -DHAVE_S_STUFF_H -O2
> >>>> -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
> >>>> -funroll-loops -ffast-math -mmmx -MT libGem_la-WorkerThread.lo -MD
> >>>> -MP -MF .deps/libGem_la-WorkerThread.Tpo -c -o
> >>>> libGem_la-WorkerThread.lo `test -f 'WorkerThread.cpp' || echo
> >>>> './'`WorkerThread.cpp
> >>>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src
> >>>> -DPD -I/home/mario/pd-extended/pd/src -DHAVE_S_STUFF_H -O2
> >>>> -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps
> >>>> -funroll-loops -ffast-math -mmmx -MT libGem_la-WorkerThread.lo -MD
> >>>> -MP -MF .deps/libGem_la-WorkerThread.Tpo -c WorkerThread.cpp  -fPIC
> >>>> -DPIC -o .libs/libGem_la-WorkerThread.o
> >>>> WorkerThread.cpp: In member function ‘bool
> >>>> gem::thread::WorkerThread::PIMPL::start()’:
> >>>> WorkerThread.cpp:135:22: error: aggregate
> >>>> ‘gem::thread::WorkerThread::PIMPL::start()::timeval sleep’ has
> >>>> incomplete type and cannot be defined
> >>>> WorkerThread.cpp:139:28: error: ‘select’ was not declared in this scope
> >>>> make[6]: *** [libGem_la-WorkerThread.lo] Error 1
> >>>> make[6]: se sale del directorio
> >>>> «/home/mario/pd-extended/externals/Gem/src/Gem»
> >>>> make[5]: *** [all-recursive] Error 1
> >>>> make[5]: se sale del directorio
> >>>> «/home/mario/pd-extended/externals/Gem/src»
> >>>> make[4]: *** [all] Error 2
> >>>> make[4]: se sale del directorio
> >>>> «/home/mario/pd-extended/externals/Gem/src»
> >>>> make[3]: *** [all-recursive] Error 1
> >>>> make[3]: se sale del directorio «/home/mario/pd-extended/externals/Gem»
> >>>> make[2]: *** [/home/mario/pd-extended/externals/Gem/Gem.pd_linux] Error 2
> >>>> make[2]: se sale del directorio «/home/mario/pd-extended/externals»
> >>>> make[1]: *** [externals_install] Error 2
> >>>> make[1]: se sale del directorio «/home/mario/pd-extended/packages»
> >>>> make: *** [install] Error 2
> >>>> ls: no se puede acceder a
> >>>> /home/mario/pd-extended/packages/linux_make/./Pd*.deb: No existe el
> >>>> fichero o el directorio
> >>>> upload specs linux_make . deb
> >>>> Uploading
> >>>> Unexpected local arg: debian
> >>>> If arg is a remote file/dir, prefix it with a colon (:).
> >>>> rsync error: syntax or usage error (code 1) at main.c(1236)
> >>>> [Receiver=3.0.7]
> >>>> mario at Mario-PK3D:~$
> >>>>
> >>>> /
> >>>> _______________________________________________
> >>>> Pd-list at iem.at<mailto:Pd-list at iem.at>  mailing list
> >>>> UNSUBSCRIBE and account-management ->
> >>>> http://lists.puredata.info/listinfo/pd-list
> >>>
> >>>
> >>>
> >>> ----------------------------------------------------------------------------
> >>>
> >>> I have always wished for my computer to be as easy to use as
> >>> my telephone; my wish has come true because I can no longer figure
> >>> out how to use my telephone."  --Bjarne Stroustrup (creator of C++)
> >>>
> >>
> 
> 



More information about the Pd-list mailing list