I'm a beginner so be nice to me

ronxroxx at comcast.net ronxroxx at comcast.net
Thu Sep 2 21:10:22 PDT 2010


Thanks Ryan, I rm all my header files in /usr/local/include/ and I didn't have dlfcn.h file. I move the local directory to local.bak and created a new local directory with nothing in it. I clean up the port and did a self update and tried again. I'm receiving the following error: I'm only showing the point in the log where it fails: It seems the same error but I'm not really sure. What else can I try? 

:info:configure checking for makeinfo... /usr/bin/makeinfo 
:info:configure checking for install-info... /usr/bin/install-info 
:info:configure configure: creating ./config.status 
:info:configure config.status: creating Makefile 
:msg:configure ---> Building help2man 
:debug:build build phase started at Fri Sep 3 00:01:58 EDT 2010 
:debug:build Executing org.macports.build (help2man) 
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.4' 
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.38.2" && /usr/bin/make all' 
:info:build /opt/local/bin/perl help2man.PL --with-gettext 
:info:build Extracting help2man (with variable substitutions) 
:info:build /usr/bin/gcc-4.0 -o bindtextdomain.so -fPIC -bundle -L/opt/local/lib -arch ppc bindtextdomain.c -lintl 
:info:build bindtextdomain.c: In function 'setup': 
:info:build bindtextdomain.c:42: error: 'RTLD_NEXT' undeclared (first use in this function) 
:info:build bindtextdomain.c:42: error: (Each undeclared identifier is reported only once 
:info:build bindtextdomain.c:42: error: for each function it appears in.) 
:info:build make: *** [bindtextdomain.so] Error 1 
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.38.2" && /usr/bin/make all " returned error 2 
:error:build Target org.macports.build returned: shell command failed 
:debug:build Backtrace: shell command failed 
while executing 
"command_exec build" 
(procedure "portbuild::build_main" line 8) 
invoked from within 
"$procedure $targetname" 
:info:build Warning: the following items did not execute (for help2man): org.macports.activate org.macports.build org.macports.destroot org.macports.install 
:notice:build Log for help2man is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/main.log 

----- Original Message ----- 
From: "Ryan Schmidt" <ryandesign at macports.org> 
To: ronxroxx at comcast.net 
Cc: "Scott Haneda" <talklists at newgeo.com>, macports-users at lists.macosforge.org 
Sent: Thursday, September 2, 2010 10:55:36 PM 
Subject: Re: I'm a beginner so be nice to me 


On Sep 2, 2010, at 21:53, ronxroxx at comcast.net wrote: 

> :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.38.2" && /usr/bin/make all' 
> :info:build /usr/bin/gcc-4.0 -o bindtextdomain.so -fPIC -bundle -L/opt/local/lib -arch ppc bindtextdomain.c -lintl 
> :info:build bindtextdomain.c: In function 'setup': 
> :info:build bindtextdomain.c:42: error: 'RTLD_NEXT' undeclared (first use in this function) 

This error is described here: 

https://trac.macports.org/ticket/12336 

You have the file /usr/local/include/dlfcn.h on your system and it is preventing the help2man port from building properly. Remove this file, and ideally anything else you may have in /usr/local, as files in /usr/local will interfere with MacPorts software. Clean the affected port before trying again. (sudo port clean help2man) 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100903/a616718f/attachment.html>


More information about the macports-users mailing list