X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 831108 DOT 67811 DOT bm AT omp1017 DOT mail DOT bf1 DOT yahoo DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1388533856; bh=BDvy2Atddwo5gAOm2GWHXesQL9U5Dqebgj3qylDfup0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=N9O0BdWmcssQFnzbI1sS7/u5k3HEeasSw+zaGctfNWLPy+LLyRxCMum/h2QP4FXQ4woNgEjnxifqkaStoCL6bOW3aDPS49MgPFwUMMrCXHIEvqK2OZVogwC7UE3kXHAntvQPd5uM/dEJkloMSeB/3JkHUb1L51IEtdkmMV5BL6M= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=N3TJycowI7YUURCvg3JlNL3milWOB9q2EzHqX5svh6E+1La50TYlIa+PwunY5ryPYKEdTTojCyzpcz1SMRTtk9BtKPeAAcvfzUcLwHrmlLXAohdTSzSlUINTX/6KGj3lPNAIOBFG9LwndzQL9/PCS0w1g7c5BB+9ehysYICJkU8=; X-YMail-OSG: _9_7bBcVM1nnJuQY7gbnuabAUD3pnb_NdQ8vPbRQoe6SjKL N0HZ4CDa8NL.Q45AhwYu8GHVq8XoLiIvkVp1TMBLfIqY6y2qLueEv4rdGpwd fTbYx74wY6EA4kSlvbTOVbbgVMibHHYZvA6q1wlx5ikLTvO_2jE2ZDgF_ai7 SBznAUs5LxRMz92lh7M5hyPm7qSdWTD6oqdPFssZAhYQNiZyEwH40wfCW8R_ fT1LeQV8jcgLSbNf9ZbIvLeGX8fQkwM6BiXIRC08BYuIS5LccoLOkHrXSi8T 6Mp.YiPIicmMUG0YB74AjKR46o3dX4Eku0nesQC_xaWXtJCcCzkiGMppgUDc 5v_g0WhaZTB8au5Rb2qEioMe3cqjTQcfoyqUhgy6j9c8K.V21zjBjifhDwMg ZApt8CU4z5AsXolZGiz7lrxshnVFtb8LjqOKFTYEETgRuxN_0jwz8zT9qBFd sOz2jD3RIDiPuEKiFhCFScBW462yeLejAbibTcHTxc_bi7oFPftn4JdYFtwT MMYWBC.Yjvjn32xnf5ddAkI6g17MIb6llwJhFamef7J2RbgXN2ksbO3tF9Nx 3AFtC0zKKg6iUJGOPLibZ6VhLTs8ywuE7.CpZHH7TkO4ccmoB_pNfeldcR2s IOYTCqhTjS.RAN9tP6K3pMm1OOT28ENcCw9EhLD5ZdEdy7aaoNUsmAL3EFsz ndWc0wWp3XuYMbPZC2HQFINpEswT_OCNSqKkY3C8QaEjWr3wkzw-- X-Rocket-MIMEInfo: 002.001,VGlib3IsIFN0ZWZhbiwgQWw6CgpUaGFuayB5b3Ugc28gbXVjaCBmb3IgeW91ciB0aW1lIG9uIHRoaXMuCgpJJ20gZGVmaW5pdGVseSBhbiBVYnVudHUgbmV3YmllLCBhcyB5b3UgY2FuIHRlbGwgZnJvbSBteSBmZWVibGUgYXR0ZW1wdHMgYXQgaW5zdGFsbGluZyBndGt3YXZlIQoKQWZ0ZXIgSSB1bmRlcnN0b29kIHRoZSBiYXNpYyBwcm9ibGVtIG9mIHNvdXJjZSB2cy4gYmluYXJ5IGluc3RhbGxzLCBJIHdhcyBhYmxlIHRvIG1ha2UgbW9yZSBwcm9ncmVzcy4gSSBpbnN0YWxsZWQgdGhlIFRjbCBzb3VyY2UsIHQBMAEBAQE- X-Mailer: YahooMailWebService/0.8.172.614 References: <1388484393 DOT 34234 DOT YahooMailNeo AT web160801 DOT mail DOT bf1 DOT yahoo DOT com> <201312311211 DOT 20333 DOT ad252 AT freeelectron DOT net> Message-ID: <1388533856.8115.YahooMailNeo@web160803.mail.bf1.yahoo.com> Date: Tue, 31 Dec 2013 15:50:56 -0800 (PST) From: gavin bowlby Subject: Re: [geda-user] problems building gtkwave-3.3.53 on Ubuntu 13.10 To: "geda-user AT delorie DOT com" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1625196408-2014320542-1388533856=:8115" Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --1625196408-2014320542-1388533856=:8115 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Tibor, Stefan, Al:=0A=0AThank you so much for your time on this.=0A=0AI'm d= efinitely an Ubuntu newbie, as you can tell from my feeble attempts at inst= alling gtkwave!=0A=0AAfter I understood the basic problem of source vs. bin= ary installs, I was able to make more progress. I installed the Tcl source,= then ran into the same problem for Tk source. Then after a few more tool i= nstalls, I see the following:=0A=0Agavin AT matango:~/Downloads/gtkwave-3.3.53= $ ./configure --prefix=3D/usr --with-tcl=3D/usr/lib/tcl8.5 --with-tk=3D/usr= /lib/tk8.5=0Achecking for a BSD-compatible install... /usr/bin/install -c= =0Achecking whether build environment is sane... yes=0Achecking for a threa= d-safe mkdir -p... /bin/mkdir -p=0Achecking for gawk... no=0Achecking for m= awk... mawk=0Achecking whether make sets $(MAKE)... yes=0Achecking whether = make supports nested variables... yes=0Achecking whether to enable maintain= er-specific portions of Makefiles... no=0Achecking if MIME and desktop upda= tes should be disabled... no=0Achecking for update-mime-database... /usr/bi= n/update-mime-database=0Achecking for update-desktop-database... /usr/bin/u= pdate-desktop-database=0Achecking if inline assembly should be enabled... y= es=0Achecking if structure packing should be enabled... no=0Achecking if Tc= l usage should be disabled... no=0Achecking for Tcl configuration... found = /usr/lib/tcl8.5/tclConfig.sh=0Achecking for existence of /usr/lib/tcl8.5/tc= lConfig.sh... loading=0Achecking for Tk configuration... found /usr/lib/tk8= .5/tkConfig.sh=0Achecking for existence of /usr/lib/tk8.5/tkConfig.sh... lo= ading=0Achecking if Tcl/Tk (if present) should be stubified... no=0Acheckin= g if gtk1 or gtk2 should be used... gtk2=0Achecking if fatlines should be u= sed... no=0Achecking if ae2 support should be used... no=0Achecking if Fsdb= Reader support should be used... no=0Achecking for g++... g++=0Achecking wh= ether the C++ compiler works... yes=0Achecking for C++ compiler default out= put file name... a.out=0Achecking for suffix of executables...=A0=0Acheckin= g whether we are cross compiling... no=0Achecking for suffix of object file= s... o=0Achecking whether we are using the GNU C++ compiler... yes=0Achecki= ng whether g++ accepts -g... yes=0Achecking for style of include used by ma= ke... GNU=0Achecking dependency style of g++... gcc3=0Achecking for gawk...= (cached) mawk=0Achecking for gcc... gcc=0Achecking whether we are using th= e GNU C compiler... yes=0Achecking whether gcc accepts -g... yes=0Achecking= for gcc option to accept ISO C89... none needed=0Achecking dependency styl= e of gcc... gcc3=0Achecking whether make sets $(MAKE)... (cached) yes=0Ache= cking for flex... flex=0Achecking lex output file root... lex.yy=0Achecking= lex library... -lfl=0Achecking whether yytext is a pointer... yes=0Achecki= ng for ranlib... ranlib=0Achecking whether gcc and cc understand -c and -o = together... yes=0Achecking for gedit... /usr/bin/gedit=0Achecking for fsdbd= ebug... notfound=0Achecking for fsdb2vcd... notfound=0Achecking for vpd2vcd= ... notfound=0Achecking for wlf2vcd... notfound=0Achecking for gperf... /us= r/bin/gperf=0Achecking for dlopen in -ldl... yes=0Achecking for sqrt in -lm= ... yes=0Achecking for main in -lpthread... yes=0Achecking for gzread in -l= z... yes=0Achecking for BZ2_bzread in -lbz2... no=0Achecking if XZ should b= e enabled... yes=0Achecking for lzma_end in -llzma... no=0Aconfigure: error= : LZMA support for VZT is enabled, but xz could not be found.=0APlease inst= all xz, see the http://tukaani.org/xz website or use the --disable-xz flag.= =0Agavin AT matango:~/Downloads/gtkwave-3.3.53$=A0=0A=0A=0Abut I can see the x= z program:=0A=0Agavin AT matango:~/Downloads/gtkwave-3.3.53$ which xz=0A/usr/b= in/xz=0A=0ASo now I'm confused again. Is there a different version of xz th= at's required? I'd rather not use the --disable-xz flag, so can you recomme= nd a next step to try?=0A=0Athanks again for your help,=0AGavin=0A=0A=0A=0A= On Tuesday, December 31, 2013 9:41 AM, "gedau AT igor2 DOT repo DOT hu" wrote:=0A =0A=0A=0A=0AOn Tue, 31 Dec 2013, al davis wrote:=0A=0A> O= n Tuesday 31 December 2013, gavin bowlby wrote:=0A>> I see the following er= ror message after doing a:=0A>>=0A>> ./configure --prefix=3D/usr=0A>=0A> Th= is is typical behavior when the configure script finds=0A> something missin= g.=A0 Usually what=A0 you need to do is look in a=0A> file, I think it is s= omething like "config.log".=A0 Look at the=0A> stuff near the end of the fi= le, and try to make sense of it.=0A>=0A> There you will see the actual outp= ut of what the script did=0A> along the way.=A0 Usually this will hint at s= omething missing.=0A> Now you need to find out what package provides that, = if any, and=0A> install it.=A0 It is common to go through several iteration= s of=0A> this.=A0 Welcome to autoconf.=0A>=0A> On ubuntu and debian, you ca= n use the "dpkg" and "apt-cache"=0A> tools to try to match up a file to a p= ackage containing it.=0A=0AOn Debian based systems:=0A=0Aapt-cache search p= attern=A0 <- when you know (partial) package name (e.g. "tcl")=0Aapt-file = search pattern=A0 =A0 <- when you know a file name (e.g. "/usr/lib/libtcl")= =0Adpkg -S pattern=A0 =A0 =A0 =A0 =A0 =A0 <- figure out which package insta= lled a file on=A0 your system=0A=0Aonce you know the package name:=0A=0Aapt= -get install package=0A=0AMost projects are split in multiple packages. The= plain foo contains the =0Abinary only, for when you want to run it; foo-de= v contains the headers and =0Aextras if you want to compile against a lib; = there are sometimes foo-doc =0Afor the documentation.=0A=0AMajor versions u= sually have different packages that can be installed in =0Aparallel; tcl8.4= , tcl8.6; install both or install the one the config =0Ascript is looking f= or.=0A=0ATL;DR: apt-get install tcl8.4-dev most probably fixes the problem = about a =0Amissing libtcl.=0A=0ARegards,=0A=0ATibor --1625196408-2014320542-1388533856=:8115 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Tibor, Stefan, Al:

Thank you so much for your time on this.

I'm definitely an Ubuntu newbie, as you can tell f= rom my feeble attempts at installing gtkwave!

After I understood the basic problem of source vs. binary installs, I = was able to make more progress. I installed the Tcl source, then ran into t= he same problem for Tk source. Then after a few more tool installs, I see t= he following:
<= br>
gavin AT matango:~/Down= loads/gtkwave-3.3.53$ ./configure --prefix=3D/usr --with-tcl=3D/usr/lib/tcl= 8.5 --with-tk=3D/usr/lib/tk8.5
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environm= ent is sane... yes
check= ing for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports = nested variables... yes
= checking whether to enable maintainer-specific portions of Makefiles... no
checking if MIME and desktop updates sh= ould be disabled... no
c= hecking for update-mime-database... /usr/bin/update-mime-database
checking for update-desktop-datab= ase... /usr/bin/update-desktop-database
checking if inline assembly should be enabled... yes
<= div style=3D"background-color: transparent;">checking if structure packing = should be enabled... no
= checking if Tcl usage should be disabled... no
checking for Tcl configuration... found /usr/lib/tcl= 8.5/tclConfig.sh
checkin= g for existence of /usr/lib/tcl8.5/tclConfig.sh... loading
checking for Tk configuration... = found /usr/lib/tk8.5/tkConfig.sh
checking for existence of /usr/lib/tk8.5/tkConfig.sh... loading
checking if Tcl/Tk (if pre= sent) should be stubified... no
checking if gtk1 or gtk2 should be used... gtk2
checking if fatlines should be used... no
checking if ae2 support s= hould be used... no
chec= king if FsdbReader support should be used... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler de= fault output file name... a.out
chec= king for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files..= . o
checking whether we = are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... = GNU
checking dependency = style of g++... gcc3
che= cking for gawk... (cached) mawk
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g..= . yes
checking for gcc o= ption to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cach= ed) yes
checking for fle= x... flex
checking lex o= utput file root... lex.yy
checking whether yytext is a pointer... yes
checking for ranlib... ranlib
checking whether gcc and cc understand -c = and -o together... yes
c= hecking for gedit... /usr/bin/gedit
checking for fsdbdebug... notfound
checking for fsdb2vcd... notfound
checking for vpd2vcd... notfound
checking for wlf2vcd... notfound
checking for gperf... /usr/bin/gper= f
checking for dlopen in= -ldl... yes
checking fo= r sqrt in -lm... yes
che= cking for main in -lpthread... yes
checking for gzread in -lz... yes
checking for BZ2_bzread in -lbz2... no
checking if XZ should be enabled... yes=
checking for lzma_end in -llzma..= . no
configure: error: L= ZMA support for VZT is enabled, but xz could not be found.
Please install xz, see the http://tukaa= ni.org/xz website or use the --disable-xz flag.
gavin AT matango:~/Downloads/gtkwave-3.3.53$ 


