It seems i can't install it even though the port djvu2pdf can be found using port search djvu:

$ sudo port install djvu2pdf
Warning: No port pkgconfig found in the index.
Warning: No port m4 found in the index.
Warning: No port p5.12-locale-gettext found in the index.
--->  Computing dependencies for help2man
Error: Dependency 'p5.12-locale-gettext' not found.
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade ghostscript failed
To report a bug, see <http://guide.macports.org/#project.tickets>

[Edit]

Strangely, after doing a

$ sudo port sync

everything went back to normal.

link|improve this question

68% accept rate
Have you tried sudo port selfupdate? – Daniel Beck Oct 13 '11 at 17:17
I did a sudo port sync and it then worked. Thanks! – Computist Oct 13 '11 at 18:36
feedback

1 Answer

up vote 1 down vote accepted

I had a similar issue with other package managers before.

Make sure you're up to date with the package information and the package manager itself. Use sudo port selfupdate to do this for MacPorts.

If you only want to update the package information, use sudo port sync.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.