error report when trying to install php/mamp

Ola Lundén ola.lunden at gmail.com
Sun Jan 3 11:46:05 PST 2010


Hi,

I'm quite new to both mac and macports so bear with me... I'm quite 
familiar with the linux world and commando line hacking but I cannot 
figure out what's wrong.

I've followed the MAMP howto (http://trac.macports.org/wiki/howto/MAMP) 
but when I get to installing php I get a bunch of errors:

[error output]
--->  Computing dependencies for php5
--->  Staging help2man into destrootError: Target org.macports.destroot 
returned: shell command " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/help2man-1.37.1" 
&& /usr/bin/make install 
DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot 
" returned error 2
Command output: ./mkinstalldirs 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/bin
./mkinstalldirs 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/lib
./mkinstalldirs 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/man/man1
./mkinstalldirs 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info
/usr/bin/install -c help2man 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/bin
/usr/bin/install -c -m 644 ./help2man.1 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/man/man1
/usr/bin/install -c -m 644 ./help2man.info \
         
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info/help2man.info
if test -f 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info/dir; 
\
     then \
         /usr/bin/install-info 
--info-dir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_help2man/work/destroot/opt/local/share/info 
\
         ./help2man.info; \
     fi
/usr/bin/gcc-4.2  -o bindtextdomain.so -fPIC -bundle bindtextdomain.c 
-lintl
ld: library not found for -lintl
collect2: ld returned 1 exit status
make: *** [bindtextdomain.so] Error 1

Error: The following dependencies failed to build: libtool automake 
autoconf help2man libxml2 mhash
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to 
get complete output.
[/error output]

I've run the commandos "selfupdate" and "upgrade outdated" but with no 
luck I also have the latest updates from apple. Have tried google but 
with no luck and I'm not really sure were to start. I've tested to 
install the dependencies that failed to build but it didn't do it either.

Hoping for some help.

Kind regards, Ola



More information about the macports-users mailing list