public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* Re: 'bridge-tk unknown' when trying to run demo
       [not found] <3B4DB97D.A616E537@lycos.com>
@ 2001-07-25  9:40 ` Frank Ch. Eigler
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2001-07-25  9:40 UTC (permalink / raw)
  To: Andre; +Cc: sid

Hi -

On Thu, Jul 12, 2001 at 10:51:41AM -0400, Andre wrote:
: [...]
: > Right.  The bridge-tk component requires among other things that
: > the tcl-bridge component be available as a shared library
: > (in $prefix/lib/sidcomp) or statically linked into the
: > $prefix/bin/sid executable,
: 
: What would trigger the configure script to try one over the other ??

The sid/configure{.in} script looks for the existence of
a libstdc++ shared library (.so or .dll).  It looks like for
your machine, full shared + static library building is triggered.
The log/ls-lR files you sent over suggest that everything built
and installed as expected.


: [...]
: > (Also, please be aware that this old demo is not frequently tested
: > any more.)
: 
: Does this mean there is a newer demo somewhere ?? I have no special
: interest in a voice-pager - I simply wanted something to verify that
: everything is working :-)

Running "make check" in the sid build directory is one way to ensure
that the system is built well enough.  Actually using it, by running
or debugging some cross-compiled applications (see the new documentation
or the online FAQ), is the the best way.


- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7XvZuVZbdDOm/ZT0RAqLfAJ48HXITN/CHeENGSqyvemyQiCx1XgCeOvOX
0fRY4grQsYC6bLG1q7qncUI=
=ed6q
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 'bridge-tk unknown' when trying to run demo
  2001-07-08  4:51 Andre
@ 2001-07-11 13:59 ` Frank Ch. Eigler
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2001-07-11 13:59 UTC (permalink / raw)
  To: Andre; +Cc: sid

Hi, Andre -

: [...]
: ./voice-pager-demo
: + arm-elf-sid --no-run --sidcodec=0xA01300
: /home/mccurdy/sid_build/sid/demos/voice-pager/Test-voice-pager.out
: Configuration file saved to `Test-voice-pager.out.conf'.
: + sid -f
: /home/mccurdy/sid_build/sid/demos/voice-pager/Test-voice-pager.out.conf
: -f voice-pager-demo.conf -f
: ../../../../src/sid/demos/voice-pager/voice-pager-demo.conf.pport
: voice-pager-demo.conf:8: component type bridge-tk unknown
: voice-pager-demo.conf:9: component panel not found
: [more 'component panel not found' messages...]
: Configuration error.  Aborting.

Right.  The bridge-tk component requires among other things that the
tcl-bridge component be available as a shared library
(in $prefix/lib/sidcomp) or statically linked into the $prefix/bin/sid
executable, and that the "bridge-tk.tk" file be available in
$prefix/share/sidcomp.  If you are running sid from an installation
directory other than the $prefix you configured for it, you'll need
to set the $SID_EXEC_PREFIX environment variable to point at the
run-time $prefix.

There are other possibilities.  It'd help if you supplied the sid
configure line, tcl-related bits of the "make" transcript, a "ls -lR"
of the entire sid install tree.

(Also, please be aware that this old demo is not frequently tested
any more.)


_ FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7TL02VZbdDOm/ZT0RAh0NAJ9afh+jgbNmmQaW18o2nhfQLfq2oACfcJzP
KAPO5fsixWGipqjhoiB+xVo=
=3YqD
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 'bridge-tk unknown' when trying to run demo
@ 2001-07-08  4:51 Andre
  2001-07-11 13:59 ` Frank Ch. Eigler
  0 siblings, 1 reply; 3+ messages in thread
From: Andre @ 2001-07-08  4:51 UTC (permalink / raw)
  To: sid

Hi,

I've built SID from cvs on a Mandrake8.0 system.
I'm using the prebuilt arm gcc 2.95.2 based cross compiler tools from
the LART project and (after changing the voice-pager Makefile to look
for arm-linux-g++ instead of arm-elf-g++ as the cross compiler) 'make
all-demos' seemed to run OK.

However, when I try to run the demo I get the same result described on
the mailing list in January ie:

./voice-pager-demo
+ arm-elf-sid --no-run --sidcodec=0xA01300
/home/mccurdy/sid_build/sid/demos/voice-pager/Test-voice-pager.out
Configuration file saved to `Test-voice-pager.out.conf'.
+ sid -f
/home/mccurdy/sid_build/sid/demos/voice-pager/Test-voice-pager.out.conf
-f voice-pager-demo.conf -f
../../../../src/sid/demos/voice-pager/voice-pager-demo.conf.pport
voice-pager-demo.conf:8: component type bridge-tk unknown
voice-pager-demo.conf:9: component panel not found
[more 'component panel not found' messages...]
Configuration error.  Aborting.


> This message indicates that the tcl/tk bridge component was
> not built or installed as expected.  This component requires
> that the tcl 8.0 and tk 8.0 libraries from the sourceware /src
> repository be built alongside sid itself; we may be missing
> some /src top-level configure/Makefile changes to automate
> this part.


The tcl/tk stuff was in the src from cvs and I'm fairly sure was
included in the build sequence (the quick stuff near the beginning,
before many hours of c++ right ? :-).
My /INSTALLTREE/lib directory now contains:

-rw-r--r--   1 root   root     953132 Jul  8 02:11 libexpect5.26.a
-r-xr-xr-x   1 root   root    3865156 Jul  8 02:06 libtcl8.0.a*
-r-xr-xr-x   1 root   root   10554240 Jul  8 02:07 libtk8.0.a*
drwxr-xr-x   2 root   root       3936 Jul  8 02:10 sidcomp/
drwxr-xr-x   2 root   root        216 Jul  8 02:11 sidsamples/
-rw-r--r--   1 root   root       5266 Jul  8 02:06 tclConfig.sh
-rw-r--r--   1 root   root       2683 Jul  8 02:07 tkConfig.sh


Thanks in advance...

Andre
--

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-25  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3B4DB97D.A616E537@lycos.com>
2001-07-25  9:40 ` 'bridge-tk unknown' when trying to run demo Frank Ch. Eigler
2001-07-08  4:51 Andre
2001-07-11 13:59 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).