Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/bin/sh: bad interpreter: [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
hardskin1
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2003
Posts: 82

PostPosted: Tue Oct 28, 2003 6:03 pm    Post subject: /bin/sh: bad interpreter: [RISOLTO] Reply with quote

Sto' provando ad installare NWN su linux. Ho scaricato l'installer ed e' in formato di script. Quando lo lancio

Code:

sh ./nwn_129_final.run
Verifying archive integrity... All good.
Uncompressing Neverwinter Nights 1.29 for Linux...............................................................................
./nwn_129_final.run: ./setup.sh: /bin/sh: bad interpreter: Permission denied


ho gia' provato a:
-farlo partire da root
-modificare i permessi dello script stesso, di /bin/sh e di /bin/bash
ma ottengo sempre lo stesso errore.
_________________
"Life 's a bitch / Life's a whore / Nothing less nothing more" Iced Earth

Se il destino ci e' avverso, peggio per lui.


Last edited by hardskin1 on Wed Oct 29, 2003 8:36 am; edited 2 times in total
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Tue Oct 28, 2003 7:15 pm    Post subject: Reply with quote

Perchè non lo installi con un comodo "emerge nwn"? Basta che scarichi dal sito bioware le tarballe richieste (o guardi gli url dell'ebuild di nwn) e le metti in distfiles, quindi dai "emerge nwn" ed il "gioco" ( :P ) è fatto ;)
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
hardskin1
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2003
Posts: 82

PostPosted: Tue Oct 28, 2003 7:21 pm    Post subject: Reply with quote

avendo per una volta i cd volevo usarli... :D oltre a questo, non e' il primo script installar che mi fa questo scherzo: ho avuto lo stesso problema con la demo di savage.
Domanda: l'opzione users data in fstab abilita o disabilita la scrittura degli utenti sulla partizione?

grazie delle risposte.
_________________
"Life 's a bitch / Life's a whore / Nothing less nothing more" Iced Earth

Se il destino ci e' avverso, peggio per lui.
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Tue Oct 28, 2003 7:47 pm    Post subject: Reply with quote

Fa un ricerchina sul forum per l'errore che ti da, ci sono parecchi topic con varie soluzioni possibili. Anche in questo forum it se n'era parlato.

Riguardo l'opzione users, ecco un estratto dal vangelo:
Code:
 user   
Allow an ordinary user to mount the file system.  The name of the mounting user is  written to  mtab  so  that  he  can unmount the file system again.  This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the  option  line user,exec,dev,suid).

 users 
Allow  every  user  to  mount and unmount the file system.  This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the  option  line users,exec,dev,suid).


Quindi occhio alle opzioni implicite e relative conseguenze. Per maggiori info "man fstab", "man mount"
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
hardskin1
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2003
Posts: 82

PostPosted: Tue Oct 28, 2003 10:23 pm    Post subject: Reply with quote

Ho risolto. Nell'fstab avevo /tmp con opzione users => noexec e altre. Lo script decomprime in /tmp ed eseguiva da li.
Ovviamente pero' chiuso un problema se ne apre un'altro: ora

Code:

./nwn
Fatal signal: Segmentation Fault (SDL Parachute Deployed)


ho gia' cercato nel forum di gentoo e di quello della bioware provando tutte le soluzioni proposte. L'unica cosa che non ho provato e' compilare una vecchia versione dell libsdl (1.5). Apropos: come si dice a emerge di compilare una vecchia versione ?
_________________
"Life 's a bitch / Life's a whore / Nothing less nothing more" Iced Earth

Se il destino ci e' avverso, peggio per lui.
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Wed Oct 29, 2003 3:42 pm    Post subject: Reply with quote

hardskin1 wrote:

ho gia' cercato nel forum di gentoo e di quello della bioware provando tutte le soluzioni proposte. L'unica cosa che non ho provato e' compilare una vecchia versione dell libsdl (1.5). Apropos: come si dice a emerge di compilare una vecchia versione ?


Sull'errore specifico non so aiutarti. Sull'intsallazione della vecchia versione ci sono due possibilità:
- se sei fortunato e la vecchia versione è ancora presente nel portage basta passare al comando emerge il path completo all'ebuild della vecchia versione (emerge /usr/portage/media-libs/etc...)
- se la vecchia versione non è presente nel portage ti tocca recuperare/adattare da solo un ebuild affinchè ti scarichi e installi la vecchia versione. Su come gestire gli ebuild personali ti rimando ai numerosi topic presenti sul forum.

In bocca al lupo ;)
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
hardskin1
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2003
Posts: 82

PostPosted: Wed Oct 29, 2003 5:29 pm    Post subject: Reply with quote

Ho risolto tutto quanto:
- la soluzione per lo script e' spiegata nel mio post precendente.
- l'errore
Code:

Fatal signal: Segmentation Fault (SDL Parachute Deployed)

l'ho risolto reinstallando da cd con lo script di icclus.org, applicando la lingua italiana (1.29), installando la patch per la 1.32 e poi usando un eseguibile modificato che si trova nel forum della bioware.[/quote]
_________________
"Life 's a bitch / Life's a whore / Nothing less nothing more" Iced Earth

Se il destino ci e' avverso, peggio per lui.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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