Which package to install if I want to have the man page for strdup?

Ryan Schmidt ryandesign at macports.org
Fri Jan 1 17:35:23 PST 2010


On Jan 1, 2010, at 19:03, Peng Yu wrote:

> On Fri, Jan 1, 2010 at 5:56 PM, Joshua Root <jmr at macports.org> wrote:
>> On 2010-1-2 10:40 , Peng Yu wrote:
>>> I don't have manpage for strdup. Could somebody let me know which
>>> package I should install?
>> 
>> Man pages are generally installed by the same port as the software they
>> document, but of course we don't have a libc port. Mac OS X ships with a
>> strdup man page AFAICT, but if I'm mistaken, the other candidate would
>> be Xcode Tools.
> 
> I have Xcode installed on Mac OS 10.5. Why I don't have man strdup?
> How to fix it?

Have you tried reinstalling Xcode? Make sure you get the latest version for Mac OS X 10.5 (that's Xcode 3.1.4) and make sure the BSD option is selected for installation.





More information about the macports-users mailing list