[PD] is rsynced stuff equal to svn'ed stuff?

meino.cramer at gmx.de meino.cramer at gmx.de
Sat Feb 20 19:26:08 CET 2010


Hans-Christoph Steiner <hans at at.or.at> [10-02-20 17:36]:
> 
> On Feb 20, 2010, at 7:50 AM, meino.cramer at gmx.de wrote:
> 
> >Hi,
> >
> >Here:http://puredata.info/docs/developer/GettingPdSource
> >
> >I found this:
> >
> >svn checkout --ignore-externals 
> >https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk 
> >pd-extended
> >cd pd-extended
> >rm -rf pd
> >svn checkout --ignore-externals 
> >https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.42/pd
> >svn checkout 
> >https://pd-gem.svn.sourceforge.net/svnroot/pd-gem/branches/0.92/Gem
> >
> >which have to be done on "svn sourced between releases".
> >
> >I rsynced the stuff to my harddisc as described above the cited
> >paragraph.
> 
> I updated GettingPdSource based on your feedback. I'm not quite clear 
> which paragraph you are referencing.  rsyncing looks like this, and 
> it'll download everything you need to build:
> 
> rsync -av --delete rsync://128.238.56.50/distros/pd-extended/ 
> pd-extended/
> 
> >Do I have to do what is sayed of the "svn stuff between the releases"
> >or not?
> 
> No, its either rsync or svn.  Once you've run rsync, you can use either 
> rsync or svn to update that tree.
> 
> >And what is the directory from where I have to submit the commands?
> 
> It will create a folder called 'pd-extended', so run those commands 
> wherever you want that folder to be.
> 
> .hc
> 
> 
> 
> 
> ----------------------------------------------------------------------------
> 
> As we enjoy great advantages from inventions of others, we should be 
> glad of an opportunity to serve others by any invention of ours; and 
> this we should do freely and generously.         - Benjamin Franklin
> 

Next couple of problems....
What I did so far:

I did a 
rsync -av --delete rsync://128.238.56.50/distros/pd-extended/ pd-extended/

and cd to pd-extended/packages/linux-make

I exported DESTDIR and set it to a public writable directory.

I sub,mit the command

script buildlog.txt

to get a log of the build process.

Finally I did a 

make install

and after a while the compilation broke with:

