View Single Post
Old 15th October 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

This typically works:
# ./configure --prefix=/usr/custom/ CFLAGS="-I/usr/local/include/" LDFLAGS="-L/usr/local/lib/"

I would recommend setting prefix to something other than /usr/ or /usr/local/, so you'll keep your base and package dirs clean ... But that's not a requirment and totally up to you.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote