From: George F. <gf...@us...> - 2000-10-16 20:26:03
|
Hi, I've modified the Unix makefile so that if it's installing shared libraries it checks that the target directory is listed in /etc/ld.so.conf, and if not it prints a warning that programs may not run in this state. The main motivation for this is that many Linux distributions don't have /usr/local/lib listed in /etc/ld.so.conf. I also changed the order of installation so that the warning is visible when the installation finishes. I also modified `readme.uni' to include more details of how to install Allegro when you don't have root access to the system, which is sort of related to the above problem. I updated the information about depending on other libraries like X, GGI, and SVGAlib. I'm not sure whether the test on /etc/ld.so.conf is appropriate for other platforms, so if anybody uses one it'd be good to know whether this should only occur on Linux systems, and also whether the LD_LIBRARY_PATH environment variable is universal or Linux-specific. Something else I considered was adding an option to `allegro-config' which would make it output a string of environment variable modifications, for use when Allegro is not installed to the usual place. It's an easy change; the idea then is that instead of putting all the modifications in their .bash_profile, they just have to add (or type themselves): `allegro_config --env` I didn't implement this, but I can if people think it would be useful. It's true that not many people use Allegro without having root access to machines -- unless you have console access to a machine you can't do graphics efficiently, and if you have console access you probably know the owner of the machine anyway -- but there have been people asking about this in the past. I'm attaching a diff for everything apart from `allegro-config'. George -- Random project update: 22/06/2000: AllegroGL documentation: http://allegrogl.sourceforge.net/ See under `Documentation' for the AllegroGL Reference Manual in various formats. |