(lots of lines above this---)
doc install succeeded!
make[2]: Leaving directory `/home/mccramer/data/PD2/pd-extended/doc'
cd /home/mccramer/data/PD2/pd-extended/Gem/src && ./configure \
		--without-ffmpeg --with-pd=/home/mccramer/data/PD2/pd-extended/pd --disable-NV
configure: WARNING: unrecognized options: --without-ffmpeg, --disable-NV
checking for Base/configLinux.h.in... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether compiler accepts "-fPIC"... yes
building Gem with Controls-objects
building Gem with Geos-objects
building Gem with Manips-objects
building Gem with Nongeos-objects
building Gem with Particles-objects
building Gem with Pixes-objects
building Gem with openGL-objects
building Gem without Vertex-objects
checking for sin in -lm... yes
checking for main in -lz... yes
checking for dlopen in -ldl... yes
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for XF86VidModeGetAllModeLines in -lXxf86vm... yes
checking for main in -lXext... (cached) yes
checking for "OpenGL"-framework... no
checking for glInitNames in -lGL... yes
checking for gluLookAt in -lGLU... yes
checking for "AGL"-framework... no
checking for main in -lstdc++... yes
checking for "Carbon"-framework... no
checking for "QuickTime"-framework... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PKG_IMAGEMAGICK___CFLAGS... -fopenmp -I/usr/include/ImageMagick  
checking for PKG_IMAGEMAGICK___LIBS... -lMagick++ -lMagickCore  
checking for PKG_GMERLIN_AVDEC_CFLAGS... 
checking for PKG_GMERLIN_AVDEC_LIBS... 
checking for gmerlin_avdec-config... no
checking for gavl_start in -lgmerlin_avdec... no
checking for PKG_LIBQUICKTIME_CFLAGS... -I/usr/include/lqt  
checking for PKG_LIBQUICKTIME_LIBS... -lquicktime -lpthread -lm -lz -ldl  
checking for PKG_LQT_CFLAGS... 
checking for PKG_LQT_LIBS... 
checking for lqt-config... yes
checking for PKG_LIBMPEG3_CFLAGS... 
checking for PKG_LIBMPEG3_LIBS... 
checking for libmpeg3-config... no
checking for mpeg3_check_sig in -lmpeg3... yes
checking for PKG_MPEG_CFLAGS... 
checking for PKG_MPEG_LIBS... 
checking for mpeg-config... no
checking for OpenMPEG in -lmpeg... no
checking for PKG_AVIFILE_CFLAGS... 
checking for PKG_AVIFILE_LIBS... 
checking for avifile-config... no
checking for CreateIAviReadFile in -laviplay... no
checking for grep that handles long lines and -e... /bin//grep
checking for egrep... /bin//grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for PKG_LIBV4L1_CFLAGS...  
checking for PKG_LIBV4L1_LIBS... -lv4l1 -lv4l2 -lv4lconvert  
checking for PKG_LIBV4L2_CFLAGS...  
checking for PKG_LIBV4L2_LIBS... -lv4l2 -lv4lconvert  
checking for PKG_IEEE1394_CFLAGS... 
checking for PKG_IEEE1394_LIBS... 
checking for ieee1394-config... no
checking for main in -ldv... yes
checking whether linker accepts "-lftgl_pic  "... no
checking for PKG_FTGL_CFLAGS... -I/usr/include/FTGL -I/usr/include/freetype2  
checking for PKG_FTGL_LIBS... -lftgl  
checking for PKG_ARTOOLKIT_CFLAGS... 
checking for PKG_ARTOOLKIT_LIBS... 
checking for artoolkit-config... no
checking for arInitCparam in -lAR... no
checking for pthread_create in -lpthread... yes
checking for X... libraries , headers 
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for memory.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking size of unsigned int... 4
checking size of void *... 4
checking for error_at_line... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for bzero... yes
checking for floor... yes
checking for gettimeofday... yes
checking for memset... yes
checking for munmap... yes
checking for pow... yes
checking for sqrt... yes
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for lqt_open_write... yes
checking m_pd.h usability... yes
checking m_pd.h presence... yes
checking for m_pd.h... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking OpenGL/glu.h usability... no
checking OpenGL/glu.h presence... no
checking for OpenGL/glu.h... no
checking whether compiler accepts "-freg-struct-return"... yes
enabling "register struct return"
   allows to make use of FreeFrame-effects without recompiling them
   might break things, if you are using several different compilers
checking whether compiler accepts "-O3"... yes
checking whether compiler accepts "-falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops"... yes
checking whether compiler accepts "-ffast-math"... yes

checking whether compiler accepts "-mmmx"... yes
checking whether compiler accepts "-fpascal-strings"... no
checking whether linker accepts "-shared -Wl,--export-dynamic"... yes
checking whether linker accepts "-dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup"... no
checking whether linker accepts "-bundle -undefined suppress -flat_namespace"... no
checking for strip... strip
checking if strip is GNU strip... yes
checking for dos2unix... no
configure: creating ./config.status
config.status: creating Make.config
config.status: creating Base/configLinux.h
configure: WARNING: unrecognized options: --without-ffmpeg, --disable-NV

Result:
  Target                 : Gem.pd_linux
  Objects                : Base Controls Geos Manips Nongeos Particles Pixes openGL

Configuration:
  Compiler               : g++
  CXXFLAGS               : -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
			 : -I/usr/include/lqt -fopenmp -I/usr/include/ImageMagick   -I/usr/include/lqt       -I/usr/include/FTGL -I/usr/include/freetype2  
  INCLUDES               :  -I/usr/include/FTGL -I/usr/include/freetype2 -I/home/mccramer/data/PD2/pd-extended/pd/src
  DEFINES		 : 

  LIBS                   : -ldv -lmpeg3 -lstdc++ -lGLU -lGL -lXext -lXxf86vm -lXext -lX11 -ldl -lz -lm   -lpthread -L/home/mccramer/data/PD2/pd-extended/pd/bin
			 : -lftgl   -lv4l2 -lv4lconvert   -lv4l1 -lv4l2 -lv4lconvert   -L/usr/lib -lquicktime -lpthread -lm -lz -ldl -lquicktime -lpthread -lm -lz -ldl   -lMagick++ -lMagickCore   
  LDFLAGS		 : -shared -Wl,--export-dynamic 
			 : 

  Strip			 : strip --strip-unneeded

  Install path           : /usr/local

 pure-data:
  version                : 0.42
  extension              : pd_linux

 used optional libraries:

  font-rendering         : FTGL

  image-support
    use ImageMagick      : yes
    use TIFF             : no (forced)
    use JPEG             : no (forced)
  video-support
    use mpeg             : no
    use mpeg-3           : yes
    use QuickTime        : yes
    use aviplay          : no
    use gmerlin          : no
  input-support
    use v4l              : yes (libv4l)
    use ieee1394         : yes

Now run make ...
make -C /home/mccramer/data/PD2/pd-extended/Gem/src
make[2]: Entering directory `/home/mccramer/data/PD2/pd-extended/Gem/src'
mkdir Objects
make -C Base 
make[3]: Entering directory `/home/mccramer/data/PD2/pd-extended/Gem/src/Base'
sgiimage.cpp:22:25: error: Base/config.h: No such file or directory
sgiimage.cpp:24:27: error: Base/sgiimage.h: No such file or directory
sgiimage.cpp:45: error: 'int32' does not name a type
sgiimage.cpp:46: error: 'int32' does not name a type
sgiimage.cpp:47: error: 'int32' does not name a type
sgiimage.cpp:49: error: 'int32' does not name a type
sgiimage.cpp:51: error: 'int32' does not name a type
sgiimage.cpp:61: error: 'int32' does not name a type
sgiimage.cpp:62: error: 'int32' does not name a type
sgiimage.cpp:63: error: expected ';' before '*' token
sgiimage.cpp:64: error: ISO C++ forbids declaration of 'int32' with no type
sgiimage.cpp:64: error: expected ';' before '*' token
sgiimage.cpp:96: error: 'int32' has not been declared
sgiimage.cpp:97: error: 'int32' has not been declared
sgiimage.cpp:98: error: variable or field 'copybw' declared void
sgiimage.cpp:98: error: 'int32' was not declared in this scope
sgiimage.cpp:98: error: 'lptr' was not declared in this scope
sgiimage.cpp:98: error: 'int32' was not declared in this scope
sgiimage.cpp:99: error: 'int32' has not been declared
sgiimage.cpp:100: error: 'int32' has not been declared
sgiimage.cpp:100: error: 'int32' has not been declared
sgiimage.cpp:101: error: 'int32' has not been declared
sgiimage.cpp:101: error: 'int32' has not been declared
sgiimage.cpp:110: error: expected initializer before '*' token
sgiimage.cpp:117: error: expected ',' or '...' before '*' token
sgiimage.cpp: In function 'void addlongimgtag(unsigned int)':
sgiimage.cpp:119: error: 'dptr' was not declared in this scope
sgiimage.cpp:119: error: 'xsize' was not declared in this scope
i(lots of lines below this ... alomost any line reports an error)


What I am still missing here ?

mcc






More information about the Pd-list mailing list