FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Alt

 
 
LinkBack Thread Tools
 
Old 10-13-2010, 09:27 AM
Fabian Groffen
 
Default Bootstrapping on Solaris 64-bits, binutils breakage

On 13-10-2010 11:21:08 +0200, Al wrote:
> > I just noticed that bootstrapping on Solaris 64-bits breaks with
> > binutils, because it happens to find libiberty.a from /usr/sfw/64
> > instead of its own internal built in copy.
> >
> > I'm not yet sure how to fix it properly, but for now, I applied this
> > hack/workaround in step 1.7:
> >
> > env LDFLAGS="-L$EPREFIX/usr/lib -R$EPREFIX/usr/lib -L$EPREFIX/lib -R$EPREFIX/lib" emerge --oneshot --nodeps binutils
> >
> > this worked for me to get binutils built. *gcc seems to the next to
> > break for the same reasons. *So you'll also need
> >
> > env LDFLAGS="-L$EPREFIX/usr/lib -R$EPREFIX/usr/lib -L$EPREFIX/lib -R$EPREFIX/lib" emerge --oneshot --nodeps "=gcc-4.2*"
>
> Hm, strange.
>
> 1.) IMHO bootstrap-prefix.sh writes the same LDFLAGS to make.defaults.
> Why don't they take effect?

For Solaris, x64 bits it writes many more flags. But I already found my
previous solution wasn't the right one. Follow up mail coming.

> 2.) Why does this issue only occur for two programs? It's always the
> same linker, isn't it?

Because only binutils provides libiberty, and hence gets this conflict
with finding the wrong libiberty on the host system.

I think gcc doesn't need any workarounds, I'm testing that now.


--
Fabian Groffen
Gentoo on a different level
 
Old 10-13-2010, 09:43 AM
Fabian Groffen
 
Default Bootstrapping on Solaris 64-bits, binutils breakage

On 13-10-2010 11:05:05 +0200, Fabian Groffen wrote:
> All,
>
> I just noticed that bootstrapping on Solaris 64-bits breaks with
> binutils, because it happens to find libiberty.a from /usr/sfw/64
> instead of its own internal built in copy.
>
> I'm not yet sure how to fix it properly, but for now, I applied this
> hack/workaround in step 1.7:
>
> env LDFLAGS="-L$EPREFIX/usr/lib -R$EPREFIX/usr/lib -L$EPREFIX/lib -R$EPREFIX/lib" emerge --oneshot --nodeps binutils

ok, this actually needs to be (bizarre hack!):

env LDFLAGS="-L$EPREFIX/usr/lib -R$EPREFIX/usr/lib -L$EPREFIX/lib -R$EPREFIX/lib -R/usr/sfw/lib/64" emerge --oneshot --nodeps binutils

then GCC needs no hack any more, as it was failing because binutils was
barfing at runtime, due to a library mismatch.


--
Fabian Groffen
Gentoo on a different level


Wed Oct 13 12:30:02 2010
Return-path: <centos-bounces@centos.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 13 Oct 2010 11:51:03 +0300
Received: from mail.centos.org ([72.26.200.202]:54667)
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <centos-bounces@centos.org>)
id 1P5x39-0007bG-KV
for tom@linux-archive.org; Wed, 13 Oct 2010 11:51:03 +0300
Received: from lander.activeaudience.com (voxeldev.centos.org [127.0.0.1])
by mail.centos.org (Postfix) with ESMTP id 3E0A26F706;
Wed, 13 Oct 2010 05:45:22 -0400 (EDT)
X-Original-To: centos@centos.org
Delivered-To: centos@centos.org
Received: from homiemail-a18.g.dreamhost.com (caiajhbdcaib.dreamhost.com
[208.97.132.81])
by mail.centos.org (Postfix) with ESMTP id 859506F680
for <centos@centos.org>; Wed, 13 Oct 2010 05:45:20 -0400 (EDT)
Received: from homiemail-a18.g.dreamhost.com (localhost [127.0.0.1])
by homiemail-a18.g.dreamhost.com (Postfix) with ESMTP id DE70325006C
for <centos@centos.org>; Wed, 13 Oct 2010 02:45:19 -0700 (PDT)
Received: from www.palm.com (unknown [80.27.103.57])
(Authenticated sender: admin@tssystems.net)
by homiemail-a18.g.dreamhost.com (Postfix) with ESMTPA id BCA6C25006B
for <centos@centos.org>; Wed, 13 Oct 2010 02:45:14 -0700 (PDT)
Date: Wed, 13 Oct 2010 11:45:38 +0200
From: "=?UTF-8?B?Sm9zw6kgTWFyw61hIFRlcnJ5ICBKaW3DqW5leg==?="
<jtj@tssystems.net>
To: "CentOS mailing list" <centos@centos.org>
In-Reply-To: <201008160049276161391@gmail.com>
X-Mailer: Palm webOS v1.0.1
MIME-Version: 1.0
Message-Id: <20101013094514.BCA6C25006B@homiemail-a18.g.dreamhost.com>
Subject: Re: [CentOS] FreeNx doesn't work?
X-BeenThere: centos@centos.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: CentOS mailing list <centos@centos.org>
List-Id: CentOS mailing list <centos.centos.org>
List-Unsubscribe: <http://lists.centos.org/mailman/listinfo/centos>,
<mailto:centos-request@centos.org?subject=unsubscribe>
List-Archive: <http://lists.centos.org/pipermail/centos>
List-Post: <mailto:centos@centos.org>
List-Help: <mailto:centos-request@centos.org?subject=help>
List-Subscribe: <http://lists.centos.org/mailman/listinfo/centos>,
<mailto:centos-request@centos.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1139567494=="
Sender: centos-bounces@centos.org
Errors-To: centos-bounces@centos.org

