Re: [CinCV TNG] Building in Gentoo; Was: Re: Cinelerra 5.1: …

Top Page
Attachments:
Message as email
+ (text/plain)
+ signature.asc (application/pgp-signature)
Delete this message
Author: Miroslav Rovis
Date:  
To: Good Guy
Subject: Re: [CinCV TNG] Building in Gentoo; Was: Re: Cinelerra 5.1: Two bugs
Here they are in:
http://www.croatiafidelis.hr/foss/gentoo/cinelerra-160426-logs/

The most recent, corresponding to my following of your instructions in
your quoted text below, to get the patch that you showed, and compiling
like you wrote below, is:
http://www.croatiafidelis.hr/foss/gentoo/cinelerra-160426-logs/cinelerra-cv-gg_160426_2311_make.log

Unfortunately, I lost the output which I name with a
cin...<timestamp>configure.log
but maybe it is like the previous one:
http://www.croatiafidelis.hr/foss/gentoo/cinelerra-160426-logs/cinelerra-cv-gg_160426_2116_configure_shared.log
corresponding to the previous:
http://www.croatiafidelis.hr/foss/gentoo/cinelerra-160426-logs/cinelerra-cv-gg_160426_2125_make.log

I subscribed to Gentoo dev ML. If you believe you would rather solve
this yourself, I'll wait patiently.

And if you believe it would be good to ask on Gentoo Dev ML, I'll ask
there.

A few more hours before I need to go to sleep. And if we don't make it
tonight, we cen continue tomorrow.

Regards!

--
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

On 160426-13:32-0600, Good Guy wrote:
> I changed the email target to your address to avoid the lists bombardment.
> Feel free to send to good1.2guy@???
>
> Ok .. try this:
>
> cd cinelerra5/cinelerra-5.1
> echo "EXTRA_LIBS += -lva" >> global_config
> sed -e '1,1c#!/usr/bin/python2.7' -i guicast/bccmdl.py
> ./configure shared
> make >& log
>
> hoping for this patch:
> diff guicast/bccmdl.py /mnt0/cinelerra5/cinelerra-5.1/guicast/bccmdl.py
> 1c1
> < #!/usr/bin/python2.7
> ---
> > #!/bin/python
>
> Must be getting late there, nice of you to put this level of attention on
> this.
> Thanks.
>
>
>
> On Tue, Apr 26, 2016 at 1:19 PM, Miroslav Rovis <
> miro.rovis@???> wrote:
>
> > Referring to this affair "getting a little twisted" as you say below,
> > and voice your concerns.
> >
> > C'mon, I'm an enthusiat for programs like Cinelerra? I'm very happy to
> > be useful? I've been dreaming of being able to help in developing good
> > software?
> >
> > I can't wait for the twists to be resolved, and for Cinelerra to be
> > available for my Gentooers (many great *nixs there)! Don't worry about
> > my getting tired ;-) .
> >
> > Let's see below now.
> >
> > On 160426-12:34-0600, Good Guy wrote:
> > > Some addtional inspection:
> > >
> > > Sorry I should have noticed this earlier, but the default python
> > > on your system is python3, all of the other systems are python2.7.
> > >
> > > If you have python2.7 on your system (as a fallback) you can change
> > > the first line in a script that wants python like this:
> > >
> > > cd cinelerra5/cinelerra-5.1
> > > echo "EXTRA_LIBS += -lva" >> global_config
> > > sed -e '1,1s/$/2.7/' -i guicast/bccmdl.py
> > > ./configure shared
> > > make >& log
> > >
> > > The effect of the sed line is to make this patch:
> > >
> > > diff bccmdl.py /mnt0/cinelerra5/cinelerra-5.1/guicast/bccmdl.py
> > > 1c1
> > > < #!/bin/python2.7
> > > ---
> > > > #!/bin/python
> > >
> > > it assumes there is a program /bin/python2.7 on your system. be sure
> > > to check to see if it is really there before you give this a try.
> > > ls -l /bin/python2.7
> > >
> >
> > No, there is no such thing. Here's where pytthon's reside in Gentoo:
> >
> > # ls -l /bin/python*
> > ls: cannot access '/bin/python*': No such file or directory
> > g0n MyVideos # ls -l /usr/bin/python*
> > lrwxrwxrwx 1 root root    13 2016-04-02 11:04 /usr/bin/python ->
> > python-exec2c
> > lrwxrwxrwx 1 root root    13 2016-04-02 11:04 /usr/bin/python2 ->
> > python-exec2c
> > -rwxr-xr-x 1 root root  5928 2016-01-17 17:32 /usr/bin/python2.7
> > -rwxr-xr-x 1 root root  1463 2016-01-17 17:32 /usr/bin/python2.7-config
> > lrwxrwxrwx 1 root root    31 2016-04-02 11:04 /usr/bin/python2-config ->
> > ../lib/python-exec/python-exec2
> > lrwxrwxrwx 1 root root    13 2016-04-02 11:04 /usr/bin/python3 ->
> > python-exec2c
> > lrwxrwxrwx 1 root root    10 2016-01-17 17:36 /usr/bin/python3.4 ->
> > python3.4m
> > lrwxrwxrwx 1 root root    17 2016-01-17 17:36 /usr/bin/python3.4-config ->
> > python3.4m-config
> > -rwxr-xr-x 1 root root 10024 2016-01-17 17:36 /usr/bin/python3.4m
> > -rwxr-xr-x 1 root root  2842 2016-01-17 17:35 /usr/bin/python3.4m-config
> > lrwxrwxrwx 1 root root    31 2016-04-02 11:04 /usr/bin/python3-config ->
> > ../lib/python-exec/python-exec2
> > lrwxrwxrwx 1 root root    31 2016-04-02 11:04 /usr/bin/python-config ->
> > ../lib/python-exec/python-exec2
> > -rwxr-xr-x 1 root root 14264 2016-04-02 11:04 /usr/bin/python-exec2c
> > #

