Re: Can´t build gcc41

Ryan Schmidt ryandesign at macports.org
Tue Jun 19 13:49:53 PDT 2007


On Jun 19, 2007, at 14:18, Jean-Philippe Humbert wrote:

> the following probleam appears when I try to install gcc41:
>
> --->  Verifying checksum(s) for gcc41
> --->  Extracting gcc41
> --->  Configuring gcc41
> --->  Building gcc41 with target profiledbootstrap
> Error: Target com.apple.build returned: shell command " cd "/opt/ 
> local/var/db/dports/build/_opt_local_var_db_dports_sour
> ces_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc41/work/ 
> build" && make profiledbootstrap " returned error 2
> Command output: mv: rename objc/*.o to stage1/objc/*.o: No such  
> file or directory
> make[2]: [objc.stage1] Error 1 (ignored)
> mv objcp/*.o stage1/objcp
> mv: rename objcp/*.o to stage1/objcp/*.o: No such file or directory
[snip]
>                                     In file included from ../../ 
> gcc-4.1.2/gcc/genmodes.c:23:
>                                     ../../gcc-4.1.2/gcc/system.h: 
> 396:20: error: malloc.h: No such file or directory
>                                     make[2]: *** [build/genmodes.o]  
> Error 1
>                                     make[1]: ***  
> [stageprofile_build] Error 2
>                                     make: *** [profiledbootstrap]  
> Error 2


I'm not sure why that is. Do you have the latest Xcode, 2.4.1? and  
all the OS updates? gcc41 built fine for me on a PowerBook G4 some  
months ago. I don't really want to try it again right now since it  
would take hours...

Why do you need gcc41, by the way? Have you tried gcc42 instead? Are  
you using a port that depends on gcc41? If so, it could be updated to  
depend on gcc42 instead, now that gcc42 is final.





More information about the macports-users mailing list