[tlinux-users:08400] Re: Toshiba Linux Utilities in Kernel 2.6.18.1

Nick Wright <[email protected]>
Newsgroups gmane.linux.hardware.toshiba
Message-ID <[email protected]>
When you want to build a program that uses some external library you 
need to install the development package for that library -- this 
includes all the headers and so on that the compiler needs to find 
before you can link properly against the library.

On a debian based system the packages for gtk development are 
libgtk1.2-dev and libgtk2.0-dev.

The xmessage problem I'm not so sure about, but the solution is likely 
to be installing some other development package. Is there a list of 
build dependencies listed for the toshiba utils?


Francisco Iacobelli wrote:
> Hello,
>
> I am trying to compile the Toshiba Linux Utilities, but I get two errors:
> 1) When I type ./configure I get:
> configure: warning: *** GTK+ libraries not found.  X code will not be built.
> I installed GTK+1.x so that gtk-config would be available, but I still get
> GTK errors. Is there a version for GTK+2.x?
>
> 2) When I type "make", I get:
>
> make[1]: Entering directory `/home/fid/downloads/toshutils-2.0.1/src'
> gcc -m486 -O2 -Wall -I../pixmaps -DLINUX  -I/usr/local/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -DVERSION=\"2.0.1\"
> -DBINDIR=\"/usr/local/bin\"\
>         -DXMESSAGE=\"/usr/bin/xmessage\" -DWALL=\"/usr/bin/wall\" -c
> thotswap.c
> thotswap.c: In function `DisplayXMessage':
> thotswap.c:187: error: `XMESSAGE' undeclared (first use in this function)
> thotswap.c:187: error: (Each undeclared identifier is reported only once
> thotswap.c:187: error: for each function it appears in.)
> make[1]: *** [thotswap.o] Error 1
> make[1]: Leaving directory `/home/fid/downloads/toshutils-2.0.1/src'
> make: *** [all] Error 2
>
> Any ideas?
>
> I am using Zenwalk (Slackware based), Kernel 2.6.18.1
> toshiba and toshiba-acpi modules are loaded
> My Toshiba is a Satellite U205-S5002
>
> Thank you!
> Francisco.
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.