From lurker-index@localhost Tue Apr 26 22:22:57 2016
Date: Tue, 26 Apr 2016 22:22:57 +0200
From: Miroslav Rovis <miro.rovis@croatiafidelis.hr>
To: Good Guy <good1.2guy@gmail.com>
Subject: Re: [CinCV TNG] Building in Gentoo; Was: Re: Cinelerra 5.1: Two bugs
Message-ID: <20160426202257.GA30714@g0n>
References: <CAC2VF9-H8Jh+cCFhs-0wJpUkkBHiv+GvznoFA3UtTbWdunqGng@mail.gmail.com>
 <20160426131718.GG27221@g0n>
 <CAC2VF989KJOh5h4R_TRHb-TVT7g9MGfs9g8HHQFeg2Dgq1kumQ@mail.gmail.com>
 <20160426164019.GA26590@g0n>
 <CAC2VF99xgndz94aPvOBEUhBXcxp3DedkR=iBXqBPF+m8aqz20w@mail.gmail.com>
 <20160426171933.GD26590@g0n>
 <CAC2VF9--3bOb1G=ESQ05TjSNoe3Krad_FraemZ8rpeZM_k3tPg@mail.gmail.com>
 <CAC2VF9-G-p38pUVKyBUUSE4ft_ac0zfNrVNBfHx+A5VidKeCsw@mail.gmail.com>
 <20160426191941.GH27221@g0n>
 <CAC2VF9-NX0VOUOCbJm7yrx=XTyj502o_x5AC3t8oz23W+uU7Zw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS"
Content-Disposition: inline
In-Reply-To: <CAC2VF9-NX0VOUOCbJm7yrx=XTyj502o_x5AC3t8oz23W+uU7Zw@mail.gmail.com>
User-Agent: Mutt/1.5.23+116 (55ea6e829b46) (2014-03-12)


--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@gmail.com
>=20
> Ok .. try this:
>

I followed this scrupulously (copy paste on the air-gapped away machine
where I'm building it safe).
> cd cinelerra5/cinelerra-5.1
> echo "EXTRA_LIBS +=3D -lva" >> global_config
> sed -e '1,1c#!/usr/bin/python2.7' -i guicast/bccmdl.py
> ./configure shared
> make >& log
>=20
> hoping for this patch:
> diff guicast/bccmdl.py /mnt0/cinelerra5/cinelerra-5.1/guicast/bccmdl.py
> 1c1
> < #!/usr/bin/python2.7
> ---
> > #!/bin/python
and that was the patch that your sed line got me.

But the errors are the same as in the two previous attempts.

Getting the make's logs in the usual place for your perusal now.

> Must be getting late there, nice of you to put this level of attention on
> this.
> Thanks.
>=20
>=20
>=20
> On Tue, Apr 26, 2016 at 1:19 PM, Miroslav Rovis <
> miro.rovis@croatiafidelis.hr> wrote:
>=20
> > 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 +=3D -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=
=2E..
> > > 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@gmail.com> wro=
te:
> > >
> > > > 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 +=3D -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 explorat=
ion
> > > > 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@croatiafidelis.hr> 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 changi=
ng
> > > >> > 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@croatiafidelis.hr> 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"...
> >
> > --
> > Miroslav Rovis
> > Zagreb, Croatia
> > http://www.CroatiaFidelis.hr
> >
> > _______________________________________________
> > Cinelerra mailing list
> > Cinelerra@lists.cinelerra-cv.org
> > http://lists.cinelerra-cv.org/cgi-bin/mailman/listinfo/cinelerra
> >
> >

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

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXH84hAAoJEOqYhIhPuvCuxQ4P/2ORvI98HmRSBxdPhPEaB8Ky
QQjibbnX/XGXpezqDTDidDZ4j+Wz7v1F/mng1UG5oS4V7jPDCNJNdPBx5n2fdzb3
BCwPtbs+9H3hAk6oPgxvTWxoZM6Jee5OdACmLVf5lp17N3qx9BagjYZUnTprTaaG
6gPbgX6z+RhipuJEIEjhVYwxOp6JcUSTybJm4ZwWVfrMEtWHgfxDzmRTM2ePDNwn
jwMX/rSXqbHauF/gVgYQ5vsNn3J9SWmkajt4Mublo58iswVFCJr8krILiHYhIOIo
BCZfaVuZMS8lZfCdXzxrYt00xWrZ0M3qJa2KEYJzE+IrqEcI7bbPJkgFKXHGhwQ8
WZasAMGuAXLaeIWVQcVYbMHoeFKfsZsYzcm1q/DLarc0FPBQvlH38gmNkdT6/TId
8Ypc+0BoVOr3Fppw/UFD0jR2UZbtop+rfqtvj0QFjmTTX50nr+4BKLPcG+ECHrwH
4TMEUe06N0vyyDFbee8G0HjGoh3D/UZiQoZ/au/6gmXDM6r8r5UVcWduwi259MlA
w4skywEJhlQYvzmlUVrakLpioySLwOlPHyBE22ea0bI2Uc9JKcEeAiPvp5EP4I8b
Vn7K52BH65u0suvB/jQzg4ip1tonAtT3eS+GTl2gRZ4hCc7p+jjn2Tg+MY/5MIav
A+C4zQq9A6vWGsrzvUhw
=Jtox
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--
