Haldun,

The diff has to be outside the cinelerra-cv folder. In your case it should be 
in ~/

Nicola

 

From: [email protected]
To: [email protected]
Subject: Re: [CinCV] Cinelerra on Ubuntu Studio 12.04
Date: Wed, 16 May 2012 19:01:05 +0200


  
    
  
  
    

    Thank you Nicola,

    I put diff file on cinelerra-cv folder and run the command to patch

    I get some erreurs still

    

    haldun@haldunHP:~/cinelerra-cv$ patch -p0 -i
    add-libraries-to-linker.diff

    can't find file to patch at input line 4

    Perhaps you used the wrong -p or --strip option?

    The text leading up to this was:

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

    |diff -Nru cinelerra-2.2.orig/cinelerra/Makefile.am
    cinelerra-2.2/cinelerra/Makefile.am

    |--- cinelerra-2.2.orig/cinelerra/Makefile.am    2011-11-13
    23:53:34.000000000 -0500

    |+++ cinelerra-2.2/cinelerra/Makefile.am    2011-11-14
    14:06:09.000000000 -0500

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

    File to patch: (here the command line stops and I added the
    following lines to see what happens :) add-libraries-to-linker.diff

    patching file add-libraries-to-linker.diff

    Hunk #1 FAILED at 677.

    1 out of 1 hunk FAILED -- saving rejects to file
    add-libraries-to-linker.diff.rej

    

    there finishes the line

    

    What am I supposed to do please. ?

    

    On 16/05/2012 18:03, Nicola Ferralis wrote:
    
      
      
        The error in compilation is a known issue in cinelerra main
        source code. You need to apply the attached patch to the source.
        Not sure why it hasn't been included yet on the main code.

        

        To apply the patch, place the diff file in the same folder where
        the cinelerra-2.2  source folder is, and run:

        

        patch -p0 -i add-libraries-to-linker.diff

        

        Then proceed with the compilation. 

        

        Regarding the faad issue, you need the -dev package: it's the
        one that contains the libraries used during compilation. The
        correct dependency for that is libfaad-dev

        

        I repost below the correct list...

        

        Cheers,

        Nicola

        

        ***************************

        

        debhelper

        automake

        fakeroot

        libasound2-dev

        libdv4-dev

        libavcodec-dev 

        libmp3lame-dev

        libvorbis-dev

        libogg-dev 

        libtool 

        liba52-0.7.4-dev

        libtheora-dev

        libpng12-dev

        libjpeg-dev

        libtiff4-dev

        libesd0-dev 

        libaudiofile-dev

        libraw1394-dev

        libavc1394-dev

        libfreetype6-dev

        libfontconfig1-dev

        nasm

        uuid-dev, 

        docbook-to-man

        libfaad-dev 

        libmjpegtools-dev

        libopenexr-dev

        libxxf86vm-dev

        libfftw3-dev

        libsndfile1-dev

        libiec61883-dev

        libx264-dev,

        libfaac-dev

        libx11-dev

        libxext-dev

        libxft-dev

        libxv-dev

        libxxf86vm-dev

        libglu1-mesa-dev

        libv4l-dev

         

        

        

        
          From: [email protected]

          To: [email protected]

          Subject: Re: [CinCV] Cinelerra on Ubuntu Studio 12.04

          Date: Wed, 16 May 2012 17:39:44 +0200

          

          When checking dependencies for installation  after the
          commande "./configure ...." faad librairies and headers was
          missing after i installed the package libfaad-dev they were
          found.

          

          Everything seems to be in order it tells me to tape "make" but
          fails with errors :

          some parts are in french I don't know if it bothers.

          

          haldun@haldunHP:~/cinelerra-cv$ make

          (CDPATH="${ZSH_VERSION+.}:" && cd . &&
          /bin/bash /home/haldun/cinelerra-cv/missing --run autoheader)

          rm -f stamp-h1

          touch config.h.in

          cd . && /bin/bash ./config.status config.h

          config.status: creating config.h

          config.status: config.h is unchanged

          make  all-recursive

          make[1]: entrant dans le répertoire «
          /home/haldun/cinelerra-cv »

          Making all in libmpeg3

          make[2]: entrant dans le répertoire «
          /home/haldun/cinelerra-cv/libmpeg3 »

          Making all in audio

          make[3]: entrant dans le répertoire «
          /home/haldun/cinelerra-cv/libmpeg3/audio »

          make[3]: Rien à faire pour « all ».

          make[3]: quittant le répertoire «
          /home/haldun/cinelerra-cv/libmpeg3/audio »

          Making all in video

          make[3]: entrant dans le répertoire «
          /home/haldun/cinelerra-cv/libmpeg3/video »

          make[3]: Rien à faire pour « all ».

          make[3]: quittant le répertoire «
          /home/haldun/cinelerra-cv/libmpeg3/video »

          make[3]: entrant dans le répertoire «
          /home/haldun/cinelerra-cv/libmpeg3 »

          /bin/bash ../libtool --tag=CC --tag=CC   --mode=link gcc
          -DHAVE_MMX -DUSE_MMX -DX86_CPU  -D_LARGEFILE_SOURCE
          -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2
          -version-info 1:0:0 -release 1.5.0 -Wl,--no-undefined  -o
          libmpeg3hv.la -rpath /usr/local/lib bitstream.lo libmpeg3.lo
          mpeg3atrack.lo mpeg3css.lo mpeg3demux.lo mpeg3ifo.lo
          mpeg3io.lo mpeg3strack.lo mpeg3title.lo mpeg3tocutil.lo
          mpeg3vtrack.lo workarounds.lo -la52 video/libmpeg3_video.la
          audio/libmpeg3_audio.la -lm -lpthread -lm -ldl -lpthread

          libtool: link: gcc -shared  -fPIC -DPIC  .libs/bitstream.o
          .libs/libmpeg3.o .libs/mpeg3atrack.o .libs/mpeg3css.o
          .libs/mpeg3demux.o .libs/mpeg3ifo.o .libs/mpeg3io.o
          .libs/mpeg3strack.o .libs/mpeg3title.o .libs/mpeg3tocutil.o
          .libs/mpeg3vtrack.o .libs/workarounds.o  -Wl,--whole-archive
          video/.libs/libmpeg3_video.a audio/.libs/libmpeg3_audio.a
          -Wl,--no-whole-archive  -la52 -lm -ldl -lpthread  -O2
          -Wl,--no-undefined   -Wl,-soname -Wl,libmpeg3hv-1.5.0.so.1 -o
          .libs/libmpeg3hv-1.5.0.so.1.0.0

          /usr/bin/ld: .libs/libmpeg3.o: relocation R_X86_64_32 against
          `.rodata.str1.1' can not be used when making a shared object;
          recompile with -fPIC

          .libs/libmpeg3.o: could not read symbols: Bad value

          collect2: ld returned 1 exit status

          make[3]: *** [libmpeg3hv.la] Erreur 1

          make[3]: quittant le répertoire «
          /home/haldun/cinelerra-cv/libmpeg3 »

          make[2]: *** [all-recursive] Erreur 1

          make[2]: quittant le répertoire «
          /home/haldun/cinelerra-cv/libmpeg3 »

          make[1]: *** [all-recursive] Erreur 1

          make[1]: quittant le répertoire « /home/haldun/cinelerra-cv »

          make: *** [all] Erreur 2

          

          

          hope it helps ...

          

          On 16/05/2012 14:30, Haldun ALTAN wrote:
           

            Hi Nicola,

            

            The only missing dependencie of your list on synaptics is
            "libfaad2-dev"

            instead I have "libfaad2" or "libfaad-dev" is "libfaad2"
            without "-dev" is ok ?

            

            Thanks

            

            On 15/05/2012 17:14, Haldun ALTAN wrote:
             I will
              try to compile for the first time ... :)

              thanks a lot.

              cheers

              Haldun.

              

              On 15/05/2012 16:57, Nicola Ferralis wrote:
              
                
                 Hi Haldun,

                  

                  The full set of required dependencies for building
                  Cinelerra for Ubuntu 12.04 is given bellow.

                  

                  I hope it helps.

                  

                  Cheers,

                  Nicola

                  

                  **********************

                  

                  debhelper

                  automake

                  fakeroot

                  libasound2-dev

                  libdv4-dev

                  libavcodec-dev 

                  libmp3lame-dev

                  libvorbis-dev

                  libogg-dev 

                  libtool 

                  liba52-0.7.4-dev

                  libtheora-dev

                  libpng12-dev

                  libjpeg-dev

                  libtiff4-dev

                  libesd0-dev 

                  libaudiofile-dev

                  libraw1394-dev

                  libavc1394-dev

                  libfreetype6-dev

                  libfontconfig1-dev

                  nasm

                  uuid-dev, 

                  docbook-to-man

                  libfaad2-dev 

                  libmjpegtools-dev

                  libopenexr-dev

                  libxxf86vm-dev

                  libfftw3-dev

                  libsndfile1-dev

                  libiec61883-dev

                  libx264-dev,

                  libfaac-dev

                  libx11-dev

                  libxext-dev

                  libxft-dev

                  libxv-dev

                  libxxf86vm-dev

                  libglu1-mesa-dev

                  libv4l-dev

                   

                  

                  

                  
                    From: [email protected]

                    To: [email protected]

                    Subject: Re: [CinCV] Cinelerra on Ubuntu Studio
                    12.04

                    Date: Tue, 15 May 2012 09:35:21 +0200

                    

                    Hello Nicola

                    

                    Can we with this information for dependencies
                    compile cinelerra for ubuntu studio 1204 ?

                    

                    I guess grandma has some more knittings to do :)))

                    

                    Thanks in advance.

                    

                    Haldun.

                    

                    On 17/04/2012 19:18, Nicola Ferralis wrote:
                    
                      
                       Raffaella, make sure you correct
                        your broken dependencies. 

                        

                        sudo apt-get -f install

                        

                        As for precise, libjpeg-dev is needed: previous
                        versions use libjpeg62-dev which is no longer in
                        precise.

                        

                        Hope it helps.

                        

                        Nicola

                        

                        P.S. For successful compilation on any ubuntu
                        (including precise) these are the dependencies
                        (from the control file in ppa)

                        

                        debhelper (>= 7.0.16~), automake, fakeroot,

                         libasound2-dev (>= 1.0.4), libdv4-dev (>=
                        1.0.0), 

                         libavcodeccvs51-dev | libavcodec-dev, 

                         libmp3lame-dev | liblame-dev (>= 3.92),
                        libvorbis-dev (>= 1.0.0),

                         libogg-dev (>= 1.1.2), libtool (>= 1.5),
                        liba52-0.7.4-dev (>= 0.7.4), 

                         libtheora-dev (>=0.0.0.alpha4) |
                        libtheora-mmx-dev (>=0.0.0.alpha4),

                         libpng12-dev (>= 1.2.5), libjpeg-dev |
                        libjpeg62-dev, libtiff4-dev (>= 3.6.0),

                         libesd0-dev (>= 0.2.28), libaudiofile-dev
                        (>= 0.2.3), 

                         libraw1394-dev (>= 1.2.0), libavc1394-dev
                        (>= 0.4.1),

                         libfreetype6-dev (>= 2.2.1),
                        libfontconfig-dev | libfontconfig1-dev, nasm,
                        uuid-dev, 

                         docbook-to-man, libfaad2-dev | libfaad-dev,
                        libmjpegtools-dev (>= 1.6.2), 

                         libopenexr-dev (>= 1.1.1), libxxf86vm-dev
                        (>=6.8.2), libfftw3-dev | fftw3-dev,

                         libsndfile1-dev, libiec61883-dev (>= 1.0.0),
                        libx264-dev,

                         libfaac-dev (>= 1.24), libx11-dev,
                        libxext-dev, libxft-dev,

                         libxv-dev, libxxf86vm-dev, libfftw3-dev,
                        libglu1-mesa-dev, libv4l-dev | v4l-utils

                        

                         

                        

                        

                        > From: [email protected]

                          > To: [email protected]

                          > Subject: [CinCV] Cinelerra on Ubuntu
                          Studio 12.04

                          > Date: Tue, 17 Apr 2012 14:01:17 +0200

                          > 

                          > Ciao!

                          > 

                          > I'm trying to compile Cin on Ubuntu
                          Studio 12.04, a clean install.

                          > I started from the Grandma instructions
                          for Oneiric 11.10.

                          > 

                          > raffa@raffa-laptop:~/cinelerra-cv$ sudo
                          apt-get install xorg-dev 

                          > libasound2-dev libogg-dev libvorbis-dev
                          libtheora-dev libopenexr-dev 

                          > libdv4-dev libpng12-dev libjpeg62-dev
                          libx264-dev uuid-dev mjpegtools 

                          > libmjpegtools-dev libfftw3-dev
                          liba52-0.7.4-dev libmp3lame0 

                          > libmp3lame-dev libsndfile1-dev
                          libfaac-dev libfaad-dev libesd0-dev 

                          > libavc1394-dev libraw1394-dev
                          libiec61883-dev libtiff4-dev 

                          > libxxf86vm-dev libglu1-mesa-dev

                          > 

                          > but I got:

                          > 

                          > libmp3lame0 is already the newest
                          version.

                          > Some packages could not be installed.
                          This may mean that you have

                          > requested an impossible situation or if
                          you are using the unstable

                          > distribution that some required packages
                          have not yet been created

                          > or been moved out of Incoming.

                          > The following information may help to
                          resolve the situation:

                          > 

                          > The following packages have unmet
                          dependencies:

                          > libtiff4-dev : Depends: libjpeg-dev

                          > E: Unable to correct problems, you have
                          held broken packages.

                          > 

                          > If I install libjpeg-dev I still get the
                          same error.

                          > 

                          > Have someone of you already solved the
                          dependency issues in Ubuntu 

                          > Studio 12.04?

                          > 

                          > Ciao!

                          > Raffaella

                          > 

                          > 

                          > 

                          >
                          _______________________________________________

                          > Cinelerra mailing list

                          > [email protected]

                          > 
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

                        
                      
                    
                    _______________________________________________
                    Cinelerra mailing list [email protected]
                    
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
                
              
              _______________________________________________ Cinelerra
              mailing list [email protected]
              https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
            
            _______________________________________________ Cinelerra
            mailing list [email protected]
            https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
          
          _______________________________________________
          Cinelerra mailing list
          [email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
      
    
  


_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra                 
                          

Reply via email to