When using the option of Kdevelop Make API-Doc we get the following error: Can't locate Ast.pm in @INC (@INC contains: /usr/kde/2/share/kdoc /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl . /usr/kde/2/share/kdoc) at /usr/kde/3/bin/kdoc line 17. BEGIN failed--compilation aborted at /usr/kde/3/bin/kdoc line 17. *** failed *** The Ast.pm seems to be inside the package Kdoc from search on google. On my hard disk the file is located inside /usr/share/kdoc/, so the issue is probably path related or something along those line where Perl doesn't look inside that folder for this file as we can see with the @INC variable not containing the correct folders.
I just noted that the /usr/kde/2/share/kdoc folder was present twice inside the @INC so I re-emerge kdoc, still without success. Looks like the new ebuild doesn't work properly.
I found out that it was inside kdoc and that I had move kdoc from /usr/kde/2/bin to kde/3 at the time I had both running.