--===============1139567494==
Content-Type: multipart/alternative;
boundary=Alternative__boundary__1286963145222

--Alternative__boundary__1286963145222
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello

To ease remove the centos packages and install the RPMs from&nbsp;nomachine=
=2Ecom&nbsp;

Best

El 15/08/2010 18:49, gaohu &lt;tigerheight@gmail.com&gt; escribi=C3=B3:=20



@import url( Cocuments and SettingsgaohuLocal SettingsTemporary Inter=
net Filesscrollbar.css );




@font-face {
font-family: 宋
}
@font-face {
font-family: Verdana;
}
@font-face {
font-family: @宋
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt;=
layout-grid: 15.6pt; }
P.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT:=
normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
UNKNOWN {
FONT-SIZE: 10pt
}
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}



@font-face {
font-family: 宋体;
}
@font-face {
font-family: Verdana;
}
@font-face {
font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt;=
layout-grid: 15.6pt; }
P.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT:=
normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
UNKNOWN {
FONT-SIZE: 10pt
}








On&nbsp;Sun,&nbsp;Aug&nbsp;15,&nbsp;2010&nbsp;at&n bsp;11:17&nbsp;AM,&nbsp;g=
aohu&nbsp;&lt;tigerheight@gmail.com&gt;&nbsp;wrote :

&gt;&nbsp;I&nbsp;have&nbsp;installed&nbsp;freenx&n bsp;with&nbsp;this&nbsp;a=
rticle
&gt;
&gt;&nbsp;http://wiki.centos.org/HowTos/FreeNX
&gt;
&gt;&nbsp;but&nbsp;when&nbsp;I&nbsp;use&nbsp;freen x-client&nbsp;on&nbsp;win=
dows&nbsp;to&nbsp;connect&nbsp;to&nbsp;server,
&gt;&nbsp;I&nbsp;always&nbsp;get&nbsp;an&nbsp;"fre enx&nbsp;Authentication&n=
bsp;failed."

You&nbsp;appear&nbsp;to&nbsp;have&nbsp;missed&nbsp ;a&nbsp;step&nbsp;or&nbsp=
;configured&nbsp;the&nbsp;auth&nbsp;bits
incorrectly.&nbsp;The&nbsp;NX&nbsp;user&nbsp;is&nb sp;the&nbsp;user&nbsp;who=
&nbsp;authenticates&nbsp;via&nbsp;ssh,&nbsp;and
you&nbsp;authenticate&nbsp;via&nbsp;nx&nbsp;to&nbs p;the&nbsp;proper&nbsp;se=
ssion.&nbsp;Go&nbsp;through&nbsp;the&nbsp;steps&nb sp;in
the&nbsp;wiki&nbsp;again&nbsp;carefully&nbsp;and&n bsp;double&nbsp;check&nbs=
p;the&nbsp;logs&nbsp;to&nbsp;see&nbsp;who&nbsp;you 're
attempting&nbsp;to&nbsp;authenticate&nbsp;as.&nbsp ;I'd&nbsp;bet&nbsp;you're=
&nbsp;trying&nbsp;to&nbsp;auth&nbsp;as&nbsp;you r
user&nbsp;instead&nbsp;of&nbsp;as&nbsp;the&nbsp;nx &nbsp;user&nbsp;and&nbsp;=
since&nbsp;the&nbsp;wiki&nbsp;states&nbsp;that&nbs p;only&nbsp;the
nx&nbsp;user&nbsp;is&nbsp;authorized&nbsp;(via&nbs p;the&nbsp;AllowUsers&nbs=
p;nx&nbsp;statement)&nbsp;auth&nbsp;is
failing&nbsp;for&nbsp;that&nbsp;reason.


--&nbsp;
During&nbsp;times&nbsp;of&nbsp;universal&nbsp;dece it,&nbsp;telling&nbsp;the=
&nbsp;truth&nbsp;becomes&nbsp;a&nbsp;revolutionary &nbsp;act.
George&nbsp;Orwell
_______________________________________________
CentOS&nbsp;mailing&nbsp;list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
&nbsp;
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D
My config as follows:
1. config sshd config, I=20
add
PasswordAuthentication no
AllowUsers nx ---&gt; nx is not an actual user in my sys=
tem.
2.&nbsp;add user, I config
&nbsp;nxserver --add user gaohu&nbsp;&nbsp;&lt;--- gaohu&nbsp;is a=20
common user on my system, and can connect via ssh with isa=20
key
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
, (and password also works before I use ssh key to audit.)
&nbsp;
&nbsp;then re config sshd config file,=20
set
&nbsp;AllowUsers nx=20
gaohu
&nbsp;
&nbsp;one thing I=20
can not understand is sshd default use /home/myuser/.ssh/authorized_keys,=
filebut nxserver generate the key at=20
&nbsp;/home/myuser/.ssh/authorized_keys2 file, should I do other settingsin=
sshd config file to support this?&nbsp;3.then I install the client and cop=
y /etc/nxserver/client.id_dsa.key file contentto the key window.&nbsp;That'=
s all.&nbsp;but when I run nxserver --test ? I just got permission denied=
? why?&nbsp;following is my sshd_config file, Could any one help?&nbsp;=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&nbsp;# $OpenBSD:&nbsp;sshd_config,v=
&nbsp;1.73&nbsp;2005/12/06&nbsp;22:38:28&nbsp;reyk&nbsp;Exp&nbsp;$#&nbsp;T h=
is&nbsp;is&nbsp;the&nbsp;sshd&nbsp;server&nbsp;sys tem-wide&nbsp;configurati=
on&nbsp;file.&nbsp;&nbsp;See#&nbsp;sshd_config(5)& nbsp;for&nbsp;more&nbsp;i=
nformation.#&nbsp;This&nbsp;sshd&nbsp;was&nbsp;com piled&nbsp;with&nbsp;PATH=
=3D/usr/local/bin:/bin:/usr/bin#&nbsp;The&nbsp;strategy&nbsp;used&nbsp;for&=
nbsp;options&nbsp;in&nbsp;the&nbsp;default&nbsp;ss hd_config&nbsp;shipped&nb=
sp;with#&nbsp;OpenSSH&nbsp;is&nbsp;to&nbsp;specify &nbsp;options&nbsp;with&n=
bsp;their&nbsp;default&nbsp;value&nbsp;where#&nbsp ;possible,&nbsp;but&nbsp;=
leave&nbsp;them&nbsp;commented.&nbsp;&nbsp;Uncomme nted&nbsp;options&nbsp;ch=
ange&nbsp;a#&nbsp;default&nbsp;value.#Port&nbsp;22 #Protocol&nbsp;2,1Protoco=
l&nbsp;2#AddressFamily&nbsp;any#ListenAddress&nbsp ;0.0.0.0#ListenAddress&nb=
sp;::#&nbsp;HostKey&nbsp;for&nbsp;protocol&nbsp;ve rsion&nbsp;1#HostKey&nbsp=
;/etc/ssh/ssh_host_key#&nbsp;HostKeys&nbsp;for&nbsp;protocol &nbsp;version&n=
bsp;2#HostKey&nbsp;/etc/ssh/ssh_host_rsa_key#HostKey&nbsp;/etc/ssh/ssh_host=
_dsa_key#&nbsp;Lifetime&nbsp;and&nbsp;size&nbsp;of &nbsp;ephemeral&nbsp;vers=
ion&nbsp;1&nbsp;server&nbsp;key#KeyRegenerationInt erval&nbsp;1h#ServerKeyBi=
ts&nbsp;768#&nbsp;Logging#&nbsp;obsoletes&nbsp;Qui etMode&nbsp;and&nbsp;Fasc=
istLogging#SyslogFacility&nbsp;AUTHSyslogFacility& nbsp;AUTHPRIV#LogLevel&nb=
sp;INFO#&nbsp;Authentication:#LoginGraceTime&nbsp; 2m#PermitRootLogin&nbsp;y=
es#StrictModes&nbsp;yes#MaxAuthTries&nbsp;6RSAAuth entication&nbsp;yesPubkey=
Authentication&nbsp;yesAuthorizedKeysFile .ssh/authorized_keys&nbsp;#&nbsp;=
For&nbsp;this&nbsp;to&nbsp;work&nbsp;you&nbsp;will &nbsp;also&nbsp;need&nbsp=
;host&nbsp;keys&nbsp;in&nbsp;/etc/ssh/ssh_known_hosts#RhostsRSAAuthenticati=
on&nbsp;no#&nbsp;similar&nbsp;for&nbsp;protocol&nb sp;version&nbsp;2#Hostbas=
edAuthentication&nbsp;no#&nbsp;Change&nbsp;to&nbsp ;yes&nbsp;if&nbsp;you&nbs=
p;don't&nbsp;trust&nbsp;~/.ssh/known_hosts&nbsp;for#&nbsp;RhostsRSAAuthenti=
cation&nbsp;and&nbsp;HostbasedAuthentication#Ignor eUserKnownHosts&nbsp;no#&=
nbsp;Don't&nbsp;read&nbsp;the&nbsp;user's&nbsp;~/.rhosts&nbsp;and&nbsp;~/.s=
hosts&nbsp;files#IgnoreRhosts&nbsp;yes#&nbsp;To&nb sp;disable&nbsp;tunneled&=
nbsp;clear&nbsp;text&nbsp;passwords,&nbsp;change&n bsp;to&nbsp;no&nbsp;here!=
#PasswordAuthentication&nbsp;yes#PermitEmptyPasswo rds&nbsp;noPasswordAuthen=
tication&nbsp;no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;AllowUsers&=
nbsp;nx&nbsp;gaohu#&nbsp;Change&nbsp;to&nbsp;no&nb sp;to&nbsp;disable&nbsp;s=
/key&nbsp;passwords#ChallengeResponseAuthentication &nbsp;yesChallengeRespon=
seAuthentication&nbsp;no#&nbsp;Kerberos&nbsp;optio ns#KerberosAuthentication=
&nbsp;no#KerberosOrLocalPasswd&nbsp;yes#KerberosTi cketCleanup&nbsp;yes#Kerb=
erosGetAFSToken&nbsp;no#&nbsp;GSSAPI&nbsp;options# GSSAPIAuthentication&nbsp=
;noGSSAPIAuthentication&nbsp;yes#GSSAPICleanupCred entials&nbsp;yesGSSAPICle=
anupCredentials&nbsp;yes#&nbsp;Set&nbsp;this&nbsp; to&nbsp;'yes'&nbsp;to&nbs=
p;enable&nbsp;PAM&nbsp;authentication,&nbsp;accoun t&nbsp;processing,&nbsp;&=
lt;
/DIV&gt;#&nbsp;and&nbsp;session&nbsp;processing.&nb sp;If&nbsp;this&nbsp;is=
&nbsp;enabled,&nbsp;PAM&nbsp;authentication&nbsp;w ill&nbsp;#&nbsp;be&nbsp;a=
llowed&nbsp;through&nbsp;the&nbsp;ChallengeRespons eAuthentication&nbsp;mech=
anism.&nbsp;#&nbsp;Depending&nbsp;on&nbsp;your&nbs p;PAM&nbsp;configuration,=
&nbsp;this&nbsp;may&nbsp;bypass&nbsp;the&nbsp;sett ing&nbsp;of&nbsp;#&nbsp;P=
asswordAuthentication,&nbsp;PermitEmptyPasswords,& nbsp;and&nbsp;#&nbsp;"Per=
mitRootLogin&nbsp;without-password".&nbsp;If&nbsp;you&nbsp;just&nbsp;want&n=
bsp;the&nbsp;PAM&nbsp;account&nbsp;and&nbsp;#&nbsp ;session&nbsp;checks&nbsp=
;to&nbsp;run&nbsp;without&nbsp;PAM&nbsp;authentica tion,&nbsp;then&nbsp;enab=
le&nbsp;this&nbsp;but&nbsp;set&nbsp;#&nbsp;Challen geResponseAuthentication=
=3Dno#UsePAM&nbsp;noUsePAM&nbsp;yes#&nbsp;Accept&n bsp;locale-related&nbsp;e=
nvironment&nbsp;variablesAcceptEnv&nbsp;LANG&amp;
nbsp;LC_CTYPE&nbsp;LC_NUMERIC&nbsp;LC_TIME&nbsp;LC _COLLATE&nbsp;LC_MONETAR=
Y&nbsp;LC_MESSAGES&nbsp;AcceptEnv&nbsp;LC_PAPER&nb sp;LC_NAME&nbsp;LC_ADDRES=
S&nbsp;LC_TELEPHONE&nbsp;LC_MEASUREMENT&nbsp;Accep tEnv&nbsp;LC_IDENTIFICATI=
ON&nbsp;LC_ALL#AllowTcpForwarding&nbsp;yes#Gateway Ports&nbsp;no#X11Forwardi=
ng&nbsp;noX11Forwarding&nbsp;yes#X11DisplayOffset& nbsp;10#X11UseLocalhost&n=
bsp;yes#PrintMotd&nbsp;yes#PrintLastLog&nbsp;yes#T CPKeepAlive&nbsp;yes#UseL=
ogin&nbsp;no#UsePrivilegeSeparation&nbsp;yes#Permi tUserEnvironment&nbsp;no#=
Compression&nbsp;delayed#ClientAliveInterval&nbsp; 0#ClientAliveCountMax&nbs=
p;3#ShowPatchLevel&nbsp;no#UseDNS&nbsp;yes#PidFile &nbsp;/var/run/sshd.pid#M=
axStartups&nbsp;10#PermitTunnel&nbsp;no#ChrootDire ctory&nbsp;n
one#&nbsp;no&nbsp;default&nbsp;banner&nbsp;path#Ba nner&nbsp;/some/path#&nb=
sp;override&nbsp;default&nbsp;of&nbsp;no&nbsp;subs ystemsSubsystem sftp /usr=
/libexec/openssh/sftp-server&nbsp;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D&nbsp;


--Alternative__boundary__1286963145222
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello<br><br>To ease remove the centos packages and install the RPMs from&n=
bsp;<a href=3D"http://nomachine.com" type=3D"url">nomachine.com</a>&nbsp;<b=
r><br><span style=3D"font-family:Prelude, Verdana, san-serif;">Best<br><br>=
</span><span id=3D"signature"><div id=3D"no_signature" style=3D"overflow:hi=
dden;"></div></span><span style=3D"color:navy; font-family:Prelude, Verdana=
, san-serif; "><hr align=3D"left" style=3D"width:75%">El 15/08/2010 18:49,=
gaohu &lt;tigerheight@gmail.com&gt; escribi=C3=B3: <br><br>

<style type=3D"text/css">@import url( Cocuments and SettingsgaohuLocal=
SettingsTemporary Internet Filesscrollbar.css );
</style>



<style>@font-face {
font-family: 宋
}
@font-face {
font-family: Verdana;
}
@font-face {
font-family: @宋
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt;=
layout-grid: 15.6pt; }
P.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT:=
normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
UNKNOWN {
FONT-SIZE: 10pt
}
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>


<style>@font-face {
font-family: 宋体;
}
@font-face {
font-family: Verdana;
}
@font-face {
font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt;=
layout-grid: 15.6pt; }
P.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt;=
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT:=
normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
UNKNOWN {
FONT-SIZE: 10pt
}
</style>

<font color=3D"#000000" size=3D"2" face=3D"Verdana">
<div>
<div><font size=3D"2" face=3D"Verdana"></font></div></div>
<div><font size=3D"2" face=3D"Verdana">
<div><font face=3D"Verdana"></font></div>
<div><font size=3D"3" face=3D"Times New Roman">
<div><font size=3D"2" face=3D"Verdana">On&nbsp;Sun,&nbsp;Aug&nbsp;15,&nb sp;=
2010&nbsp;at&nbsp;11:17&nbsp;AM,&nbsp;gaohu&nbsp;& lt;tigerheight@gmail.com&=
gt;&nbsp;wrote:</font></div>
<div>
<div><font size=3D"2" face=3D"Verdana">&gt;&nbsp;I&nbsp;have&nbsp;instal led=
&nbsp;freenx&nbsp;with&nbsp;this&nbsp;article</font></div>
<div><font size=3D"2" face=3D"Verdana">&gt;</font></div>
<div><font size=3D"2" face=3D"Verdana">&gt;&nbsp;http://wiki.centos.org/How=
Tos/FreeNX</font></div>
<div><font size=3D"2" face=3D"Verdana">&gt;</font></div>
<div><font size=3D"2" face=3D"Verdana">&gt;&nbsp;but&nbsp;when&nbsp;I&nb sp;=
use&nbsp;freenx-client&nbsp;on&nbsp;windows&nbsp;to&nbsp;connect&n bsp;to&nb=
sp;server,</font></div>
<div><font size=3D"2" face=3D"Verdana">&gt;&nbsp;I&nbsp;always&nbsp;get& nbs=
p;an&nbsp;"freenx&nbsp;Authentication&nbsp;failed. "</font></div>
<div><font size=3D"2" face=3D"Verdana"></font></div>
<div><font size=3D"2" face=3D"Verdana">You&nbsp;appear&nbsp;to&nbsp;have &nb=
sp;missed&nbsp;a&nbsp;step&nbsp;or&nbsp;configured &nbsp;the&nbsp;auth&nbsp;=
bits</font></div>
<div><font size=3D"2" face=3D"Verdana">incorrectly.&nbsp;The&nbsp;NX&nbs p;u=
ser&nbsp;is&nbsp;the&nbsp;user&nbsp;who&nbsp;authe nticates&nbsp;via&nbsp;ss=
h,&nbsp;and</font></div>
<div><font size=3D"2" face=3D"Verdana">you&nbsp;authenticate&nbsp;via&nb sp;=
nx&nbsp;to&nbsp;the&nbsp;proper&nbsp;session.&nbsp ;Go&nbsp;through&nbsp;the=
&nbsp;steps&nbsp;in</font></div>
<div><font size=3D"2" face=3D"Verdana">the&nbsp;wiki&nbsp;again&nbsp;car efu=
lly&nbsp;and&nbsp;double&nbsp;check&nbsp;the&nbsp; logs&nbsp;to&nbsp;see&nbs=
p;who&nbsp;you're</font></div>
<div><font size=3D"2" face=3D"Verdana">attempting&nbsp;to&nbsp;authentic ate=
&nbsp;as.&nbsp;I'd&nbsp;bet&nbsp;you're&nbsp;tryin g&nbsp;to&nbsp;auth&nbsp;=
as&nbsp;your</font></div>
<div><font size=3D"2" face=3D"Verdana">user&nbsp;instead&nbsp;of&nbsp;as &nb=
sp;the&nbsp;nx&nbsp;user&nbsp;and&nbsp;since&nbsp; the&nbsp;wiki&nbsp;states=
&nbsp;that&nbsp;only&nbsp;the</font></div>
<div><font size=3D"2" face=3D"Verdana">nx&nbsp;user&nbsp;is&nbsp;authori zed=
&nbsp;(via&nbsp;the&nbsp;AllowUsers&nbsp;nx&nbsp;s tatement)&nbsp;auth&nbsp;=
is</font></div>
<div><font size=3D"2" face=3D"Verdana">failing&nbsp;for&nbsp;that&nbsp;r eas=
on.</font></div>
<div><font size=3D"2" face=3D"Verdana"></font></div>
<div><font size=3D"2" face=3D"Verdana"></font></div>
<div><font size=3D"2" face=3D"Verdana">--&nbsp;</font></div>
<div><font size=3D"2" face=3D"Verdana">During&nbsp;times&nbsp;of&nbsp;un ive=
rsal&nbsp;deceit,&nbsp;telling&nbsp;the&nbsp;truth &nbsp;becomes&nbsp;a&nbsp=
;revolutionary&nbsp;act.</font></div>
<div><font size=3D"2" face=3D"Verdana">George&nbsp;Orwell</font></div>
<div><font size=3D"2" face=3D"Verdana">_________________________________ ___=
___________</font></div>
<div><font size=3D"2" face=3D"Verdana">CentOS&nbsp;mailing&nbsp;list</font>=
</div>
<div><font size=3D"2" face=3D"Verdana">CentOS@centos.org</font></div>
<div><font size=3D"2" face=3D"Verdana">http://lists.centos.org/mailman/list=
info/centos</font></div></div></font></div>
<div><font size=3D"3" face=3D"Times New Roman"></font>&nbsp;</div>
<div><font size=3D"3" face=3D"Times New Roman">=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</font></div>
<div><font size=3D"3" face=3D"Times New Roman">My config as follows:</font>=
</div>
<div><font size=3D"3" face=3D"Times New Roman">1. config sshd config, I=20
add</font></div>
<div><pre><font face=3D"Times New Roman"><font size=3D"3">PasswordAuthentic=
ation no
<span id=3D"line-46" class=3D"anchor"></span> <font color=3D"#ff0000"> =
AllowUsers nx ---&gt; nx is not an actual user in my system.=
</font></font></font></pre></div>
<div><font size=3D"3" face=3D"Times New Roman">2.&nbsp;add user, I config</=
font></div>
<div><font face=3D"Times New Roman"><font size=3D"3">&nbsp;<font color=3D"#=
ff0000">nxserver --add user gaohu&nbsp;&nbsp;&lt;--- gaohu&nbsp;is a=20
common user on my system, and can connect via ssh with isa=20
key</font></font></font></div>
<div><font color=3D"#ff0000" size=3D"3" face=3D"Times New Roman">&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;=20
, (and password also works before I use ssh key to audit.)</font></div>
<div><font size=3D"3" face=3D"Times New Roman"></font>&nbsp;</div>
<div><font size=3D"3" face=3D"Times New Roman">&nbsp;then re config sshd co=
nfig file,=20
set</font></div>
<div><font face=3D"Times New Roman"><font size=3D"3">&nbsp;<em>AllowUsers=
nx=20
gaohu</em></font></font></div>
<div><em><font size=3D"3" face=3D"Times New Roman"></font></em>&nbsp;</div>
<div><font face=3D"Verdana"><font size=3D"3" face=3D"Times New Roman">&nbsp=
;one thing I=20
can not understand is sshd default use </font><pre><font size=3D"3" face=3D=
"Times New Roman">/home/myuser/.ssh/authorized_keys, file</font></pre><pre>=
<font size=3D"3" face=3D"Times New Roman">but nxserver generate the key at=

