LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   can't get icewm installed because it cant locate a file (https://www.linuxquestions.org/questions/slackware-14/cant-get-icewm-installed-because-it-cant-locate-a-file-158692/)

simpletoker 03-16-2004 07:57 PM

can't get icewm installed because it cant locate a file
 
I'm re-posting this in the slackware forum because i wasnt getting any responses from the software forum. I figured it had to do with most distro's using packet manager instead of installing from source.

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. I figured that this would take care of the error but it doesn't. I still get the error message is the same and always at the same place. The imlib-config file is located in /root/imlib/. I'm kind of new at this if you cant tell. any advise would be appreciated.

Is there a way to clear out a cache of some kind that might be remembering the error from the previous attemp to install? Is there such a cache at all? Do I need to uninstallthe icewm package before trying to reinstall? If so how would I go about doing this? Is there maybe a way to force the install, or tell it where it can find the proper file before or during installation.

Tinkster 03-16-2004 08:41 PM

That probably means that you didn't install imlib
from the slack-CD's but from source, and installed
it wrong :} ... the file imlib-config belongs in /usr/bin

As for the cache ... just delete any files in the source
directory that are from the day that you ran configure


Cheers,
Tink

simpletoker 03-16-2004 09:53 PM

So what is the diffrence between installing from source and from the slackware 8.1 cd, other than different media types? Is there any particular reason it needs to be installed from the slackware cd?

As soon as I get home I'm going to uninstall the imlib package I had installed. Then should I just try to install it from the slackware 8.1 cd, or is it some thing that needed to be done during the initial instilation of slackware.

slakmagik 03-16-2004 10:07 PM

Since Tink seems to be offline, I'll say that the difference is that a slack pack is already compiled and has an install script - so it should be correctly compiled and be installed to the correct place. With a source compile, you have the opportunity to tailor it to your system and place it where you want - and also have the opportunity to screw it up. :) Nothing ventured, nothing gained; the greater the risk, the greater the rewards and all that. But for something like imlib, yeah, just uninstall it, install from your disk, and then compile ice as normal. I think you could issue './configure --with-imlib=/root/imlib' and it might even work, but that's not really where you want it anyway. ;) And you could try recompiling/reinstalling imlib but might as well just do the slackpackage - it ordinarily would already be on your system anyway.

simpletoker 03-16-2004 11:06 PM

yeah i seem to remember taking it off the list since i had a limted amount of space, and have no clue of what im doing until i have had to fix it. thank you for the input i will definately try as soon as i get home.

shepper 03-17-2004 12:21 AM

If your were doing your build in /usr/local imlibs probably went in /usr/local/bin.

It is possible that the path to imlibs may not be available when you go to build icewm. There is a similiar problem when building gphoto2. You have to export the path prior to building.

An easy alternative to try (at least it works when compiling gphoto2) is to put imlibs in /usr/bin by using the prefix flag when configuring both imlibs and icewm:

./configure --prefix=/usr


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