LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2004, 07:58 PM   #16
Sama
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0

I went thru the same thing!! All I wanted was to have a little damn icon instead of it taking up space... but no, it's not that easy! you have to twist your neck 8 times and yawn several times too before you can do it!

what's the config.log complaining about now?

try to do imlib-config in the shell, does it run the text version?
 
Old 08-11-2004, 08:03 PM   #17
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
I hear ya... LOL

When I run imlib-config I get the standard response of Usage: imlib-config [prefix etc etc...] so it see's the command ok.

I'm just looking up adding the imlib location to my bashrc path would that be incorrect? since it already knows where it is but the configure doesn't?

Vince
 
Old 08-11-2004, 08:07 PM   #18
Sama
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
sounds like imlib's fine now. I had a look inside the configure script and it seems that once imlib-config is there, amsn is happy.

let's have another look at the config.log where it's failing
 
Old 08-11-2004, 08:15 PM   #19
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Here is the output when I run ./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... no
checking for IMLIB - version >= 1.8.2... no
*** The imlib-config script installed by IMLIB could not be found
*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the IMLIB_CONFIG environment variable to the
*** full path to 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/

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
And here is the Config.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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.6.5-7.104-default
uname -s = Linux
uname -v = #1 Wed Jul 28 16:42:13 UTC 2004

/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: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/X11R6/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.3 (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.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --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.3 (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:2469: result: no
configure:2477: checking for IMLIB - version >= 1.8.2
configure:2596: result: no
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=no
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='no'
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.6'
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.6'
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

P.S. Thanks for your patience and help on this one!
Vince
 
Old 08-11-2004, 08:20 PM   #20
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
Ahh, just one sec... when I run imlib-config as myself I get the text version...

When I'm switched to Root.. as su it fails... that is more than likely the issue right.

Vince
 
Old 08-11-2004, 08:24 PM   #21
Sama
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
hmm.. could be!

at least you've got a lead to go on now. I was about to say that I'm all out of suggestions.

do u use apt-get to update your imlib? 'cos if I remmeber correctly, I got the same problem you got when I had two versions of imlib installed. apt detected that for me.

I actually run the ./configure as myself. I just made sure I owned all the files in there first.

HOpe you get it sorted and do leave a msg if you do. I'm off to bed, it's calling me.. no really it is!!
 
Old 08-12-2004, 08:56 AM   #22
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
Guess what Sama it was the *#*( Path statement that was giving me grief...

When I ran imlib-config as myself it would execute the text version... When I su to root and tried to run it, Nothing happened.
I then changed my ownershipt to root:users and the chmod to 775 and ran it as myself... Problem Solved...!

Aaaarrrggg one of those things hey.

Anyway on to the next question I will search for... How to pass your path so when you su to root the path also get's exported and added to root's path and that wouldn't have happened.

Maybe this will help someone else so that's good!

Thanks again!
Vince
 
Old 08-12-2004, 09:06 AM   #23
Sama
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
excellent

glad you solved it, and that's what this forums all about!

as for the paths etc for root. as far as I know, and I could be wrong:

if you just "su", then you'll keep the initial user's paths etc.
if you "su -", then you load the root's path configs etc. (or run the .bashrc)

Cheers
 
Old 09-09-2004, 04:25 AM   #24
chemota
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Quote:
Originally posted by Vince0000
Guess what Sama it was the *#*( Path statement that was giving me grief...

When I ran imlib-config as myself it would execute the text version... When I su to root and tried to run it, Nothing happened.
I then changed my ownershipt to root:users and the chmod to 775 and ran it as myself... Problem Solved...!
I have exactly the same problem! can you please tell me how did you solve it? i mean the command you used....i am a newbie and i am still haven't needed to change ownerships with the chmod option...

please help me.....

thanks
 
Old 09-09-2004, 08:49 AM   #25
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
No problem...

Install the program by the RPM of your Distribution as you have done so far...
I'm assuming it's installed in the /opt/amsn directory here...

Open a terminal window
browse to the plugins folder
cd /opt/amsn/plugins/traydock
chage the ownership to yourself... or correct your path statement, I haven't done that so I just change the ownership...
chown yourusername:root -R /opt/amsn
change the mod's so you can execute the files
chmod -R 755 /opt/amsn
run the configure program
./configure
run make to create the libtray.so file
make

now run amsn and you should have the traydock option and you can set the program so the close button minimizes to the system tray... "Very Cool!"

TTYL,
Vince

I'm not at a linux station so if I missed something I appologize but that's the just of it, just make sure and replace yourusername with your login name you use like bob:root -R /opt/amsn

Last edited by Vince0000; 09-09-2004 at 08:51 AM.
 
Old 09-10-2004, 03:31 AM   #26
chemota
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
thanks a lot, but it's not working....

ok, i did what you told me but i get the same thing (and i am sure i've changed the permissions!). got everything installed! don't know what's wrong, I installed imlib and imlib-devel using apt-get.....

any other suggestion?

i get the imlib-config text response, only as normal user, not as root.....

It seems it's not for me!
 
Old 09-10-2004, 10:34 AM   #27
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
I typed a nice response and got disconnected from vnc by hitting the wrong key so I hope this is ok as I don't want to retype it All... Darn thing.

Double check you have all the correct packages installed...

Run "rpm -qa | grep <package>" to make sure you have the following :

tcl
tcl-devel
tk
tk-devel
imlib
imlib-devel
imlib-config
libpng
libpng-devel

then do the following:

cd /opt/amsn/plugins/traydock
su
<Root password>
chown -R yourusername:root /opt/amsn
chmod -R 770 /opt/amsn
exit (Should put you back to your account)
./configure
make

If this doesn't work post what the error is in the ./configure ok.

Thanks,
Vince
 
Old 09-11-2004, 10:55 PM   #28
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
One more thing...

Make sure you also have the package
gtk and
gtk-devel

Vince
 
Old 09-13-2004, 03:51 AM   #29
chemota
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
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, &micro) != 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
 
Old 09-13-2004, 09:03 AM   #30
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
Sorry your having this much dificulty... {smile}

Your using SuSE with version 0.93 from there website correct?

Then do me a favor...
Open YaST and set it to UPDATE (GREEN LIGHTNING BOLT) all these packages then redo your ./configure like posted above.

tcl
tcl-devel
tk
tk-devel
imlib
imlib-devel
imlib-config
libpng
libpng-devel
gtk
gtk-devel
glib
glib-devel
gcc
gcc-c++

Let me know how that turns out.
I'll take another look at your post but it looks like your doing it right. Double check to make sure your on the latest version of amsn while your doing it.
Here is the link to the one I used... ftp://ftp.gwdg.de/pub/linux/misc/sus...v.1.noarch.rpm

L8r,
Vince
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
aMSN Traydock in Slack10.0 & KDE Seiken Linux - Software 2 02-15-2005 07:34 AM
Traydock and MPlayer zoings Linux - Software 0 10-31-2004 04:23 PM
AMSN traydock problems configuring and making theMonkeY Linux - Software 2 08-29-2004 07:50 AM
aMSN's traydock unable to load. (Fedora Core 1) HyakuMan Linux - Software 3 03-17-2004 12:54 AM
amsn and traydock Satriani Linux - Software 17 11-17-2003 09:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration