[CF List] "Couldn't create lockfile" in FreeBSD

Mark Wedel mwedel at sonic.net
Sun Dec 16 02:49:06 CST 2001


David LeCount wrote:
>
     
     
     >
     
      The files png.h and pngconf.h are in
     
     >
     
      /usr/local/include. There weren't any other files on
     
     >
     
      my hard drive matching png* that seemed relevant. (If
     
     >
     
      the file isn't one of these, let me know what it is.)
     
     >
     
      So I ran
     
     >
     
     
     >
     
      ./configure --with-includes="-I/usr/local/include"
     
     >
     
     
     >
     
      but still the same story when I get to make. I've
     
     >
     
      tried reinstalling png too but no difference.
     
     
 Where does libpng live?  Given the headers live in /usr/local, I would think
the lib might live there also?

 In which case, you really want to run 

./configure --with-includes="-I/usr/local/include"
--with-ldflags="-L/usr/local/lib"

 Might also want to put -R/usr/local/lib if /usr/local/lib isn't in the default
search path for the run time linker.

    
    


More information about the crossfire mailing list