Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenSSH fails to config [workaround]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
DavidO
n00b
n00b


Joined: 11 Nov 2003
Posts: 4
Location: Dunedin, New Zealand.

PostPosted: Thu Nov 13, 2003 3:38 am    Post subject: OpenSSH fails to config [workaround] Reply with quote

Anyone got any ideas about this? Do you think I should just try to wipe the whole HD and start again from new isos? Banging my head!

I'm installing Gentoo ppc linux on a flowerpower iMac without dual booting (i.e. Gentoo only :D)

I started with a nostages LiveCD and successfully got as having a stage2 installation. While building the rest of the system for stage 3, one of the packages (openssh) won't compile - actually it doesn't start compiling as it hangs on one of the ./config tests at the following place:
Code:
checking if openpty correctly handles controlling tty...

It just gets to that stage and sits there - I left it overnight and still no action.
I ctrl-c'd out of this and did an emerge --pretend system and it listed a handful of packages not yet installed, including openssh (of course), wget, rsync and a few other things.

Trying emerge openssh didn't work - it just hangs at the same place. Then I emerged the rest of the packages one by one, they seemed to install OK.

So, now I'm left with not being able to emerge openssh and can't really proceed with my installation. :cry: Has anyone got any suggestions?

Thanks in advance!
DavidO


Last edited by DavidO on Sun Nov 16, 2003 12:17 am; edited 1 time in total
Back to top
View user's profile Send private message
DavidO
n00b
n00b


Joined: 11 Nov 2003
Posts: 4
Location: Dunedin, New Zealand.

PostPosted: Sun Nov 16, 2003 12:15 am    Post subject: avoided the problem Reply with quote

OK well I got through it all in the end. I noticed that there was also an ebuild file for ssh, although it was masked, so I just emerged ssh instead of openssh. I had to specify the path all the way to the ebuild file - but it worked and all deps were unmasked so there was no problem. After this, an emerge --pretend system showed no more files to emerge, so I went ahead with setting the localtimefile and building the kernel. hope this helps someone.
Back to top
View user's profile Send private message
jerry arns
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2003
Posts: 95
Location: France

PostPosted: Fri Jan 02, 2004 10:58 am    Post subject: Reply with quote

Well, it helped me.

I have the exact same problem on a iBook G4 800 Mhz.

I used the Gentoo livecd-g4-grp-1.4-cd1.iso from http://www.metadistribution.org/gentoo/ with the openfirmware fixe included.

However, after booting, I downloaded the stage2 tarball, following the instructions from the Gentoo installation handbook.

Following your advice, stuck at "checking if openpty correctly handles controlling tty...", I ctrl-C out and did :

>emerge --pretend /user/portage/net-misc/ssh/ssh-3.2.5.ebuild

Well, emerge tells me that it wants to install x11-base/xfree-4.3.3-r3

So I added the -X flag to the USE variable before emerging ssh.

>export USE=-X
>emerge -u /user/portage/net-misc/ssh/ssh-3.2.5.ebuild
>export USE=
>ldconfig
>env-update
>source /etc/profile
>emerge -u system

After that, I'm able to go on with installing Gentoo.

Jerry

<edit>remove smileys</edit>
_________________
Left handed, right minded.
Back to top
View user's profile Send private message
jerry arns
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2003
Posts: 95
Location: France

PostPosted: Fri Jan 02, 2004 7:29 pm    Post subject: Reply with quote

Well,

i restarted the whole process of installing Gentoo (including partitioning and emerge sync).

The only difference is that I now have a boot partition. The first time I had made the mistake of mounting the Apple_Bootstrap partition as /boot.

And this time, emerge didn't freeze on Openssh.

If this can help figure out what was the problem before...
_________________
Left handed, right minded.
Back to top
View user's profile Send private message
panic
n00b
n00b


Joined: 24 Feb 2004
Posts: 6
Location: Sintra, Portugal

PostPosted: Sun Feb 29, 2004 11:39 pm    Post subject: Reply with quote

Hello,

I have exactly the same problem described above, but with x86 (athlon-xp).
i not using dual boot (only gentoo, at least trying to...) and my partition scheme is like this:
hda1 (/boot)
hda2 (swap)
hda4 (extended)
hda5 (/)
hda6 (home)

CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
I choose stage2
_________________
I choose freedom, i choose GNU/Linux!
¯¯¯¯¯¯¯
panic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum