Mail Archives: geda-user/2014/01/01/00:15:03
--485266291-1210819233-1388553033=:58541
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Stefan:=0A=0AAn "apt-cache search lzma" command shows:=0A=0A=0Aliblzma-dev =
- XZ-format compression library - development files=0Alzma-dev - Compressio=
n and decompression in the LZMA format - development files=0A=0AI also see =
a match on the string "lzma" when running a search with the Ubuntu Software=
Center program. It shows: "Archive Manager" under Accessories on the Insta=
lled tab.=0A=0AWhen I look at the "configure" script around the failure, I =
see the following:=0A=0ALIBXZ_LDADD=3D=0ALIBXZ_CFLAGS=3D=0Aif test "X$EXZ" =
=3D=3D "Xyes"; then=0Ahave_liblzma=3Dno=0Acat confdefs.h - <<_ACEOF >confte=
st.$ac_ext=0A/* end confdefs.h. =A0*/=0A#include <lzma.h>=0Aint=0Amain ()=
=0A{=0Alzma_end(NULL);=0A=A0 ;=0A=A0 return 0;=0A}=0A_ACEOF=0Aif ac_fn_c_tr=
y_compile "$LINENO"; then :=0A=0Aelse=0A=A0 have_liblzma=3Dyes=0Afi=0Arm -f=
core conftest.err conftest.$ac_objext conftest.$ac_ext=0A{ $as_echo "$as_m=
e:${as_lineno-$LINENO}: checking for lzma_end in -llzma" >&5=0A$as_echo_n "=
checking for lzma_end in -llzma... " >&6; }=0Aif ${ac_cv_lib_lzma_lzma_end+=
:} false; then :=0A=A0 $as_echo_n "(cached) " >&6=0Aelse=0A=A0 ac_check_lib=
_save_LIBS=3D$LIBS=0ALIBS=3D"-llzma =A0$LIBS"=0Acat confdefs.h - <<_ACEOF >=
conftest.$ac_ext=0A/* end confdefs.h. =A0*/=0A=0A/* Override any GCC intern=
al prototype to avoid an error.=0A=A0 =A0Use char because int might match t=
he return type of a GCC=0A=A0 =A0builtin and then its argument prototype wo=
uld still apply. =A0*/=0A#ifdef __cplusplus=0Aextern "C"=0A#endif=0Achar lz=
ma_end ();=0Aint=0Amain ()=0A{=0Areturn lzma_end ();=0A=A0 ;=0A=A0 return 0=
;=0A}=0A_ACEOF=0Aif ac_fn_c_try_link "$LINENO"; then :=0A=A0 ac_cv_lib_lzma=
_lzma_end=3Dyes=0Aelse=0A=A0 ac_cv_lib_lzma_lzma_end=3Dno=0Afi=0Arm -f core=
conftest.err conftest.$ac_objext \=0A=A0 =A0 conftest$ac_exeext conftest.$=
ac_ext=0ALIBS=3D$ac_check_lib_save_LIBS=0Afi=0A{ $as_echo "$as_me:${as_line=
no-$LINENO}: result: $ac_cv_lib_lzma_lzma_end" >&5=0A$as_echo "$ac_cv_lib_l=
zma_lzma_end" >&6; }=0Aif test "x$ac_cv_lib_lzma_lzma_end" =3D xyes; then :=
=0A=A0 LIBLZMA_LDADD=3D-llzma=0Aelse=0A=A0 have_liblzma=3Dyes=0Afi=0A=0Aif =
test "$have_liblzma" =3D "yes" ; then=0Aas_fn_error $? "LZMA support for VZ=
T is enabled, but xz could not be found.=0APlease install xz, see the http:=
//tukaani.org/xz website or use the --disable-xz flag." "$LINENO" 5=0Afi=0A=
LIBXZ_LDADD=3D'-llzma'=0ALIBXZ_CFLAGS=3D'-D_WAVE_HAVE_XZ'=0Afi=0A=0A=0ASorr=
y, I'm having trouble following the logic in this block of code from the sh=
ellscript.=0A=0AGavin
--485266291-1210819233-1388553033=:58541
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"color:#000; background-color:#fff; font-family:He=
lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo=
nt-size:10pt"><div><span>Stefan:</span></div><div style=3D"color: rgb(0, 0,=
0); font-size: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helveti=
ca, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font=
-style: normal;"><span><br></span></div><div style=3D"background-color: tra=
nsparent;"><span>An "apt-cache search lzma" command shows:<br></span></div>=
<div style=3D"background-color: transparent; color: rgb(0, 0, 0); font-size=
: 13px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lu=
cida Grande', sans-serif; font-style: normal;"><span><br></span></div><div =
style=3D"background-color: transparent; color: rgb(0, 0, 0); font-size: 13p=
x; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida =
Grande', sans-serif; font-style: normal;"><span></span></div><div
style=3D"background-color: transparent;">liblzma-dev - XZ-format compressi=
on library - development files</div><div>lzma-dev - Compression and decompr=
ession in the LZMA format - development files</div><div><br></div><div>I al=
so see a match on the string "lzma" when running a search with the Ubuntu S=
oftware Center program. It shows: "Archive Manager" under Accessories on th=
e Installed tab.</div><div><br></div><div>When I look at the "configure" sc=
ript around the failure, I see the following:</div><div><br></div><div><div=
>LIBXZ_LDADD=3D</div><div>LIBXZ_CFLAGS=3D</div><div>if test "X$EXZ" =3D=3D =
"Xyes"; then</div><div><span class=3D"Apple-tab-span" style=3D"white-space:=
pre">=09</span>have_liblzma=3Dno</div><div><span class=3D"Apple-tab-span" s=
tyle=3D"white-space:pre">=09</span>cat confdefs.h - <<_ACEOF >conf=
test.$ac_ext</div><div>/* end confdefs.h. */</div><div>#include <l=
zma.h></div><div>int</div><div>main
()</div><div>{</div><div>lzma_end(NULL);</div><div> ;</div><div>&nbs=
p; return 0;</div><div>}</div><div>_ACEOF</div><div>if ac_fn_c_try_compile =
"$LINENO"; then :</div><div><br></div><div>else</div><div> have_liblz=
ma=3Dyes</div><div>fi</div><div>rm -f core conftest.err conftest.$ac_objext=
conftest.$ac_ext</div><div><span class=3D"Apple-tab-span" style=3D"white-s=
pace:pre">=09</span>{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for l=
zma_end in -llzma" >&5</div><div>$as_echo_n "checking for lzma_end i=
n -llzma... " >&6; }</div><div>if ${ac_cv_lib_lzma_lzma_end+:} false=
; then :</div><div> $as_echo_n "(cached) " >&6</div><div>else<=
/div><div> ac_check_lib_save_LIBS=3D$LIBS</div><div>LIBS=3D"-llzma &n=
bsp;$LIBS"</div><div>cat confdefs.h - <<_ACEOF >conftest.$ac_ext</=
div><div>/* end confdefs.h. */</div><div><br></div><div>/* Override a=
ny GCC internal prototype to avoid an error.</div><div> Use cha=
r
because int might match the return type of a GCC</div><div> bu=
iltin and then its argument prototype would still apply. */</div><div=
>#ifdef __cplusplus</div><div>extern "C"</div><div>#endif</div><div>char lz=
ma_end ();</div><div>int</div><div>main ()</div><div>{</div><div>return lzm=
a_end ();</div><div> ;</div><div> return 0;</div><div>}</div><d=
iv>_ACEOF</div><div>if ac_fn_c_try_link "$LINENO"; then :</div><div> =
ac_cv_lib_lzma_lzma_end=3Dyes</div><div>else</div><div> ac_cv_lib_lzm=
a_lzma_end=3Dno</div><div>fi</div><div>rm -f core conftest.err conftest.$ac=
_objext \</div><div> conftest$ac_exeext conftest.$ac_ext</div>=
<div>LIBS=3D$ac_check_lib_save_LIBS</div><div>fi</div><div>{ $as_echo "$as_=
me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_end" >&5</div>=
<div>$as_echo "$ac_cv_lib_lzma_lzma_end" >&6; }</div><div>if test "x=
$ac_cv_lib_lzma_lzma_end" =3D xyes; then :</div><div>
LIBLZMA_LDADD=3D-llzma</div><div>else</div><div> have_liblzma=3Dyes<=
/div><div>fi</div><div><br></div><div><span class=3D"Apple-tab-span" style=
=3D"white-space:pre">=09</span>if test "$have_liblzma" =3D "yes" ; then</di=
v><div><span class=3D"Apple-tab-span" style=3D"white-space:pre">=09=09</spa=
n>as_fn_error $? "LZMA support for VZT is enabled, but xz could not be foun=
d.</div><div>Please install xz, see the http://tukaani.org/xz website or us=
e the --disable-xz flag." "$LINENO" 5</div><div><span class=3D"Apple-tab-sp=
an" style=3D"white-space:pre">=09</span>fi</div><div><span class=3D"Apple-t=
ab-span" style=3D"white-space:pre">=09</span>LIBXZ_LDADD=3D'-llzma'</div><d=
iv><span class=3D"Apple-tab-span" style=3D"white-space:pre">=09</span>LIBXZ=
_CFLAGS=3D'-D_WAVE_HAVE_XZ'</div><div>fi</div><div><br></div></div><div><br=
></div><div>Sorry, I'm having trouble following the logic in this block of =
code from the shellscript.</div><div><br></div><div>Gavin<br></div><div cla=
ss=3D"yahoo_quoted" style=3D"display:
block;"><div style=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvet=
ica, Arial, 'Lucida Grande', sans-serif;"><div style=3D"font-family: Helvet=
icaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;">=
<div class=3D"y_msg_container" style=3D"font-family: HelveticaNeue, 'Helvet=
ica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"=
><div class=3D"yqt1601819405" id=3D"yqtfd72858"><br clear=3D"none"><br clea=
r=3D"none"></div><br><br></div> </div> </div> </div> </div></body></html>
--485266291-1210819233-1388553033=:58541--
- Raw text -