automoc install failed on OSX 10.4 intel

Joachim Osnabryg osna at jpberlin.de
Sat Feb 6 07:06:58 PST 2010


Am 06.02.2010, 11:52 Uhr, schrieb Ryan Schmidt:
> It looks like you're running into this issue; a workaround is suggested  
> in the ticket:
> http://trac.macports.org/ticket/21708

Thank you Ryan for being helpful!
I hope that you or other can give me further help!

Following your hint, I read:
"… Worked around it by creating a symlink to gcc-4.2 named gcc-apple-4.2 …"
So in /opt/local/bin I did: $ sudo ln -s gcc-4.2 gcc-apple-4.2

And repeated: $ sudo port install automoc

=> with other errors, beginning with:

--->  Building automoc
Error: Target org.macports.build returned: shell command " cd  
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/work/build"  
&& /usr/bin/make -j1 all " returned error 2
Command output: /opt/local/bin/cmake

=>ending with:

collect2: ld returned 1 exit status
make[2]: *** [automoc4] Error 1
make[1]: *** [CMakeFiles/automoc4.dir/all] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

I attach the Terminal output of both install and -d install automoc.

Unfortunately I'm not able to reason the next steps out of the terminal  
logs.

Thankfully waiting for more help,
joachim

P. S.
My following $ sudo port -d install automoc
ended with:

collect2: ld returned 1 exit status
make[2]: *** [automoc4] Error 1
make[1]: *** [CMakeFiles/automoc4.dir/all] Error 2
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd  
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/work/build"  
&& /usr/bin/make -j1 all " returned error 2
DEBUG: Backtrace: shell command " cd  
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/work/build"  
&& /usr/bin/make -j1 all " returned error 2
     while executing
"command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for automoc):  
org.macports.activate org.macports.build org.macports.destroot  
org.macports.install
Error: Status 1 encountered during processing.

-- 
Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3
LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: MPort-automoc-log&dlog2.txt
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100206/e03379c6/attachment.txt>


More information about the macports-users mailing list