thank you very much for your time, Vince0000...
this is anoying....
this is what i did:
Jose@linux:~> rpm -qa | grep tcl
tcl-8.4.4-34
itcl-3.3-255
tcl-devel-8.4.4-38
Jose@linux:~> tk
bash: tk: command not found
Jose@linux:~> rpm -qa | grep tk
tk-8.4.4-50
gtk-1.2.10-710
gtk2-2.2.3-27
libgtkhtml-2.2.4-110
libexif-gtk-0.3.3-172
atk-1.2.4-78
gtkam-0.1.11dev1-82
gtkspell-2.0.5-3suse90
tk-devel-8.4.4-57
gtk-devel-1.2.10-721
Jose@linux:~> rpm -qa | grep imlib
imlib-config-1.9.14-187
imlib-devel-1.9.14-187
imlib-1.9.14-187
Jose@linux:~> rpm -qa | grep libpng
libpng-1.2.5-93
libpng-devel-1.2.5-93
Jose@linux:~> rpm -qa | grep gtk
gtk-1.2.10-710
gtk2-2.2.3-27
libgtkhtml-2.2.4-110
libexif-gtk-0.3.3-172
gtkam-0.1.11dev1-82
gtkspell-2.0.5-3suse90
gtk-devel-1.2.10-721
Jose@linux:~> cd /opt/amsn/plugins/traydock/
Jose@linux:/opt/amsn/plugins/traydock> su
Password:
linux:/opt/amsn/plugins/traydock # chown -R Jose:root /opt/amsn
linux:/opt/amsn/plugins/traydock # chmod -R 770 /opt/amsn
linux:/opt/amsn/plugins/traydock # exit
exit
Jose@linux:/opt/amsn/plugins/traydock> ./configure
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for Tk configuration... found /usr/lib/tkConfig.sh
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for imlib-config... /opt/gnome/bin/imlib-config
checking for IMLIB - version >= 1.8.2... no
*** Could not run IMLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means IMLIB was incorrectly installed
*** or that you have moved IMLIB since it was installed. In the latter case, you
*** may want to edit the imlib-config script: /opt/gnome/bin/imlib-config
ERROR: Needs a system with Imlib 1.8.2 or higher
You can obtain it from:
ftp://ftp.enlightenment.org/pub/enlightenment/
ftp://www.rasterman.com/pub/enlightenment/
ftp://ftp.labs.redhat.com/pub/imlib/
configure: error: Fatal Error: no Imlib detected.
and this what i get.....
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by FULL-PACKAGE-NAME configure VERSION, which was
generated by GNU Autoconf 2.57. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = linux
uname -m = i686
uname -r = 2.4.21-99-default
uname -s = Linux
uname -v = #1 Wed Sep 24 13:30:51 UTC 2003
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/Jose/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: /usr/lib/java/jre/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1305: checking for Tcl configuration
configure:1376: result: found /usr/lib/tclConfig.sh
configure:1403: checking for Tk configuration
configure:1471: result: found /usr/lib/tkConfig.sh
configure:1538: checking for gcc
configure:1554: found /usr/bin/gcc
configure:1564: result: gcc
configure:1808: checking for C compiler version
configure:1811: gcc --version </dev/null >&5
gcc (GCC) 3.3.1 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:1814: $? = 0
configure:1816: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.1/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.1 (SuSE Linux)
configure:1819: $? = 0
configure:1821: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1824: $? = 1
configure:1848: checking for C compiler default output
configure:1851: gcc conftest.c >&5
configure:1854: $? = 0
configure:1900: result: a.out
configure:1905: checking whether the C compiler works
configure:1911: ./a.out
configure:1914: $? = 0
configure:1931: result: yes
configure:1938: checking whether we are cross compiling
configure:1940: result: no
configure:1943: checking for suffix of executables
configure:1945: gcc -o conftest conftest.c >&5
configure:1948: $? = 0
configure:1973: result:
configure:1979: checking for suffix of object files
configure:2001: gcc -c conftest.c >&5
configure:2004: $? = 0
configure:2026: result: o
configure:2030: checking whether we are using the GNU C compiler
configure:2055: gcc -c conftest.c >&5
configure:2058: $? = 0
configure:2061: test -s conftest.o
configure:2064: $? = 0
configure:2077: result: yes
configure:2083: checking whether gcc accepts -g
configure:2105: gcc -c -g conftest.c >&5
configure:2108: $? = 0
configure:2111: test -s conftest.o
configure:2114: $? = 0
configure:2125: result: yes
configure:2142: checking for gcc option to accept ANSI C
configure:2203: gcc -c -g -O2 conftest.c >&5
configure:2206: $? = 0
configure:2209: test -s conftest.o
configure:2212: $? = 0
configure:2230: result: none needed
configure:2248: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2251: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2438: checking for imlib-config
configure:2456: found /opt/gnome/bin/imlib-config
configure:2469: result: /opt/gnome/bin/imlib-config
configure:2477: checking for IMLIB - version >= 1.8.2
configure:2566: gcc -pipe -o conftest -fPIC -I/opt/gnome/include -I/usr/X11R6/include conftest.c -L/opt/gnome/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 >&5
In file included from /opt/gnome/include/Imlib.h:4,
from configure:2513:
/opt/gnome/include/Imlib_types.h:1:22: X11/Xlib.h: No such file or directory
/opt/gnome/include/Imlib_types.h:2:23: X11/Xutil.h: No such file or directory
/opt/gnome/include/Imlib_types.h:3:23: X11/Xatom.h: No such file or directory
/opt/gnome/include/Imlib_types.h:4:21: X11/Xos.h: No such file or directory
/opt/gnome/include/Imlib_types.h:8:34: X11/extensions/shape.h: No such file or directory
In file included from /opt/gnome/include/Imlib.h:4,
from configure:2513:
/opt/gnome/include/Imlib_types.h:73: error: parse error before "Pixmap"
/opt/gnome/include/Imlib_types.h:73: warning: no semicolon at end of struct or union
/opt/gnome/include/Imlib_types.h:74: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:78: error: parse error before '}' token
/opt/gnome/include/Imlib_types.h:82: error: parse error before "Display"
/opt/gnome/include/Imlib_types.h:82: warning: no semicolon at end of struct or union
/opt/gnome/include/Imlib_types.h:84: error: parse error before "root"
/opt/gnome/include/Imlib_types.h:84: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:85: error: parse error before '*' token
/opt/gnome/include/Imlib_types.h:85: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:88: error: parse error before "root_cmap"
/opt/gnome/include/Imlib_types.h:88: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:92: error: parse error before '*' token
/opt/gnome/include/Imlib_types.h:92: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:93: error: parse error before '*' token
/opt/gnome/include/Imlib_types.h:93: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:98: error: parse error before "base_window"
/opt/gnome/include/Imlib_types.h:98: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:100: error: parse error before '}' token
/opt/gnome/include/Imlib_types.h:113: error: field `x' has incomplete type
/opt/gnome/include/Imlib_types.h:161: error: parse error before "Colormap"
/opt/gnome/include/Imlib_types.h:161: warning: no semicolon at end of struct or union
In file included from configure:2513:
/opt/gnome/include/Imlib.h:11: error: parse error before '*' token
/opt/gnome/include/Imlib.h:12: error: parse error before '*' token
/opt/gnome/include/Imlib.h:19: error: parse error before "Imlib_copy_image"
/opt/gnome/include/Imlib.h:19: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:20: error: parse error before "Imlib_copy_mask"
/opt/gnome/include/Imlib.h:20: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:21: error: parse error before "Imlib_move_image"
/opt/gnome/include/Imlib.h:21: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:22: error: parse error before "Imlib_move_mask"
/opt/gnome/include/Imlib.h:22: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:26: error: parse error before "Pixmap"
/opt/gnome/include/Imlib.h:34: error: parse error before "Pixmap"
/opt/gnome/include/Imlib.h:51: error: parse error before "Window"
/opt/gnome/include/Imlib.h:52: error: parse error before "Window"
/opt/gnome/include/Imlib.h:53: error: parse error before "Window"
/opt/gnome/include/Imlib.h:55: error: parse error before "Pixmap"
/opt/gnome/include/Imlib.h:64: error: parse error before '*' token
/opt/gnome/include/Imlib.h:64: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:65: error: parse error before "Imlib_get_colormap"
/opt/gnome/include/Imlib.h:65: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:68: error: parse error before "Pixmap"
/opt/gnome/include/Imlib.h:72: error: parse error before "Drawable"
configure:2569: $? = 1
configure: program exited with status 1
configure: failed program was:
| #line 2501 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FULL-PACKAGE-NAME"
| #define PACKAGE_TARNAME "full-package-name"
| #define PACKAGE_VERSION "VERSION"
| #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
| #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
| /* end confdefs.h. */
|
| #include <stdio.h>
| #include <stdlib.h>
| #include <string.h>
| #include <Imlib.h>
|
| char*
| my_strdup (char *str)
| {
| char *new_str;
|
| if (str)
| {
| new_str = malloc ((strlen (str) + 1) * sizeof(char));
| strcpy (new_str, str);
| }
| else
| new_str = NULL;
|
| return new_str;
| }
|
| int main ()
| {
| int major, minor, micro;
| char *tmp_version;
|
| system ("touch conf.imlibtest");
|
| /* HP/UX 9 (%@#!) writes to sscanf strings */
| tmp_version = my_strdup("1.8.2");
| if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
| printf("%s, bad version string\n", "1.8.2");
| exit(1);
| }
|
| if ((1 > major) ||
| ((1 == major) && (9 > minor)) ||
| ((1 == major) && (9 == minor) &&
| (14 >= micro)))
| {
| return 0;
| }
| else
| {
| printf("\n*** 'imlib-config --version' returned %d.%d, but the minimum version\n", 1, 9);
| printf("*** of IMLIB required is %d.%d. If imlib-config is correct, then it is\n", major, minor);
| printf("*** best to upgrade to the required version.\n");
| printf("*** If imlib-config was wrong, set the environment variable IMLIB_CONFIG\n");
| printf("*** to point to the correct copy of imlib-config, and remove the file\n");
| printf("*** config.cache before re-running configure\n");
| return 1;
| }
| }
|
|
configure:2596: result: no
configure:2630: gcc -pipe -o conftest -fPIC -I/opt/gnome/include -I/usr/X11R6/include conftest.c -L/opt/gnome/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 >&5
In file included from /opt/gnome/include/Imlib.h:4,
from configure:2620:
/opt/gnome/include/Imlib_types.h:1:22: X11/Xlib.h: No such file or directory
/opt/gnome/include/Imlib_types.h:2:23: X11/Xutil.h: No such file or directory
/opt/gnome/include/Imlib_types.h:3:23: X11/Xatom.h: No such file or directory
/opt/gnome/include/Imlib_types.h:4:21: X11/Xos.h: No such file or directory
/opt/gnome/include/Imlib_types.h:8:34: X11/extensions/shape.h: No such file or directory
In file included from /opt/gnome/include/Imlib.h:4,
from configure:2620:
/opt/gnome/include/Imlib_types.h:73: error: parse error before "Pixmap"
/opt/gnome/include/Imlib_types.h:73: warning: no semicolon at end of struct or union
/opt/gnome/include/Imlib_types.h:74: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:78: error: parse error before '}' token
/opt/gnome/include/Imlib_types.h:82: error: parse error before "Display"
/opt/gnome/include/Imlib_types.h:82: warning: no semicolon at end of struct or union
/opt/gnome/include/Imlib_types.h:84: error: parse error before "root"
/opt/gnome/include/Imlib_types.h:84: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:85: error: parse error before '*' token
/opt/gnome/include/Imlib_types.h:85: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:88: error: parse error before "root_cmap"
/opt/gnome/include/Imlib_types.h:88: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:92: error: parse error before '*' token
/opt/gnome/include/Imlib_types.h:92: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:93: error: parse error before '*' token
/opt/gnome/include/Imlib_types.h:93: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:98: error: parse error before "base_window"
/opt/gnome/include/Imlib_types.h:98: warning: data definition has no type or storage class
/opt/gnome/include/Imlib_types.h:100: error: parse error before '}' token
/opt/gnome/include/Imlib_types.h:113: error: field `x' has incomplete type
/opt/gnome/include/Imlib_types.h:161: error: parse error before "Colormap"
/opt/gnome/include/Imlib_types.h:161: warning: no semicolon at end of struct or union
In file included from configure:2620:
/opt/gnome/include/Imlib.h:11: error: parse error before '*' token
/opt/gnome/include/Imlib.h:12: error: parse error before '*' token
/opt/gnome/include/Imlib.h:19: error: parse error before "Imlib_copy_image"
/opt/gnome/include/Imlib.h:19: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:20: error: parse error before "Imlib_copy_mask"
/opt/gnome/include/Imlib.h:20: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:21: error: parse error before "Imlib_move_image"
/opt/gnome/include/Imlib.h:21: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:22: error: parse error before "Imlib_move_mask"
/opt/gnome/include/Imlib.h:22: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:26: error: parse error before "Pixmap"
/opt/gnome/include/Imlib.h:34: error: parse error before "Pixmap"
/opt/gnome/include/Imlib.h:51: error: parse error before "Window"
/opt/gnome/include/Imlib.h:52: error: parse error before "Window"
/opt/gnome/include/Imlib.h:53: error: parse error before "Window"
/opt/gnome/include/Imlib.h:55: error: parse error before "Pixmap"
/opt/gnome/include/Imlib.h:64: error: parse error before '*' token
/opt/gnome/include/Imlib.h:64: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:65: error: parse error before "Imlib_get_colormap"
/opt/gnome/include/Imlib.h:65: warning: data definition has no type or storage class
/opt/gnome/include/Imlib.h:68: error: parse error before "Pixmap"
/opt/gnome/include/Imlib.h:72: error: parse error before "Drawable"
configure:2633: $? = 1
configure: failed program was:
| #line 2610 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FULL-PACKAGE-NAME"
| #define PACKAGE_TARNAME "full-package-name"
| #define PACKAGE_VERSION "VERSION"
| #define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
| #define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
| /* end confdefs.h. */
|
| #include <stdio.h>
| #include <Imlib.h>
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:2672: error: Fatal Error: no Imlib detected.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_c_tclconfig=/usr/lib
ac_cv_c_tkconfig=/usr/lib
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_objext=o
ac_cv_path_IMLIB_CONFIG=/opt/gnome/bin/imlib-config
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
## ----------------- ##
## Output variables. ##
## ----------------- ##
CC='gcc -pipe'
CFLAGS='-fPIC'
CFLAGS_DEBUG=''
CFLAGS_OPTIMIZE=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
IMLIB_CFLAGS=''
IMLIB_CONFIG='/opt/gnome/bin/imlib-config'
IMLIB_LIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
PACKAGE_NAME='FULL-PACKAGE-NAME'
PACKAGE_STRING='FULL-PACKAGE-NAME VERSION'
PACKAGE_TARNAME='full-package-name'
PACKAGE_VERSION='VERSION'
PATH_SEPARATOR=':'
SHELL='/bin/sh'
SHLIB_CFLAGS=''
SHLIB_LD='gcc -pipe -shared'
SHLIB_LDFLAGS=''
STLIB_LD=''
TCL_INCLUDE_SPEC='-I/usr/include'
TCL_LIB_SPEC='-L/usr/lib -ltcl8.4${TCL_DBGX}'
TCL_SRC_DIR='/usr/src/packages/BUILD/tcl8.4.4'
TK_LIBS='-L/usr/X11R6/lib -lX11 -ldl -lieee -lm'
TK_LIB_SPEC='-L/usr/lib -ltk8.4'
TK_SRC_DIR='/usr/src/packages/BUILD/tk8.4.4'
XINCLUDES='-I/usr/X11R6/include'
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='/usr/local'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT "BUG-REPORT-ADDRESS"
#define PACKAGE_NAME "FULL-PACKAGE-NAME"
#define PACKAGE_STRING "FULL-PACKAGE-NAME VERSION"
#define PACKAGE_TARNAME "full-package-name"
#define PACKAGE_VERSION "VERSION"
configure: exit 1
hope we can "make" it....
thanks again,
Chemota