LinuxQuestions.org
Help answer threads with 0 replies.
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 03-31-2004, 07:15 AM   #1
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 31
aMSN Traydock compilation problem


I have installed aMSN on SuSE 9 pro., and would like to compile the traydock plugin, so that I can minimise aMSN to my KDE tray. Every time I try to compile traydock, I get a message saying that I need to install Imlib first. I tried upgrading the version of imlib on my system (it was already installed) to the latest version (I think it's 1.9.14), but still get the same error.

Can someone help please!
 
Old 03-31-2004, 12:48 PM   #2
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
Do you have tk/tcl and the devel versions installed, you will need these files to compile the traydock.

Take a look at the Readme in the traydock folder, it will tell you exactly which tk/tcl to install.
 
Old 03-31-2004, 02:49 PM   #3
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Original Poster
Rep: Reputation: 31
I have tcl and tk installed correwctly, and the configure script finds these ok. It's just the imlib that causes the problem.

The output from the terminal when I try to install is:

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... /usr/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: /usr/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.

It also seems strange that nothing except dcumentation is found when I search for imlib, although it appears in the list of installed packages in YaST, and I know I installed it. Could this be significant?
 
Old 03-31-2004, 05:18 PM   #4
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
Do you have imlib-devel installed, I believe this is what it is looking for ?
 
Old 03-31-2004, 07:17 PM   #5
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Original Poster
Rep: Reputation: 31
Yes I have, but again its from an rpm package and doesn't show up when I searech for it.
 
Old 03-31-2004, 10:09 PM   #6
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
Did you try rpm -qa | grep tk
rpm -qa | grep tcl
rpm -qa | grep imlib


In all of these you should have the regular package plus the devel package otherwise you won't be able to compile the traydock.
 
Old 04-01-2004, 05:34 AM   #7
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Original Poster
Rep: Reputation: 31
All three of these packages show the regular and developer rackages here.
 
Old 04-15-2004, 04:22 PM   #8
damion
LQ Newbie
 
Registered: Oct 2001
Location: Devon, UK
Distribution: Fedora Core 2
Posts: 6

Rep: Reputation: 0
I have the exact same problem on Fedora Core 1. I've installed tk/tcl 8.3.5-93 (inc. -devel packages) and imlib 1.9.13-14 (inc. -devel and -cfgeditor packages).

Has anyone got ANY idea why this fails? The output seems to say that it can't detect imlib version 1.8.2+, which I clearly have.
 
Old 07-30-2004, 02:43 AM   #9
IkBenDeMan
LQ Newbie
 
Registered: Jul 2004
Posts: 9

Rep: Reputation: 0
Re: aMSN Traydock compilation problem

Quote:
Originally posted by hand of fate
I have installed aMSN on SuSE 9 pro., and would like to compile the traydock plugin, so that I can minimise aMSN to my KDE tray. Every time I try to compile traydock, I get a message saying that I need to install Imlib first. I tried upgrading the version of imlib on my system (it was already installed) to the latest version (I think it's 1.9.14), but still get the same error.

Can someone help please!
Okay, I found the solution after HOURS of trying. It was actually pretty simple. I believe that the newer vesrions of ImLib install themselves into different directories or something, however, I couldn't find them, even though I had the RPM's installed. The error message you got was the same one I got during the compilation attempt taht said something to the effect of "cannot find ImLib >= 1.8.2." So I searched google for ImLib 1.8.2 and found the sources and compiled them. I recommend doing this compilation and not doing an RPM install. Then I tried compiling tray dock and it worked perfectly! Good luck. Any questions IM me on my screen name TomPettysAwesome or on MSN with the e-mail address OperationIvy@charter.net . You can also e-mail me with questions.
 
Old 08-02-2004, 04:56 AM   #10
Sama
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
I finally cracked my problem

After hours and hours, I have finally cracked it. Well, one my nut that it!

An rpm -qa | grep imlib showed my system having these installed:

imlib2-1.0.6-0.fdr.3.2
imlib-devel-1.9.13-15.1
imlib-1.9.13-15.1
imlib-cfgeditor-1.9.13-15.1
imlib2-devel-1.0.6-0.fdr.3.2

I kept getting this error when I ran the configure script:

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/
configure: error: Fatal Error: no Imlib detected.

A closer look at the config.log showed that imlib-config was in fact being called but it was missing the png library:

configure:2438: checking for imlib-config
configure:2456: found /usr/bin/imlib-config
configure:2469: result: /usr/bin/imlib-config
configure:2477: checking for IMLIB - version >= 1.8.2
configure:2566: i386-redhat-linux-gcc -pipe -o conftest -fPIC -I/usr/X11R6/include conftest.c -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 >&5
/usr/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status

and so I did an rpm -qa | grep png and found:

libpng-1.2.5-5
libpng10-1.0.15-5

but the devel package was missing. As soon as I installed "libpng-devel", it worked flawlessly.

I hope that solves a few headaches
 
Old 08-11-2004, 03:28 PM   #11
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
Exact same problem as above...

I've installed all the tc and tk devel and std packages, Installed the libpng and libpng deval packages, and have the imlib and imlib-dev packages but still no go.

Anyone have any more thoughts on this.

I'm using SuSE 9.1 here.

Thanks alot!
Vince
 
Old 08-11-2004, 04:03 PM   #12
Sama
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
what the output of your config.log

could you paste your config.log here please?

I'm no expert, but I did fix it on mine
 
Old 08-11-2004, 04:53 PM   #13
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
Here ya go... I'm not sure if you wanted the whole thing but here it is...

If I do :
rpm -qa | grep imlib this is the result just so you know.

imlib-devel-1.9.14-176
imlib-1.9.14-176
imlib-config-1.9.14-176
imlib2-devel-1.1.0-145
imlib2-loaders-1.1.0-145
imlib2-1.1.0-145
imlib2-filters-1.1.0-145

Thanks in advance...


- - - - - - Here is my 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
 
Old 08-11-2004, 06:22 PM   #14
Sama
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
You don't need any of the other imlib's, other than imlib and imlib devel.

I do remember I had a problem with imlib-config 'cos that installs a GUI and imlib only has a shell based imlib-config. try to type imlib-config in a shell. if you get a GUI, then that's it.

From what I can see, the configure script uses imlib-config to detect the version installed. When the call doesn't respond as expected, it will fail and claim that imlib doesn't exist.

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.

My advice, remove all imlib installations, and install the latest for imlib and imlib-devel.

it's too bloody late! I've just had to edit that like 8 times to make sense! let me know how it goes.

Last edited by Sama; 08-11-2004 at 06:30 PM.
 
Old 08-11-2004, 07:56 PM   #15
Vince0000
Member
 
Registered: Sep 2003
Posts: 48

Rep: Reputation: 15
Tried what you suggested...

I uninstalled all the imlib packages except imlib itself as it was going to break 9 items so i left it...

Then I reinstalled imlib-devel and imlib-config, and did a update to the imlib package itself.

Re-ran the ./configure and same thing...
Aaaarrrrgggg sometimes something meant to be easy just floors me with the difficulty involved.

.... Know that I got that out, It's almost like the imlib needs to be specifically in the path or something.

Anyone have to deal with this before? it's all over Google with no solution I've found.

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 06:46 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