Installing libFOX for XFE
Hey there fellow posters:
I'm looking for some assistance getting Fox-1.6 to install and work so I can install XFE (X File Explorer). I'm using Slackware 11, in case you needed to know that. I'm installing from the source tarballs:
I installed Fox-1.6 already once (or so I thought). Then when I went to ./configure XFE, it wouldnt configure to allow me to 'make'. I am a little bit of (keyword here: little) a newbie. I am attempting to get 'Look XP' to work since I'm using and older PC (see signature). I have already installed all the other files that Look XP said to do:
If I need to do something with the $PATH, I need to be told exactly, because I have no knowledge of what the $PATH is or does, or even how to alter it. Thanks, Chaz |
Ironic - I'm going through apps to remove and am about to yank this one - but all I do is (relevant parts from buildscripts):
fox: Code:
./configure --prefix=/usr/local --disable-nls \ Code:
./configure --prefix=/usr/local --disable-nls \ |
Quote:
PATH=$PATH:/my/new/path That assigns the old value and an appended directory to the variable. To make such changes permanent, put them in your shell configuration files - .bashrc/.bash_profile/etc for bash. |
Results of XFE's attempt to configure...
Remember this is after Fox-1.6 is already installed:
Code:
root@cs:/opt/lookxp/xfe-0.99# ./configure BTW, Thanks for explaining $PATH. Why would I need to adjust $PATH for applications? |
As far as changing the path, say you install a program to your home directory - $HOME/bin isn't on your path, so you add it. Or something like TeX, which keeps binaries in its own hierarchy, will need to be on the path.
As far as your compile error, xfe is simply not finding fox. This is likely because something went badly wrong with the install and it didn't get properly installed at all, or because you've installed it some place strange. You seem to be building in /opt/lookxp/xfe-0.99, which is kinda weird itself. If fox is somewhere in /opt you'll need to add that directory to /etc/ld.so.conf and do an 'ldconfig'. (You could also just point to it with LDFLAGS.) If none of that is it, I probably can't help but you could post exactly what your build process was for fox and whether you have a /var/log/packages entry (if you packaged it) or at least whether the stuff made it onto the system at all. If you just built it with './configure' like you're showing for xfe, itself, then I have no idea what's wrong, because that should install to /usr/local by default and xfe should just pick it up. I suppose your ld.so.conf could be messed up - make sure that has /usr/local/lib in it. Anyway - all this is to do with another sort of path - library paths. :) |
Ok, when i installed fox, there were warnings, but it kept going. it did install. so maybe its the fact its in the /opt directory. I am new to things... and i do get things wrong. where am i to download files... then install them from - be explicit please.
How do i 'point to it with LDFLAGS'? Packaged it (dont know what u mean)? I just do the normal steps for source code install: 1) # tar zxvf (or jxvf) <file>.tar.gz (or tar.bz2) 2) # cd ./<directory> 3) <read INSTALL &/or README> 4) # ./configure --help 5) # ./configure <whatever it needs> 6) # make 7) # make install should i (when installing fox)?: # ./configure --prefix=/usr --exec-prefix=/usr Are you telling me there is 2 different kinds of paths? now i am really confused. Thanks... thanks a lot. |
Sorry - I seem to have a knack for confusing people. ;) I think I'm going to quit posting here again because of that - my fault; not yours.
Quote:
Quote:
Quote:
Quote:
Incidentally, tar versions >= 1.15 don't require the z or j flags (though it certainly doesn't hurt and is good for backware compatibility) so if you don't need them, you can skip them. I also don't have much use for the verbose flag except in specific cases. Steps 3 & 4 you describe are very important - many people skip those. :) Quote:
Quote:
Code:
:set | awk -F= '/PATH/{ print $1 }' Anyway - if you didn't pass an argument of something like '--prefix=/opt' to configure, and 'ls /usr/local/lib/libFOX*' returns a few files, I have no idea what's wrong, because xfe should find that. If not, do either an 'updatedb' and the 'locate libFOX' or do a 'find / -name '*libFOX*''. (This is another reason for building packages - you can see where stuff is going before you install it and if you forget and need to find out again later, you can just grep /var/log/packages.) And if you don't find it, fox didn't install after all and, if you find it somewhere weird, take one or more of the steps we've mentioned to fix it. And as far as generalized troubleshooting, always pay careful attention to error messages, paste them into a search engine if needed, check the relevant man pages if you know which ones, or try 'man -k' if you don't. Hope something in here helps. :) |
All times are GMT -5. The time now is 07:28 AM. |