</font><pre>&nbsp;</pre><pre><font size=3D"3" face=3D"Times New Roman">/hom=
e/myuser/.ssh/authorized_keys2 file, should I do other settings</font></pre=
><pre><font size=3D"3" face=3D"Times New Roman">in sshd config file to supp=
ort this?</font></pre><pre><font size=3D"3" face=3D"Times New Roman"></font=
>&nbsp;</pre><pre><font size=3D"3" face=3D"Times New Roman">3.then I instal=
l the client and copy <strong>/</strong>etc/nxserver/client.id_dsa.key file=
content</font></pre><pre><font size=3D"3" face=3D"Times New Roman">to the=
key window.</font></pre><pre><font size=3D"3" face=3D"Times New Roman"></f=
ont>&nbsp;</pre><pre><font size=3D"3" face=3D"Times New Roman">That's all.<=
/font></pre><pre><font size=3D"3" face=3D"Times New Roman"></font>&nbsp;</p=
re><pre><font color=3D"#ff0000" size=3D"3" face=3D"Times New Roman">but whe=
n I run nxserver --test ? I just got permission denied ? why?</font></pre><=
pre>&nbsp;</pre><pre><font color=3D"#ff0000">following is my sshd_config fi=
le, Could any one help?</font></pre><pre>&nbsp;</pre><pre>=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</pre><pre>&nbsp;</pre><pre><div>#=
$OpenBSD:&nbsp;sshd_config,v&nbsp;1.73&nbsp;2005/12/06&nbsp;22:38:28&nbsp;=
reyk&nbsp;Exp&nbsp;$</div><div></div><div>#&nbsp;This&nbsp;is&nbsp;the&nbsp=
;sshd&nbsp;server&nbsp;system-wide&nbsp;configuration&nbsp;file.&nbsp;&nbsp=
;See</div><div>#&nbsp;sshd_config(5)&nbsp;for&nbsp;more& nbsp;information.</=
div><div></div><div>#&nbsp;This&nbsp;sshd&nbsp;was&nbsp;compi led&nbsp;with&=
nbsp;PATH=3D/usr/local/bin:/bin:/usr/bin</div><div></div><div>#&nbsp;The&nb=
sp;strategy&nbsp;used&nbsp;for&nbsp;options&nbsp;i n&nbsp;the&nbsp;default&n=
bsp;sshd_config&nbsp;shipped&nbsp;with</div><div>#&nbsp;OpenSSH&nbsp;is&nbs=
p;to&nbsp;specify&nbsp;options&nbsp;with&nbsp;thei r&nbsp;default&nbsp;value=
&nbsp;where</div><div>#&nbsp;possible,&nbsp;but&nbsp;leave&nbsp ;them&nbsp;c=
ommented.&nbsp;&nbsp;Uncommented&nbsp;options&nbsp ;change&nbsp;a</div><div>=
#&nbsp;default&nbsp;value.</div><div></div><div>#Port&nbsp;22</div><div>#Pr=
otocol&nbsp;2,1</div><div>Protocol&nbsp;2</div><div>#AddressFamily&nbsp;any=
</div><div>#ListenAddress&nbsp;0.0.0.0</div><div>#ListenAddress&nbsp;::</di=
v><div></div><div>#&nbsp;HostKey&nbsp;for&nbsp;protocol&nbs p;version&nbsp;1=
</div><div>#HostKey&nbsp;/etc/ssh/ssh_host_key</div><div>#&nbsp;HostKeys&nb=
sp;for&nbsp;protocol&nbsp;version&nbsp;2</div><div>#HostKey&nbsp;/etc/ssh/s=
sh_host_rsa_key</div><div>#HostKey&nbsp;/etc/ssh/ssh_host_dsa_key</div><div=
></div><div>#&nbsp;Lifetime&nbsp;and&nbsp;size&nbsp;o f&nbsp;ephemeral&nbsp;=
version&nbsp;1&nbsp;server&nbsp;key</div><div>#KeyRegenerationInterval&nbsp=
;1h</div><div>#ServerKeyBits&nbsp;768</div><div></div><div>#&nbsp;Logging</=
div><div>#&nbsp;obsoletes&nbsp;QuietMode&nbsp;and& nbsp;FascistLogging</div>=
<div>#SyslogFacility&nbsp;AUTH</div><div>SyslogFacility&nbsp;AUTHPRIV</div>=
<div>#LogLevel&nbsp;INFO</div><div></div><div>#&nbsp;Authentication:</div><=
div></div><div>#LoginGraceTime&nbsp;2m</div><div>#PermitRootLogin&nbsp;yes<=
/div><div>#StrictModes&nbsp;yes<div>#MaxAuthTries&n bsp;6</div><div></div><d=
iv>RSAAuthentication&nbsp;yes</div><div>PubkeyAuthentication&nbsp;yes</div>=
<div>AuthorizedKeysFile .ssh/authorized_keys&nbsp;</div><div></div><div>#&n=
bsp;For&nbsp;this&nbsp;to&nbsp;work&nbsp;you&nbsp; will&nbsp;also&nbsp;need&=
nbsp;host&nbsp;keys&nbsp;in&nbsp;/etc/ssh/ssh_known_hosts</div><div>#Rhosts=
RSAAuthentication&nbsp;no</div><div>#&nbsp;similar&nbsp;for&nbsp;protocol&n=
bsp;version&nbsp;2</div><div>#HostbasedAuthentication&nbsp;no</div><div>#&n=
bsp;Change&nbsp;to&nbsp;yes&nbsp;if&nbsp;you&nbsp; don't&nbsp;trust&nbsp;~/.=
ssh/known_hosts&nbsp;for</div><div>#&nbsp;RhostsRSAAuthentication&nbsp;and&=
nbsp;HostbasedAuthentication</div><div>#IgnoreUserKnownHosts&nbsp;no</div><=
div>#&nbsp;Don't&nbsp;read&nbsp;the&nbsp;user's&nb sp;~/.rhosts&nbsp;and&nbs=
p;~/.shosts&nbsp;files</div><div>#IgnoreRhosts&nbsp;yes</div><div></div><di=
v>#&nbsp;To&nbsp;disable&nbsp;tunneled&nbsp;clear& nbsp;text&nbsp;passwords,=
&nbsp;change&nbsp;to&nbsp;no&nbsp;here!<div>#Passw ordAuthentication&nbsp;ye=
s</div><div>#PermitEmptyPasswords&nbsp;no</div><div>PasswordAuthentication&=
nbsp;no</div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;AllowUser=
s&nbsp;nx&nbsp;gaohu</div><div></div><div>#&nbsp;Change&nbsp;to&nbsp;no&nbs=
p;to&nbsp;disable&nbsp;s/key&nbsp;passwords</div><div>#ChallengeResponseAut=
hentication&nbsp;yes</div><div>ChallengeResponseAuthentication&nbsp;no</div=
><div></div><div>#&nbsp;Kerberos&nbsp;options</div><div>#KerberosAuthentica=
tion&nbsp;no</div><div>#KerberosOrLocalPasswd&nbsp;yes</div><div>#KerberosT=
icketCleanup&nbsp;yes</div><div>#KerberosGetAFSToken&nbsp;no</div><div></di=
v><div>#&nbsp;GSSAPI&nbsp;options</div><div>#GSSAPIAuthentication&nbsp;no</=
div><div>GSSAPIAuthentication&nbsp;yes</div><div>#GSSAPICleanupCredentials&=
nbsp;yes</div><div>GSSAPICleanupCredentials&nbsp;yes</div><div></div><div>#=
&nbsp;Set&nbsp;this&nbsp;to&nbsp;'yes'&nbsp;to&nbs p;enable&nbsp;PAM&nbsp;au=
thentication,&nbsp;account&nbsp;processing,&nbsp;& lt;
/DIV&gt;<div>#&nbsp;and&nbsp;session&nbsp;processin g.&nbsp;If&nbsp;this&nb=
sp;is&nbsp;enabled,&nbsp;PAM&nbsp;authentication&n bsp;will&nbsp;</div><div>=
#&nbsp;be&nbsp;allowed&nbsp;through&nbsp;the&nbsp; ChallengeResponseAuthenti=
cation&nbsp;mechanism.&nbsp;</div><div>#&nbsp;Depending&nbsp;on&nbsp;your&n=
bsp;PAM&nbsp;configuration,&nbsp;this&nbsp;may&nbs p;bypass&nbsp;the&nbsp;se=
tting&nbsp;of&nbsp;</div><div>#&nbsp;PasswordAuthentication,&nbsp;Permi tEmp=
tyPasswords,&nbsp;and&nbsp;</div><div>#&nbsp;"PermitRootLogin&nbsp;without-=
password".&nbsp;If&nbsp;you&nbsp;just&nbsp;want&nb sp;the&nbsp;PAM&nbsp;acco=
unt&nbsp;and&nbsp;</div><div>#&nbsp;session&nbsp;checks&nbsp;to&nbsp;r un&nb=
sp;without&nbsp;PAM&nbsp;authentication,&nbsp;then &nbsp;enable&nbsp;this&nb=
sp;but&nbsp;set&nbsp;</div><div>#&nbsp;ChallengeResponseAuthentication=3D no=
</div><div>#UsePAM&nbsp;no</div><div>UsePAM&nbsp;yes</div><div></div><div>#=
&nbsp;Accept&nbsp;locale-related&nbsp;environment&nbsp;variables</div><div>=
AcceptEnv&nbsp;LANG&amp;
nbsp;LC_CTYPE&nbsp;LC_NUMERIC&nbsp;LC_TIME&nbsp;LC _COLLATE&nbsp;LC_MONETAR=
Y&nbsp;LC_MESSAGES&nbsp;</div><div>AcceptEnv&nbsp;LC_PAPER&nbsp;LC_NAME&nbs=
p;LC_ADDRESS&nbsp;LC_TELEPHONE&nbsp;LC_MEASUREMENT &nbsp;</div><div>AcceptEn=
v&nbsp;LC_IDENTIFICATION&nbsp;LC_ALL</div><div>#AllowTcpForwarding&nbsp;yes=
</div><div>#GatewayPorts&nbsp;no</div><div>#X11Forwarding&nbsp;no</div><div=
>X11Forwarding&nbsp;yes</div><div>#X11DisplayOffset&nbsp;10</div><div>#X11U=
seLocalhost&nbsp;yes</div><div>#PrintMotd&nbsp;yes</div><div>#PrintLastLog&=
nbsp;yes</div><div>#TCPKeepAlive&nbsp;yes</div><div>#UseLogin&nbsp;no</div>=
<div>#UsePrivilegeSeparation&nbsp;yes</div><div>#PermitUserEnvironment&nbsp=
;no</div><div>#Compression&nbsp;delayed</div><div>#ClientAliveInterval&nbsp=
;0</div><div>#ClientAliveCountMax&nbsp;3</div><div>#ShowPatchLevel&nbsp;no<=
/div><div>#UseDNS&nbsp;yes</div><div>#PidFile&nbsp;/var/run/sshd.pid</div><=
div>#MaxStartups&nbsp;10</div><div>#PermitTunnel&nbsp;no</div><div>#ChrootD=
irectory&nbsp;n
one</div><div></div><div>#&nbsp;no&nbsp;default&nbsp;banner&nbsp;p ath</div=
><div>#Banner&nbsp;/some/path</div><div></div><div>#&nbsp;override&nbsp;def=
ault&nbsp;of&nbsp;no&nbsp;subsystems</div><div>Subsystem sftp /usr/libexec/=
openssh/sftp-server</div></div></div></div></pre><pre>&nbsp;</pre><pre>=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D</pre><pre>&nbsp;</pre></pre></font></div></font></div=
></font>
</span>

