LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-16-2004, 06:59 AM   #1
simpletoker
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Rep: Reputation: 0
icewm-1.2.13 wont install on slackware 8.1


when trying to install icewm-1.2.13.tar.gz i get the message "error: imlib-config can not be found", right after doing the ./configure part of the install, and wont go any further. the first time i got this message i went and down loaded the package imlib-1.9.10.tar.gz. that package installed with out a problem (in fact it was my first package to successfully install). i figured that this would take car of the error but it doesn't. the imlib-config file is located in /root/imlib/. im kind of new at this if you cant tell. any advise would be appreciated.

just in case you need the info I'm running Slackware 8.1 on a Toshiba satellite 315cdt, I'm not sure if that matters.

Last edited by simpletoker; 03-16-2004 at 07:01 AM.
 
Old 07-25-2004, 08:45 PM   #2
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,284

Rep: Reputation: 101Reputation: 101
I came across the same "problem" in 10 and while googling for the answer I came across this post with no response.

The answer to your question is this. You need to tell ./configure where to find imlib-config. Do a "locate imlib-config" and add the location to your ./configure string as shown:

./configure --imlib-config=/usr/bin ..or wherever yours might be.

I realize the OP is most likely no longer here (based on post count), but it may help someone else.

TTFN
 
Old 11-12-2007, 10:51 AM   #3
changed02
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
The solution

Just add this script to "/usr/bin" and make it executable:
Code:
#!/bin/sh
#
# Shamelessly ripped form gtk's gtk-config.in
#

gx_libs=" -ljpeg -ltiff -lungif -lpng -lz -lm"
gdk_gx_libs=" "
gdk_libs=""

prefix=/usr
exec_prefix=${prefix}
exec_prefix_set=no

usage="\
Usage: imlib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--libs-gdk] [--cflags] [--cflags-gdk]"

if test $# -eq 0; then
      echo "${usage}" 1>&2
      exit 1
fi

while test $# -gt 0; do
  case "$1" in
  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) optarg= ;;
  esac

  case $1 in
    --prefix=*)
      prefix=$optarg
      if test $exec_prefix_set = no ; then
        exec_prefix=$optarg
      fi
      ;;
    --prefix)
      echo $prefix
      ;;
    --exec-prefix=*)
      exec_prefix=$optarg
      exec_prefix_set=yes
      ;;
    --exec-prefix)
      echo $exec_prefix
      ;;
    --version)
      echo 1.9.15
      ;;
    --cflags)
      if test /usr/include != /usr/include ; then
        includes=-I/usr/include
      fi
      echo $includes  -I/usr/X11R7/include 
      ;;
    --cflags-gdk)
      if test /usr/include != /usr/include ; then
        includes=-I/usr/include
      fi
      echo `/usr/bin/gtk-config --cflags` $includes  -I/usr/X11R7/include
      ;;
    --libs)
      libdirs=-L/usr/lib
      echo $libdirs -lImlib  $gx_libs -lXext  -L/usr/X11R7/lib  -lSM -lICE -lXext -lX11 
      ;;
    --libs-gdk)
      libdirs=-L/usr/lib
      echo $libdirs -lgdk_imlib$gdk_gx_libs `/usr/bin/gtk-config --libs` $gdk_libs
      ;;
    *)
      echo "${usage}" 1>&2
      exit 1
      ;;
  esac
  shift
done

exit 0
 
  


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
trying to install icewm walterbyrd Slackware 5 10-14-2005 10:39 AM
Can't Install icewm Zerimas Linux - Newbie 2 03-08-2005 08:11 PM
URGENT - Slackware wont boot after install AglaSyS Linux - Laptop and Netbook 6 08-26-2004 02:04 PM
2 probs, apt-get wont download anything. blackbox wont install minibootsy Linux - Software 2 06-10-2004 01:55 AM
No IceWM after install of KDE 3.2.2 digiplaya Linux - Software 3 05-28-2004 12:15 AM

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

All times are GMT -5. The time now is 04:10 PM.

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