Subject: Failed build - not finding includes that do exist
To: None <>
From: Nate Hill <>
List: tech-pkg
Date: 07/01/2003 18:49:02
source='dcwidget.cpp' object='dcwidget.lo' libtool=yes  
depfile='.deps/dcwidget.Plo' tmpdepfile='.deps/dcwidget.TPlo'  depmode=gcc 
/bin/sh ../../admin/depcomp  /bin/sh ../../libtool --silent --mode=compile 
--tag=CXX c++ -DHAVE_CONFIG_H  -I. -I. -I../.. -I/usr/X11R6/qt3/include 
-I/usr/X11R6/include -I..  -DQT_THREAD_SUPPORT   -I/usr/pkg/include 
-I/usr/X11R6/include  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall 
-pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG 
-DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/X11R6/include -fno-exceptions 
-fno-check-new -I/usr/local/include -I/usr/pkg/include/libxml2 
-I/usr/pkg/include -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic 
-W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG 
-O2 -O2 -I/usr/pkg/include -I/usr/X11R6/include -fno-exceptions 
-fno-check-new  -c -o dcwidget.lo `test -f 'dcwidget.cpp' || echo 
In file included from dcwidget.cpp:24:
dcwidget.h:24: dclib/cmessagehandler.h: No such file or directory
In file included from dcwidget.cpp:26:
../dctransferview.h:27: dclib/dcobject.h: No such file or directory
../dctransferview.h:28: dclib/cdownloadmanager.h: No such file or directory
dcwidget.cpp:28: dclib/dcos.h: No such file or directory
*** Error code 1

make: stopped in /usr/pkgsrc/net/dcgui-qt/work/dcgui-qt-0.2.16/dcgui/ui

This is my problem.  I've looked in all the files there and they reference 
includes like so: #include <dclib/*.h>

I've checked and found _every_ include it complains about missing in 

This seems very strange - the only thing I can think of is that it is sourced 
twice?? (.cpp includes .h which includes .h - I don't know if this is a 

I get similar problems if I hardcode the include statement - add 
/usr/X11R6/include in the path...

Why isn't this working?

Nate Hill <>