--Alternative__boundary__1286963145222--


--===============1139567494==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

--===============1139567494==--
 
Old 10-13-2010, 09:55 AM
Al
 
Default Bootstrapping on Solaris 64-bits, binutils breakage

> ok, this actually needs to be (bizarre hack!):
>
> env LDFLAGS="-L$EPREFIX/usr/lib -R$EPREFIX/usr/lib -L$EPREFIX/lib -R$EPREFIX/lib -R/usr/sfw/lib/64" emerge --oneshot --nodeps binutils

It makes sense, but couldn't you simply write this order of LDFLAGS to
make.defaults?

Al

--
Caution crosser: *Runnig Gentoo/Prefix on Cygwin/Vista.
All stupid questions are related to that context.
 
Old 10-13-2010, 10:40 AM
Fabian Groffen
 
Default Bootstrapping on Solaris 64-bits, binutils breakage

On 13-10-2010 11:55:00 +0200, Al wrote:
> > ok, this actually needs to be (bizarre hack!):
> >
> > env LDFLAGS="-L$EPREFIX/usr/lib -R$EPREFIX/usr/lib -L$EPREFIX/lib -R$EPREFIX/lib -R/usr/sfw/lib/64" emerge --oneshot --nodeps binutils
>
> It makes sense, but couldn't you simply write this order of LDFLAGS to
> make.defaults?

then the rest fails to compile


--
Fabian Groffen
Gentoo on a different level
 

Thread Tools




All times are GMT. The time now is 01:22 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org