please difference between /usr/include & /usr/local/include
Dear friends,
I just downloaded the SDL source code. i did compile and make of this code.then i did make install. but i didnt see the files of SDL.h and lib.SDL.*** in /usr/include/ but later i found out that these files are placed in /usr/local/include and /usr/local/lib. how can i specifically install libraries on /usr/include and /usr/lib please tell me. |
use --prefix=/usr on the configure script
/usr/include is managed by the system (apt, yum, pacman, portage, zypper or urpmi depending on your distribution). /usr/local is not managed, it host files that are outside of the main managed tree. It is not recommanded to override things in the managed tree, it cause problems in the long term. Why don't you just use the SDL developper package provided by your distribution? Code:
sudo apt-get install libsdl-dev |
This explains where everything goes:
http://tldp.org/LDP/Linux-Filesystem...tml/index.html |
All times are GMT -5. The time now is 08:17 PM. |