From lurker-index@localhost Tue Apr 26 22:37:36 2016
Date: Tue, 26 Apr 2016 22:37:36 +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: <20160426203736.GB30714@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="/NkBOFFp2J2Af1nK"
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)


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

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!

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

--/NkBOFFp2J2Af1nK
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIcBAEBCgAGBQJXH9GPAAoJEOqYhIhPuvCurmoP/jmuIMcL34m/aIPmqMAnDle4
RBTUvtefNWrSCsr8+XHn+wS4GegG4BBLBo/uiJnimrzOL/a7YOGdokoLPvqLGMJX
HLuf/R4Ca8elfQ0XpLQhCc3PYz3bwnmMZQg3TEcwHDje3dmavGhIPkbIHPd5jo82
wUVQ4zNjd1TLC3hYcgV+JarMrjW96AKTzIbOc91d1dKLsawKB31+UarfmGVID9BE
00CjOO3zXxZOdBIjYt2BM+7zn+HplVDTVWVysOPydiY3cLvs7KF4xU5g2ReR0K/w
nXw6sctAh39ImJNi4br0ksHa3T42cPY/g67X8Xa8N1pW/IFkbCU/UX2PBP9k+ddi
UBlhCJTdsq5vnMpwb5OdoDQ5hEb7bAcOKYg6Uf6xiy3FB7ib01GYWcf78ZRz69AU
vbJtH4jGI+p11LXKkfm7oRtljRypOj/t2vJrBhBimhRxYTls9IM46RNcFfgUFBuS
EcI4tF0dMxy4wDxMBDe7QAYkQL7Fl/196AGJrFm/2j0d4l6SC9UgA/id8E3bWkUG
yf3NfFVCbaw0weC5zD5SSslYhBxyu/ppRLJ6tYL+shx5JdiAgttoxle7zQNag6ME
+djNA5X+GxxbuwB6DB7yRSffSir7FJMkIrDuIoZTlVsHRRHzWjhl9mUH96JwzOiL
Rqv7ci86RYVi5mT9D6D1
=9mp2
-----END PGP SIGNATURE-----

--/NkBOFFp2J2Af1nK--
