Re: [gnome-db] jhbuild setup for libgda

Pavlo Solntsev <[email protected]> Mon, 09 Jan 2017 23:54:47 -0600
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
--===============6887565812997443745==
Content-Type: multipart/alternative; boundary="=-HeT/ZuKWlqdzbogI/Bh7"


--=-HeT/ZuKWlqdzbogI/Bh7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

Dear Daniel.
This is a first command I tried. it didn't work. libgda module is not
found. It looks like libgda module is not listed in modules files. I
configured jhbuild to use local modules and created libgda
configuration manually. I was able to clone libgda repo but gnome-
autogen.sh can't find ./configure file. If I copy autogen.sh executing
string (I can see it) and run it manually (from jhbuild shell),
configuration is going ok butbuild stage gave some problems:
Making all in sqlciphermake[2]: Entering directory
'/home/pavlo/jhbuild/checkout/libgda/providers/sqlcipher'cp
../../libgda/sqlite/sqlite-src/sqlite3.c sqlite3.cpatch -p0 <
./sqlcipher.patchpatching file sqlite3.c  CC       sqlite3.losqlite3.c:
In function ‘sqlcipher_openssl_hmac’:sqlite3.c:17150:12: error: storage
size of ‘hctx’ isn’t known   HMAC_CTX
hctx;            ^~~~sqlite3.c:17152:3: warning: implicit declaration
of function ‘HMAC_CTX_init’ [-Wimplicit-function-
declaration]   HMAC_CTX_init(&hctx);   ^~~~~~~~~~~~~sqlite3.c:17157:3:
warning: implicit declaration of function ‘HMAC_CTX_cleanup’ [-
Wimplicit-function-
declaration]   HMAC_CTX_cleanup(&hctx);   ^~~~~~~~~~~~~~~~sqlite3.c:171
50:12: warning: unused variable ‘hctx’ [-Wunused-variable]   HMAC_CTX
hctx;            ^~~~sqlite3.c: In function
‘sqlcipher_openssl_cipher’:sqlite3.c:17167:18: error: storage size of
‘ectx’ isn’t known   EVP_CIPHER_CTX
ectx;                  ^~~~sqlite3.c:17167:18: warning: unused variable
‘ectx’ [-Wunused-variable]Makefile:674: recipe for target 'sqlite3.lo'
failed

I assume, this is another dev repo issue. Anyway. A a separate
approach, I forked repo from github and will try to add my changes to a
separate branch. After that will send you a pool request. 
Thanks.


On Mon, 2017-01-09 at 17:19 -0600, Daniel Espinosa wrote:
> Do you have jhbuild problems?
> As far as I remember, there is a jhbuild for libgda. So just use:
> 
> jhbuild build libgda
> 
> On command line.
> El 9 ene. 2017 4:14 p. m.,  <[email protected]> escribió:
> > Can anyone share a method to setup jhbuild to work with libgda? Or,
> > if you
> > 
> > use different work environment, could you please share your
> > experience
> > 
> > with me.
> > 
> > 
> > 
> > Thanks.
> > 
> > 
> > 
> > -Pavlo
> > 
> > 
> > 
> > 
> > 
> > ______________________________
> > 
> > Моя пошта живе на Метi http://webmail.meta.ua
> > 
> > 
> > 
> > _______________________________________________
> > 
> > gnome-db-list mailing list
> > 
> > [email protected]
> > 
> > https://mail.gnome.org/mailman/listinfo/gnome-db-list
> > 
> > 
--=-HeT/ZuKWlqdzbogI/Bh7
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div>Dear Daniel.</div><div><br></div><div>This is=
 a first command I tried. it didn't work. libgda module is not found. It lo=
oks like libgda module is not listed in modules files. I configured jhbuild=
 to use local modules and created libgda configuration manually. I was able=
 to clone libgda repo but gnome-autogen.sh can't find ./configure file. If =
I copy autogen.sh executing string (I can see it) and run it manually (from=
 jhbuild shell), configuration is going ok but</div><div>build stage gave s=
