doxygen broken?

22 views
Skip to first unread message

Ben Goodrich

unread,
Jan 13, 2012, 5:33:10 PM1/13/12
to stan development mailing list
Can anyone else build the doc right now? I am getting

goodrich@CYBERPOWERPC:/opt/stan$ rm -rf doc
goodrich@CYBERPOWERPC:/opt/stan$ make doxygen
mkdir -p doc/api
doxygen doc/doxygen.cfg
error: configuration file doc/doxygen.cfg not found!

Ben

Jiqiang Guo

unread,
Jan 13, 2012, 5:41:13 PM1/13/12
to stan...@googlegroups.com
I can though I would run into error before finishing. 
I guess you should not remove folder doc. 

--
Jiqiang

Bob Carpenter

unread,
Jan 13, 2012, 6:09:08 PM1/13/12
to stan...@googlegroups.com
The config file's there in the repository.
You're running it from the right location, too.
As far as I can tell, none of the makefile cleans
clean it out.

There are syntax errors in many of the distribution
formulas in the doc. They were too complex to debug,
so I just yanked them (out of inv_gamma, beta and
multi_normal). You can find them back in revision 525.

As a reminder, you can use valid LaTeX between \f$ ... \f$
in Doxygen. I add one formula at a time and remake the
doc because otherwise you have to use grep to find the
errors because doxygen's LaTeX error reporting sucks (it
first generates the LaTeX, then runs it in a script).

> P.S. On Greg's RedHat machine (but not my Debian machine), we are
> getting the non-fatal error
>
> g++: unrecognized option '-static-libstdc++'

> P.S. On Greg's RedHat machine (but not my Debian machine), we are
> getting the non-fatal error
>
> g++: unrecognized option '-static-libstdc++'

- Bob

Daniel Lee

unread,
Jan 13, 2012, 6:48:52 PM1/13/12
to stan...@googlegroups.com
To clean the doxygen folder, you can run either the "clean-dox" or
"clean-all" targets.

For me, "make doxygen" works fine. Jiqiang, what errors are you
running into? Bob, are you able to run doxygen? I'm running doxygen
1.7.4.

Ben Goodrich

unread,
Jan 13, 2012, 7:03:03 PM1/13/12
to stan development mailing list
OK. On a clean checkout I can get through make doxygen.

Ben

Jiqiang Guo

unread,
Jan 13, 2012, 10:29:43 PM1/13/12
to stan...@googlegroups.com
Thanks for asking.  I do not have the problem after updating to the 
current version.  

--
Jiqiang 

Bob Carpenter

unread,
Jan 14, 2012, 2:41:34 PM1/14/12
to stan...@googlegroups.com
The reason to dclean out the doxygen folder i
is that doxygen generates latex
source files, but it doesn't generate one if there's
already one there. Then it runs them and
converts to PNG.

- Bob

Reply all
Reply to author
Forward
0 new messages