On 4/21/13 6:29 PM, Baudilio Tejerina wrote:
> Hello.
>
> I am trying to install gcc48, gcc48-compiler, and  gcc48-shlibs  in a
> Power PC G5 with OS X 10.4.11.
> The compilation proceeds Ok, with no errors until a point in which there
> is no further steps; shown next.
>
> ... etc ...
> # remove build path from .la files
>   perl -pi -e "s, \-L[^ ']*/gcc48-4.8.0-1/darwin_objdir/[^ ']*,,g" `find
> /sw/src/fink.build/root-gcc48-4.8.0-1/sw/lib/gcc4.8/lib -name '*.la'`
> find /sw/src/fink.build/root-gcc48-4.8.0-1/sw/lib/gcc4.8/lib -name '*.la'
>   perl -pi -e "s, /[^ ']*/gcc48-4.8.0-1/darwin_objdir/[^ ']*,,g" `find
> /sw/src/fink.build/root-gcc48-4.8.0-1/sw/lib/gcc4.8/lib -name 'libasan.la'`
> find /sw/src/fink.build/root-gcc48-4.8.0-1/sw/lib/gcc4.8/lib -name
> 'libasan.la'
>
>
> No further progress at this point for a long time (left overnight; no
> progress at all).
> I've thought the development team would like to know about this issue.
>
> Regards, and many thanks,
> Baudilio
>
> PS: Further information on the system:
>
> Package manager version: 0.30.2
> Distribution version: selfupdate-rsync Sat Apr 20 17:05:40 2013, 10.4,
> powerpc
> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
> Xcode Version: 2.5-1
>
>

10.4 isn't officially supported.  This was fixed for 10.5 and later but 
the fix didn't get transferred over.

You can edit 
/sw/fink/10.4/stable/main/finkinfo/10.4-EOL/languages/gcc-10.4.info and 
change the which says

perl -pi -e "s, /[^ ']*/%n-%v-%r/darwin_objdir/[^ ']*,,g" `find 
%i/lib/gcc4.8/lib -name 'libasan.la'`

to

find %i/lib/gcc4.8/lib -name 'libasan.la' | xargs perl -pi -e "s, /[^ 
']*/%n-%v-%r/darwin_objdir/[^ ']*,,g"

(the first form stalls when the find command doesn't find a file, 
whereas the second does not)
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to