I get the following Error when running Natural Docs: -------------------------------------------------------------------------------- Natural Docs encountered the following error and was stopped: readme.txt -o html doc/html/ -p doc Couldn't open topics file /usr/local/bin/Config/Topics.txt You can get help at the following web site: http://www.naturaldocs.org If sending an error report, please include the information found in the following file: /usr/home/rocha/src/orlib/doc/data/LastCrash.txt -------------------------------------------------------------------------------- LastCrash.txt hast the following: -------------------------------------------------------------------------------- Crash Message: Couldn't open topics file /usr/local/bin/Config/Topics.txt Natural Docs version 1.35 Perl version 5.8.8 on freebsd Command Line: -i include/ -o html doc/html/ -p doc/data/ Stack Trace: NaturalDocs::Error::CatchDeath, called from NaturalDocs::Topics::LoadFile, line 727, called from NaturalDocs::Topics::Load, line 306, called from (eval), line 309 of /usr/local/bin/NaturalDocs -------------------------------------------------------------------------------- It seems that the install script is not copying the Config folder from the distribution. Maybe the NaturalDocs script needs a patch? How-To-Repeat: Just run NaturalDocs on any project with the following sample arguments: NaturalDocs -i include/ -o html doc/html/ -p doc/data/
Responsible Changed From-To: freebsd-ports-bugs->laszlof Over to maintainer
Hello: Could you please try this patch [1] and let me know if it resolves your problem. Sorry for the delay, I have recently moved and have not had much time for freebsd related work. Thanks -Frank Laszlo [1] http://people.freebsd.org/~laszlof/patches/naturaldocs-1.35_1.diff
Hi Frank, Thanks a lot for the patch! It seems to do the job perfectly :) I think we can close this one. -- Carlos Frank J. Laszlo wrote: > Hello: > Could you please try this patch [1] and let me know if it resolves > your problem. Sorry for the delay, I have recently moved and have not > had much time for freebsd related work. Thanks > > -Frank Laszlo > > [1] http://people.freebsd.org/~laszlof/patches/naturaldocs-1.35_1.diff
Thanks for testing it Carlos, I will commit it to the tree. Regards, -Frank
laszlof 2007-07-10 18:00:56 UTC FreeBSD ports repository Modified files: devel/naturaldocs Makefile Added files: devel/naturaldocs pkg-plist devel/naturaldocs/files NaturalDocs Log: - Move all files into DATADIR - Create script in PREFIX/bin as workaround for bug. PR: ports/110990 Submitted by: Carlos Rocha <carlos.rocha@gmail.com> Revision Changes Path 1.6 +8 -2 ports/devel/naturaldocs/Makefile 1.1 +3 -0 ports/devel/naturaldocs/files/NaturalDocs (new) 1.1 +127 -0 ports/devel/naturaldocs/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!