but I can see the xz program:

gavin AT matango:~/Downloads/gtkwave-3.3.53$ which xz
/usr/bin/xz

So now I'm confused again. Is = there a different version of xz that's required? I'd rather not use the --d= isable-xz flag, so can you recommend a next step to try?

thanks again for your help,
Gavin


=
On Tuesday, December 31= , 2013 9:41 AM, "gedau AT igor2 DOT repo DOT hu" <gedau AT igor2 DOT repo DOT hu> wrote:


On Tue, 31 Dec 2= 013, al davis wrote:

> On Tuesday 3= 1 December 2013, gavin bowlby wrote:
>> I see the f= ollowing error message after doing a:
>>
>> ./configure --prefix=3D/usr
>
> This is typical behavior when the configure script finds<= br clear=3D"none">> something missing.  Usually what  you need= to do is look in a
> file, I think it is something like "config.log". = Look at the
> stuff near the end of the file, and try= to make sense of it.
>
> There y= ou will see the actual output of what the script did
>= along the way.  Usually this will hint at something missing.
> Now you need to find out what package provides that, if any,= and
> install it.  It is common to go through se= veral iterations of
> this.  Welcome to autoconf.=
>
> On ubuntu and debian, you ca= n use the "dpkg" and "apt-cache"
> tools to try to mat= ch up a file to a package containing it.


On Debian based systems:

apt= -cache search pattern  <- when you know (partial) package name (e.= g. "tcl")
apt-file search pattern    <- when you know a = file name (e.g. "/usr/lib/libtcl")
dpkg -S pattern  =           <- figure out which package installed= a file on  your system

once you = know the package name:

apt-get install= package

Most projects are split in mu= ltiple packages. The plain foo contains the
binary only,= for when you want to run it; foo-dev contains the headers and
extras if you want to compile against a lib; there are sometimes foo= -doc
for the documentation.

Major versions usually have different packages that can be instal= led in
parallel; tcl8.4, tcl8.6; install both or install= the one the config
script is looking for.

TL;DR: apt-get install tcl8.4-dev most probably fixes the p= roblem about a
missing libtcl.

Regards,

Tibor



--1625196408-2014320542-1388533856=:8115--