[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building (deb) everybuddy-0.4.2 source on woody [was: help compiling everybuddy-0.4.3 on Woody]



On Mon, Sep 30, 2002 at 11:57:14AM -0700, Mike Pfleger wrote:

| I'm trying this, but it still barfs at me, now complaining it can't
| find the libtool bits it wants.
| 
| 	In file included from main.c:55:
| 	plugin.h:25: ltdl.h: No such file or directory
| 	make[1]: *** [main.o] Error 1
| 
| However; if I do:
| 	 find /usr -name ltdl.h
| -I get this:
| 	/usr/share/libtool/libltdl/ltdl.h
| -which is a bit annoying, to say the least.  If I could figure out
| where it's looking for it;

"It" in this case is the C compiler (gcc).  It searches for .h
(header) files in the "include path".  IIRC there's some environment
variable that can be set to adjust this.  In any case, the '-I' option
to gcc appends a directory to the include path.  You could achieve
that by tweaking the CFLAGS variable in ./debian/rules.  First look at
line 25 of plugin.h and see what relative path is specified in the
#include directive.

HTH,
-D

-- 
(E)ventually (M)allocs (A)ll (C)omputer (S)torage
 
http://dman.ddts.net/~dman/

Attachment: pgpl1qUFssMHJ.pgp
Description: PGP signature


Reply to: