I'm a beginner so be nice to me
Ryan Schmidt
ryandesign at macports.org
Sat Sep 4 09:11:25 PDT 2010
Did you discover where /opt/local/include/dlfcn.h came from, and remove it?
On Sep 4, 2010, at 10:50, ronxroxx at comcast.net wrote:
> Ok, I'm not sure why helpman2 will not compile so I hacked bindtextdomain.c by adding the following line to it: RTLD_NEXT is taken directly from dlfcn.h.
>
> #define RTLD_NEXT ((void *) -1)
>
> Before doing this, I grep -r 'RTLC_NEXT' /usr/include/* to make sure it's not defined anywhere else. It's currently compiling and building openssl. I'll keep you posted.
>
> whacky_mac
>
> ----- Original Message -----
> From: ronxroxx at comcast.net
> To: "Ryan Schmidt" <ryandesign at macports.org>
> Cc: macports-users at lists.macosforge.org
> Sent: Friday, September 3, 2010 10:25:22 PM
> Subject: Re: I'm a beginner so be nice to me
>
> Thanks Ryan, here's the output of that command.
>
> ronosx:~ rcross$ find / -name dlfcn.h 2>/dev/null
> /Developer/SDKs/MacOSX10.3.9.sdk/usr/include/dlfcn.h
> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/dlfcn.h
> /opt/local/include/dlfcn.h
> /usr/include/dlfcn.h
>
>
> It's in /usr/include/ but I was not told to remove it from here before. I did remove it from /usr/include/local already.
>
> ----- Original Message -----
> From: "Ryan Schmidt" <ryandesign at macports.org>
> To: ronxroxx at comcast.net
> Cc: macports-users at lists.macosforge.org
> Sent: Friday, September 3, 2010 8:52:50 PM
> Subject: Re: I'm a beginner so be nice to me
>
>
> On Sep 3, 2010, at 17:33, ronxroxx at comcast.net wrote:
>
> > Hi Ryan, here my dlfcn.h file in its entirety:
>
> Ok, that's identical to mine. And you see it does define RTLD_NEXT:
>
> > #define RTLD_NEXT ((void *) -1) /* Search subsequent objects. */
>
> So it still feels like this /usr/include/dlfcn.h is not being included, but rather some other dlfcn.h is. Let's do an exhaustive search on your hard drive for other places a dlfcn.h might be hiding:
>
> find / -name dlfcn.h 2>/dev/null
>
> This will take some time to run.
>
> On my system, the only dlfcn.h's are in /usr/include and in the Developer SDKs.
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list