> >
> > > This is getting a little twisted. I hope you are still up to giving it
> > a
> > > try.
> > > Again... thanks for the effort so far. If you want to stop, thats ok...
> > > I will let you know when gentoo fixes get installed.
> > >
> >
> > What? You want to do it without me testing it? ;-)))
> > (Only joking!)
> >
> > > gg
> > >
> > --
> > Miroslav Rovis
> > Zagreb, Croatia
> > http://www.CroatiaFidelis.hr
> > >
> > >
> > > On Tue, Apr 26, 2016 at 12:05 PM, Good Guy <good1.2guy@???> wrote:
> > >
> > > > This appears to be a build dependency unique to gentoo. These
> > externals:
> > > > vaBeginPicture
> > > > vaCreateBuffer
> > > > vaDestroyBuffer
> > > > vaEndPicture
> > > > vaMapBuffer
> > > > vaRenderPicture
> > > > vaUnmapBuffer
> > > > are not referenced on any previous build. A search on the web
> > indicates
> > > > they
> > > > may be part of a library called "libva". If you have that library on
> > your
> > > > system,
> > > > I recommend that you retry yet one more time like this:
> > > >
> > > > cd cinelerra5/cinelerra-5.1
> > > > echo "EXTRA_LIBS += -lva" >> global_config
> > > > ./configure shared
> > > > make >& log
> > > >
> > > > Since I have never hear of or seen libva, this is just a guess.
> > > > If this is not it, and you figure it out... please let me know.
> > > >
> > > > I really appreciate that you have put this effort into the exploration
> > > > on gentoo. I will eventually upgrade my system and try it, but that
> > > > will take some time. Thank you.
> > > >
> > > > gg
> > > >
> > > >
> > > > On Tue, Apr 26, 2016 at 11:19 AM, Miroslav Rovis <
> > > > miro.rovis@???> wrote:
> > > >
> > > >> This email arrived too late for the turtle-speed working Miro ;-).
> > > >>
> > > >> And I already posted the new configure output, and make's log.
> > > >>
> > > >> And it's two Errors (I thought the two line grep'd out belonged to the
> > > >> same issue, but they don't after I looked more carefully.).
> > > >>
> > > >> On 160426-10:41-0600, Good Guy wrote:
> > > >> > to be clear, I mean to retry from the beginning, and only changing
> > > >> > the configure line. Do not use an incremental build.
> > > >> >
> > > >> > gg
> > > >>
> > > >> So I'll try and start from the beginning, next
> > > >>
> > > >> Regards!
> > > >> --
> > > >> Miroslav Rovis
> > > >> Zagreb, Croatia
> > > >> http://www.CroatiaFidelis.hr
> > > >> >
> > > >> > On Tue, Apr 26, 2016 at 10:40 AM, Miroslav Rovis <
> > > >> > miro.rovis@???> wrote:
> > > >> >
> > > >> > > On 160426-09:44-0600, Good Guy wrote:
> > > >> > > > >
> > > >> > > > >
> > > >> > >
> > > >>
> > /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> > > >> > > > > libx264.a(cabac-a.o): relocation R_X86_64_32 against
> > > >> > > `x264_cabac_range_lps'
> > > >> > > > > can not be used when making a shared object; recompile with
> > -fPIC
> > > >> > > > > libx264.a: error adding symbols: Bad value
> > > >> > > > > collect2: error: ld returned 1 exit status
> > > >> > > > > Makefile:202: recipe for target 'x264' failed
> > > >> > > > >
> > > >> > > >
> > > >> > > ...
> > > >> > > >
> > > >> > > > cd cinelerra5/cinelerra-5.1
> > > >> > > > ./configure shared
> > > >> > > > make >& log
> > > >> > > >
> > > >> > > Will be making my best to follow here next. Your work looks
> > great. And
> > > >> > > your explanation is appreciated here.
> > > >> > >
> > > >> > > Going back to work now and then I will report back to you. If
> > only the
> > > >> > > errors become fewer after the "./configure shared"...