LinuxQuestions.org
Register a domain and help support LQ
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 11-29-2004, 02:33 PM   #1
rekurzion
Newbie
 
Registered: Nov 2004
Distribution: Ubuntu 4.10 (2.6.8.1-3-386) and loving it.
Posts: 15

Rep: Reputation: 0
Difficulty Installing epplets source (libImlib2)


running red het 8.0 (2.4.18-14)
currently using Gnome with enlightenment, looking to use E window manager exclusively.

I am having a problem getting the ./configure for epplets-0.7.tar.gz to recognize an important library. (Although I have had so many problems with this library, it makes me wonder . . .)

this is the error from the ./configure:

checking for Imlib_init in -lImlib... no
WARNING: Imlib was not found or did not correctly link.
Please check config.log to see what the error was.
I will attempt to continue, but things may go wrong.
configure: warning: WARNING: libImlib not found. Attempting to continue anyway.

This is from the config.log file:

configure:7451: gcc -o conftest -g -O2 -I/usr/X11R6/include -I/usr/local/include -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 1>&5
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
/usr/bin/ld: cannot find -lImlib

. . . (is this where my problem lies??)

collect2: ld returned 1 exit status
configure: failed program was:
#line 7444 "configure"
#include "confdefs.h"

int main() {

; return 0; }


This is the error from the make:

make all-recursive
make[1]: Entering directory `/usr/local/src/enlightenment/epplets-0.7'
Making all in api
make[2]: Entering directory `/usr/local/src/enlightenment/epplets-0.7/api'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/X11R6/include -I/usr/lo
cal/include -I/usr/X11R6/include -g -O2 -I/usr/X11R6/include -c epplet.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/X11R6/include -I/usr/local/include -I/usr/X11R6/include -g
-O2 -I/usr/X11R6/include -c epplet.c -fPIC -DPIC -o .libs/epplet.lo
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
In file included from epplet.c:2:
epplet.h:17:19: Imlib.h: No such file or directory
In file included from epplet.c:2:
epplet.h:62: parse error before "ImlibImage"
epplet.h:62: warning: no semicolon at end of struct or union
epplet.h:64: warning: data definition has no type or storage class
epplet.h:127: parse error before '*' token
epplet.h:127: warning: data definition has no type or storage class
epplet.h:529: parse error before "Epplet_make_rgb_buf"
epplet.h:529: warning: data definition has no type or storage class

. . . (a bunch of errors like these from Epplets_*_* because of imlib2)

epplet.c: In function `Epplet_draw_popupbutton':
epplet.c:3863: `ImlibImage' undeclared (first use in this function)

. . . (more of the same)

make[2]: *** [epplet.lo] Error 1
make[2]: Leaving directory `/usr/local/src/enlightenment/epplets-0.7/api'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/enlightenment/epplets-0.7'
make: *** [all-recursive-am] Error 2

Here is what I have tried:

[batian@localhost epplets-0.7]$ locate libImlib
/usr/local/lib/libImlib2.so.1.1.2
/usr/local/lib/libImlib2.so.1
/usr/local/lib/libImlib2.so
/usr/local/lib/libImlib2.la
/usr/local/lib/libImlib2.a

. . . (so i know it exists)

[batian@localhost enlightenment-0.16.7.1]$ cat config.log | grep Imlib
configure:13424: checking for imlib_create_image in -lImlib2
configure:13454: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lImlib2 -L/usr/local/lib -lImlib2 -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib >&5
ac_cv_lib_Imlib2_imlib_create_image=yes
IMLIB_LIBS='-L/usr/local/lib -lImlib2 -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib'

. . . (enlightenment could find it and compiled rather easily)

didn't see any options for the "configure --help" that would allow me to explicitly name the directory of the library ( are the Directory and file names options in ./configure usually for the location of files which are compiled and installed on the system or for searching paths which are needed to configure and compile the software?)

Anyway, after installing libImlib2 (before trying epplets, and have not reinstalled or dual installed), did a "ldconfig" to no avail.

Any suggestions as to how to get ./configure to recognize that I have libImlib2 installed?

Thanks
 
Old 11-29-2004, 03:21 PM   #2
chavo
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Rep: Reputation: 0
Looks like you need to install imlib not imlib2. It's ok to install both they won't conflict. Also if you install imlib from RPM, remeber to install the developmnent package also. Here's a link to the latest imlib src package ftp://ftp.gnome.org/pub/gnome/source...-1.9.14.tar.gz
 
Old 03-14-2005, 12:13 PM   #3
h3o
LQ Newbie
 
Registered: Jan 2005
Location: Johannesburg, South Africa
Distribution: Debian
Posts: 22

Rep: Reputation: 15
E-XMMS epplet

I have the same problem, except in trying to compile the E-XMMS epplet, I do have both libimlib and libimlib2 installed, according to and output from ldconfig -p :

libgdk_imlib.so.1 (libc6) => /usr/lib/libgdk_imlib.so.1
libImlib2.so.1 (libc6) => /usr/lib/libImlib2.so.1
libImlib.so.11 (libc6) => /usr/lib/libImlib.so.11
libImlib.so (libc6) => /usr/lib/libImlib.so

Also im running debian, and installed the enlightenment and epplets package, along with the libepplet-dev package, so im not sure what the problem is, ive tried symbolically linking it to give me the libImlib.so but that didnt seem to help :/
 
Old 12-08-2013, 07:40 PM   #4
CamTheSaxMan
Member
 
Registered: Nov 2013
Distribution: Linux Mint 13 Cinnamon Edition 64-bit, Windows 7 Home Premium SP1 64-bit, Arch Linux 32-bit
Posts: 159

Rep: Reputation: 9
Confirming that this issue still exists in Debian after 7 years!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Where can I find libimlib2.so.1 ? skywestandcrooked Linux - Software 9 08-14-2005 07:39 AM
Having difficulty installing GCC / g++ Erik_the_Red Programming 1 06-02-2005 08:35 AM
difficulty installing MPEG4iP arion Linux - Newbie 27 12-22-2004 01:21 PM
difficulty installing distributions namayay Linux - Software 4 10-19-2004 12:01 PM
Difficulty in installing the AGP ruzvay Linux - Hardware 1 06-01-2004 07:10 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration