Problhma me link

Tsial-b tsial-b at otenet.gr
Wed Jul 19 11:30:22 EEST 2006


O/H Giorgos Keramidas ??????:
> On 2006-07-18 22:03, Tsial-b <tsial-b at otenet.gr> wrote:
>   
>> O/H Giorgos Keramidas ??????:
>>     
>>> On 2006-07-16 18:56, Tsialiamanis Petros <tsialiam at otenet.gr> wrote:
>>>       
>>>> Exw suse 10. Exw balei to eclipse. ton fakelo tou eclipse ton exw
>>>> mesa sto usr/local/.
>>>>
>>>> Ama balw sto .bashrc to path tou eclipse ola ektelounte swsta.
>>>>         
>>> Oraia.
>>>
>>>       
>>>> Ama omws bgalw to path apo to .bashrc kai meta dhmiourgisw to link
>>>> tou eclipse mesa sto /usr/bin tote to eclipse den ektelite kai
>>>> emfanizete sfalma: JVM terminated exit code= 1  kai kati tetoia.
>>>>         
>>> Prepei na mas deikseis to *AKRIBES* lathos gia na exoume elpida na
>>> katalaboume ti akribws paizei.
>>>
>>>       
>>>> Antistoixa problhmata exw kai me to firefox kai me to thunderbird.
>>>> Emfanizete ena minima sfalmatos.  Ti den kanw swsta?
>>>>         
>> To mhnuma lathous mou emfanizete otan paw na treksw to firefox kai to
>> thunderbird einai :
>> "cannot find mozilla runtime directory. exiting "
>> (einai to idio mhnuma kai gia ta 2).
>>     
>
> Kata pasa pi8anothta ayto pou trexei otan grafeis `firefox' einai ena
> shell script, to opoio kapou mesa exei kai th grammh:
>
>     moz_libdir="/usr/X11R6/lib/firefox"
>
> Ston katalogo auto pou legetai $mod_libdir prepei na yparxei to
> pragmatiko ektelesimo tou Firefox, pou legetai "firefox-bin".
>
>   

Ok, akribws edw htan to problhma. Alaksa thn grammh kai ola leitourgoun 
entaksei kai ston firefox kai ston thunderbird.



>     - Pws *akribws* exeis sthsei to Firefox?  Me kathe leptomereia.
>       Akoma ki an prepei na peis "meta egrapsa `foo bar'" gia na peis
>       kapoio apo ta bhmata, graps' to.
>
>     - Ti blepeis me thn entolh:
>
>         % file `which firefox`
>
>     - An sou leei pws einai shell script, ti periexei auto to shell
>       script?
>
>   
>>> Den ta exeis sthsei swsta.  Giati prepei na baleis auta ta pragmata me
>>> to xeri?  H dianomh sou den exei paketo gi ayta?
>>>       
>> To thunderbird den to eixe.  Kai firefox eixe kapoia palia ekdosh den
>> den hksera pws na thn anabathmisw alliws.  Etsi esbhsa thn palioterh
>> ekdosh kai ebala thn neoterh.
>>     
>
> Yparxei dianomh pou den exei to Thunderbird?  Ntroph :P
>
>   
>> ps. Yparxei kapoios tropos wste na fortonontai oi rithmiseis apo to
>> .bashrc xwris na xriazete na kanw logout kai ksana login?
>>     
>
> To problhma den einai oi ru8miseis, einai oti kati den exei paei kala me
> thn xeirokinhth egkatastash pou ekanes.  An exeis oreksh na breis
> *akribws* ti paizei grapse tis apanthseis se auta pou rwthsa parapanw
> kai tha broume kapws ti ftaiei.
>
>   

Epishs pws prepei na ginete mia xeirokinhth egkatastash?
Egw auto pou ekana htan:
aposimpiesa ton fakelo me to programma kai istera to metaferw sto 
usr/local .
Kai apo ekei kai istera eite bazw to path tou sto .bashrc eite bazw link 
tou ektelesimou h tou script sto /usr/bin ?

Epishs me ta eikonidia kai thn entolh man ti paizei peripou? pws mporw 
na ta kanw na leitourgoun kai auta?

Ti einai oi fakeloi x11 kai x11R6 ?

Pws mporw na emfanisw sthn epifania ergasia mou eikonidia firwfox kai 
thunderbird me ta antistoixa icons?

Sto eclipse to problhma den exei lithei akoma. To arxeio tou eclipse 
einai executable. To minima lathous pou emfanizete einai :
Unable to access jarfile startup.jar
sthn konsola kai emfanizete kai ena parathiraki me ta ekseis:
JVM terminated . Exitcode=1
/usr/java/jdk1.5.0_07/jre/bin/java
-jar startup.jar
-os linux
-arch x86_64
-launch /usr/bin/eclipse
-name Eclispe
-showsplash 600
-exitdata 210002
-vm /usr/java/jdk1.5.0_07/jre/bin/java
-vmargs
-jar startup.jar

Na simplirwsw oti kai to jdk to ekana xeirokinita egkatastash epidh eixe 
mesa to 1.4.x .
To exw kanei egkatastash sto /usr/java kai exw prosthesei sto .bashrc ta 
parakatw:

export PATH="/usr/java/jdk1.5.0_07/bin/:$PATH"
export PATH="/usr/java/jre1.5.0_07/bin/:$PATH"
export PATH="/usr/java/jdk1.5.0_07/jre/bin/:$PATH"


Kamia idea?



Kai telos, mporw na fortosw tis rithmiseis tou .bashrc xwris na xriastei 
na kanw logout kai ksana login?

Euxaristw gia thn bohthia.





More information about the Migrate2linux mailing list