ome problems:</div><div><br></div><div>Making all in sqlcipher</div><div>ma=
ke[2]: Entering directory '/home/pavlo/jhbuild/checkout/libgda/providers/sq=
lcipher'</div><div>cp ../../libgda/sqlite/sqlite-src/sqlite3.c sqlite3.c</d=
iv><div>patch -p0 &lt; ./sqlcipher.patch</div><div>patching file sqlite3.c<=
/div><div>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sqlite3.lo</di=
v><div>sqlite3.c: In function =E2=80=98sqlcipher_openssl_hmac=E2=80=99:</di=
v><div>sqlite3.c:17150:12: error: storage size of =E2=80=98hctx=E2=80=99 is=
n=E2=80=99t known</div><div>&nbsp;&nbsp;&nbsp;HMAC_CTX hctx;</div><div>&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^~~~</d=
iv><div>sqlite3.c:17152:3: warning: implicit declaration of function =E2=80=
=98HMAC_CTX_init=E2=80=99 [-Wimplicit-function-declaration]</div><div>&nbsp=
;&nbsp;&nbsp;HMAC_CTX_init(&amp;hctx);</div><div>&nbsp;&nbsp;&nbsp;^~~~~~~~=
~~~~~</div><div>sqlite3.c:17157:3: warning: implicit declaration of functio=
n =E2=80=98HMAC_CTX_cleanup=E2=80=99 [-Wimplicit-function-declaration]</div=
><div>&nbsp;&nbsp;&nbsp;HMAC_CTX_cleanup(&amp;hctx);</div><div>&nbsp;&nbsp;=
&nbsp;^~~~~~~~~~~~~~~~</div><div>sqlite3.c:17150:12: warning: unused variab=
le =E2=80=98hctx=E2=80=99 [-Wunused-variable]</div><div>&nbsp;&nbsp;&nbsp;H=
MAC_CTX hctx;</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;^~~~</div><div>sqlite3.c: In function =E2=80=98sqlciph=
er_openssl_cipher=E2=80=99:</div><div>sqlite3.c:17167:18: error: storage si=
ze of =E2=80=98ectx=E2=80=99 isn=E2=80=99t known</div><div>&nbsp;&nbsp;&nbs=
p;EVP_CIPHER_CTX ectx;</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^~~~</div=
><div>sqlite3.c:17167:18: warning: unused variable =E2=80=98ectx=E2=80=99 [=
-Wunused-variable]</div><div>Makefile:674: recipe for target 'sqlite3.lo' f=
ailed</div><div></div><div><br></div><div><br></div><div>I assume, this is =
another dev repo issue. Anyway. A a separate approach, I forked repo from g=
ithub and will try to add my changes to a separate branch. After that will =
send you a pool request. </div><div><br></div><div>Thanks.</div><div><br></=
div><div><br></div><div><br></div><div>On Mon, 2017-01-09 at 17:19 -0600, D=
aniel Espinosa wrote:</div><blockquote type=3D"cite"><div dir=3D"auto">Do y=
ou have jhbuild problems?<div dir=3D"auto"><br></div><div dir=3D"auto">As f=
ar as I remember, there is a jhbuild for libgda. So just use:</div><div dir=
=3D"auto"><br></div><div dir=3D"auto">jhbuild build libgda</div><div dir=3D=
"auto"><br></div><div dir=3D"auto">On command line.</div></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">El 9 ene. 2017 4:14 p. m., =
 &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; escri=
bi=C3=B3:<br type=3D"attribution"><blockquote type=3D"cite">Can anyone shar=
e a method to setup jhbuild to work with libgda? Or, if you<br>
use different work environment, could you please share your experience<br>
with me.<br>
<br>
Thanks.<br>
<br>
-Pavlo<br>
<br>
<br>
______________________________<br>
=D0=9C=D0=BE=D1=8F =D0=BF=D0=BE=D1=88=D1=82=D0=B0 =D0=B6=D0=B8=D0=B2=D0=B5 =
=D0=BD=D0=B0 =D0=9C=D0=B5=D1=82i <a href=3D"http://webmail.meta.ua" rel=3D"=
noreferrer" target=3D"_blank">http://webmail.meta.ua</a><br>
<br>
_______________________________________________<br>
gnome-db-list mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-db-list" rel=3D"no=
referrer" target=3D"_blank">https://mail.gnome.org/<wbr>mailman/listinfo/gn=
ome-db-list</a><br>
<br></blockquote></div></div>
</blockquote></body></html>
--=-HeT/ZuKWlqdzbogI/Bh7--


--===============6887565812997443745==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnome-db-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-db-list

--===============6887565812997443745==--