how do I install astrolog?
I am trying to install astrolog. The bit linked to as the source files seems to be for windows, so I'm using ast54unx.shr. I did $sh ast54unx.shr into a directory called astrolog, and tried to do $make but it keeps coming back with errors, different ones, but the current one after commenting out some lines in astrolog.h according to this post is
'/usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make: *** [astrolog] Error 1' How should I install it? I also have a general question about installing things from source: if I unpack and make them in a folder in my home folder, do they stay there/need to stay there, or do they get copied to /usr/bin or somewhere allowing me to delete the folder? |
Code:
/usr/bin/ld: cannot find -lX11 Regarding your second question, you can compile the source code in any place then copy the executable somewhere in your path. /usr/local/bin/ is a good choice. Take in mind that the installation of astrolog is atypical: it just build the executable and leave it in the current directory. It's up to you to copy it in a directory included in your PATH. On the other end, the most common method to install from source requires three steps: Code:
./configure Furthermore, as a general rule it's safer to not delete the source directory, unless you have problems with disk space. This is because if you decide to uninstall the software, you can usually do Code:
make uninstall |
I'm running Fedora 11. I googled and installed libX11-devel, and ... it worked! While I was still wondering why yum wouldn't install libX11-devel, though (it did on the second try), I found that there is a deb of astrolog for ubuntu and that a program called alien can convert these to rpm — is this a good way of installing software, and if it is, where do I get alien, as yum can't find it?
Quote:
That's really useful information on my second question. |
Quote:
Quote:
|
All times are GMT -5. The time now is 08:44 PM. |