Opened 20 years ago
Closed 19 years ago
#2730 closed defect (worksforme)
BUG: doxygen build fails
Reported by: | ghenshaw@… | Owned by: | blb@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
port install doxygen fails with the following error:
---> Building doxygen with target all pdf Error: Target com.apple.build returned: shell command "cd "/darwinports/dports/textproc/doxygen/ work/doxygen-1.4.1" && QTDIR=/opt/local make all pdf" returned error 2 Command output: c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../ objects/mangen.o mangen.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/ memberdef.o memberdef.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/ membergroup.o membergroup.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/ memberlist.o memberlist.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/ membername.o membername.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/message.o message.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/ namespacedef.o namespacedef.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/outputgen.o outputgen.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/outputlist.o outputlist.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/pagedef.o pagedef.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/ perlmodgen.o perlmodgen.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/pngenc.o pngenc.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/pre.o pre.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/reflist.o reflist.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/ rtfdocvisitor.o rtfdocvisitor.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/rtfgen.o rtfgen.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/rtfstyle.o rtfstyle.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/scanner.o scanner.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/ searchindex.o searchindex.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/tagreader.o tagreader.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/translator.o translator.cpp c++ -c -pipe -DFreeBSD -Wall -W -O2 -I../qtools -I../libpng -I../libmd5 -o ../objects/util.o util.cpp util.cpp: In function `int iSystem(const char*, const char*, bool)': util.cpp:183: error: `fork' undeclared (first use this function) util.cpp:183: error: (Each undeclared identifier is reported only once for each
function it appears in.)
util.cpp:192: error: `execve' undeclared (first use this function) make[2]: * objects/util.o Error 1 make[1]: * [all] Error 2 make: * [all] Error 2
A Google search indicates that this may be because unistd.h is not being correctly included in util.cpp, and suggests adding the line "#include </usr/include/unistd,h>" to util.cpp to fix it.
Change History (10)
comment:1 Changed 20 years ago by ghenshaw@…
comment:2 Changed 20 years ago by toby@…
Component: | base → dports |
---|
comment:3 Changed 20 years ago by mww@…
Owner: | changed from darwinports-bugs@… to blb@… |
---|
assign to maintainer (btw: works for me)
comment:4 Changed 20 years ago by blb@…
That's definitely odd, util.cpp does include unistd (on line 51). What does 'ls -l /usr/include/unistd.h' reveal?
comment:5 Changed 20 years ago by ghenshaw@…
$ ls -l /usr/include/unistd.h -r--r--r-- 1 root wheel 10038 13 Sep 2003 /usr/include/unistd.h $
comment:6 Changed 20 years ago by blb@…
That definitely looks good.
Can you email a copy of the following files to me:
/darwinports/dports/textproc/doxygen/work/doxygen-1.4.1/src/Makefile /darwinports/dports/textproc/doxygen/work/doxygen-1.4.1/src/libdoxygen.pro /darwinports/dports/textproc/doxygen/work/doxygen-1.4.1/src/doxygen.pro
Perhaps the answer is in one of those. If you've cleaned doxygen since the failure, you'll need to run a 'port configure doxygen' to create those files.
comment:7 Changed 20 years ago by snu@…
Summary: | doxygen build fails → BUG: doxygen build fails |
---|
Please use summary prefix.
comment:8 Changed 19 years ago by blb@…
Note that doxygen is now currently at 1.4.4; does this error still occur?
comment:9 Changed 19 years ago by ghenshaw@…
It now builds cleanly on my machine (although I have since upgraded to 10.4, I don't know what the status is under 10.3)
comment:10 Changed 19 years ago by blb@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing to WFM since it builds fine for you now.
Excuse me, that should be:
#include "/usr/include/unistd.h"
of course.