Re: gcc in chroot - solved

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eric \"Shubes\"
Date:  
To: Main PLUG discussion list
Old-Topics: Re: gcc in chroot
Subject: Re: gcc in chroot - solved
Jeremy C. Reed wrote:
>> Might be? You hit the nail on the head. I notice in the strace that it's
>> looking for 3.4.5. Gotta pay close attention to version numbers!
>>
>> I'm still wondering, though, why (how?) does it work normally, and not work
>> inside the jail? Maybe I should strace it on the outside and compare results?
>>
>> Where to go from here?
>
> Yes, try outside of jail. Or simply manually look for the files outside of
> the jail.
>
>> Thanks again, Jeremy. I learned a lot this afternoon, and it's only 3:00!
>
> You are very welcome.
>
> Jeremy C. Reed
>


Got it working! When comparing the two traces, I found where things went
wrong. /usr/lib/gcc/i386-redhat-linux/3.4.5 was a symlink to 3.4.3 on
the outside, but an empty directory on the inside. Oops! My replication
script needs some fixing.

Anywise, there were two other instances like this. I changed them to be
symlinks on the inside like the outside, and now I'm merrily building along.

Still got a few items to work out, so you'll probably see me back on
another thread.

Thanks a bunch, Jeremy (and Darrin and everyone). This list is the greatest!

--
-Eric 'shubes'
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss