Bennu Game Development

English Forums => General => Topic started by: MisterN on January 07, 2012, 04:17:15 PM

Title: [SOLVED] bgd-installer.sh Fedora help?
Post by: MisterN on January 07, 2012, 04:17:15 PM
I didn't care for ubuntu/xubuntu/kubutnu that much so i switched to fedora. I downloaded the .sh script from the website, went to terminal, type in

[nicholas@Nicholas ~]$ sh /home/nicholas/Downloads/bgd-1.0.0-installer.sh
Bennu Game Development Installer
(C) 2008-2011 - SplinterGU

Use: /home/nicholas/Downloads/bgd-1.0.0-installer.sh --help for help text

Installing Bennu Game Development...
tail: cannot open `/home/nicholas/bgd-1.0.0-installer.sh' for reading: No such file or directory

gzip: stdin: unexpected end of file
cp: cannot stat `bin/*': No such file or directory
cp: cannot stat `bgd': No such file or directory
/home/nicholas/Downloads/bgd-1.0.0-installer.sh: line 48: /etc/ld.so.conf.d/bgd.conf: Permission denied
/home/nicholas/Downloads/bgd-1.0.0-installer.sh: line 49: /etc/ld.so.conf.d/bgd.conf: Permission denied
/home/nicholas/Downloads/bgd-1.0.0-installer.sh: line 50: /etc/ld.so.conf.d/bgd.conf: Permission denied
/home/nicholas/Downloads/bgd-1.0.0-installer.sh: line 51: cd: /usr/lib/bgd/module: No such file or directory
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
Installing bash autocompletion feature...
/home/nicholas/Downloads/bgd-1.0.0-installer.sh: line 142: /etc/bash_completion.d/bgdi: Permission denied
/home/nicholas/Downloads/bgd-1.0.0-installer.sh: line 142: /etc/bash_completion.d/bgdc: Permission denied
done!
[nicholas@Nicholas ~]$


Is there anything like bennupack except for linux (redhat/fedora) that I can use? I really dont want to go back to ubuntu to use bennu. Even then if it is installed, how might I be able to use it? When I installed my xfce version of fedora, it came with leafpad and geany IDE.
Title: Re: .sh Fedora help?
Post by: handsource-dyko on January 07, 2012, 05:07:29 PM
Are you sure that the script is has it's executable bit set? Feodora uses gnome if I'm not mistaken. In that case, you can right-click the icon and look for permissions. Set it to executable and try to run the script again. It's best to do this from the terminal, so you can see what it's doing. You can also change the permissions with this terminal command: chmod 777 bgd-1.0.0-installer.sh

This set's all the permissions. I usally rename the name of the script to something shorter like "bennuinstall.sh" for easier typing.
Oh, remember, you have type ./ before the filename when you want to run the script. This let's th shell know that you want to run it from the current directory.

When it's installed, use it like you would under windows from the dos box. This is why I always make scripts to save typing! Under linux I simply use Gedit and run my own scripts from the terminal. In the terminal I can read the error messages or my own debug output. I also work this way under windows.
Title: Re: .sh Fedora help?
Post by: SplinterGU on January 07, 2012, 05:08:26 PM
you must run it from root user.
Title: Re: .sh Fedora help?
Post by: MisterN on January 07, 2012, 06:22:50 PM
Quote from: handsource-dyko on January 07, 2012, 05:07:29 PM
Feodora uses gnome if I'm not mistaken.
Im using the fedora xfce spin cause I thought the gnome desktop wasnt good for what i needed
http://spins.fedoraproject.org/xfce/
Title: Re: .sh Fedora help?
Post by: SplinterGU on January 07, 2012, 06:33:34 PM
you must run (install) it from root user.
Title: Re: .sh Fedora help?
Post by: MisterN on January 07, 2012, 06:35:07 PM
how might i do that?
Title: Re: .sh Fedora help?
Post by: SplinterGU on January 07, 2012, 06:59:58 PM
commands:

su root

or

sudo bash

put the root password

then you, can execute the installer.
Title: Re: .sh Fedora help?
Post by: MisterN on January 07, 2012, 07:39:13 PM

[nicholas@Nicholas ~]$ su root
Password:
[root@Nicholas nicholas]# /home/nicholas/Downloads/bgd-1.0.0RC27(r270)-installer.sh
bash: syntax error near unexpected token `r270'
[root@Nicholas nicholas]#
Title: Re: .sh Fedora help?
Post by: SplinterGU on January 07, 2012, 07:58:08 PM
sure...

./bgd-1.0.0RC27\(r270\)-installer.sh
Title: Re: .sh Fedora help?
Post by: MisterN on January 07, 2012, 08:15:00 PM
i got permission denied even though im the main user and have logged into root
Title: Re: .sh Fedora help?
Post by: SplinterGU on January 07, 2012, 08:23:26 PM
please, copy complete console output here... and output of this command...

ls -la /etc/ld.so.conf.d/bgd.conf
ls -la /etc/ld.so.conf.d/
ls -la /etc/

ls -la /usr/lib/bgd
ls -la -d /usr/lib/bgd

Title: Re: .sh Fedora help?
Post by: MisterN on January 07, 2012, 08:42:57 PM
enitre console

[nicholas@Nicholas ~]$ su root
Password:
[root@Nicholas nicholas]# /home/nicholas/Downloads/bgd-1.0.0RC27(r270)-installer.sh
bash: syntax error near unexpected token `r270'
[root@Nicholas nicholas]# /home/nicholas/Downloads/bgd-1.0.0RC27\(r270\)-installer.sh
bash: /home/nicholas/Downloads/bgd-1.0.0RC27(r270)-installer.sh: Permission denied
[root@Nicholas nicholas]# ls -la /etc/ld.so.conf.d/bgd.conf
ls: cannot access /etc/ld.so.conf.d/bgd.conf: No such file or directory
[root@Nicholas nicholas]# ls -la /etc/ld.so.conf.d/
total 32
drwxr-xr-x.   2 root root  4096 Nov  2 19:30 .
drwxr-xr-x. 123 root root 12288 Jan  7 09:27 ..
-rw-r--r--.   1 root root    15 Jun 15  2011 atlas-i386.conf
-r--r--r--.   1 root root    63 Nov  1 14:05 kernel-3.1.0-7.fc16.i686.conf
-rw-r--r--.   1 root root    14 Sep 30 08:59 llvm-i386.conf
-rw-r--r--.   1 root root    21 Sep 30 07:01 xulrunner-32.conf
[root@Nicholas nicholas]# ls -la /etc/
total 2312
drwxr-xr-x. 123 root root    12288 Jan  7 09:27 .
dr-xr-xr-x.  21 root root     4096 Jan  6 13:52 ..
drwxr-xr-x.   3 root root     4096 Nov  2 19:30 abrt
-rw-r--r--.   1 root root       46 Jan  6 21:19 adjtime
-rw-r--r--.   1 root root     1518 Aug 16 06:13 aliases
-rw-r-----.   1 root smmsp   12288 Nov  2 19:32 aliases.db
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 alsa
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 alternatives
-rw-r--r--.   1 root root      541 Oct 26 20:10 anacrontab
-rw-r--r--.   1 root root      245 Feb  7  2011 anthy-conf
-rw-r--r--.   1 root root      148 Feb  7  2011 asound.conf
-rw-r--r--.   1 root root        1 Oct 26 17:54 at.deny
-rw-r--r--.   1 root root      186 Feb  8  2011 atmsigd.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 at-spi2
drwxr-x---.   3 root root     4096 Nov  2 19:30 audisp
drwxr-x---.   2 root root     4096 Nov  2 19:30 audit
drwxr-xr-x.   4 root root     4096 Nov  2 19:30 avahi
-rw-r--r--.   1 root root    57739 Sep  4 14:25 bash_completion
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 bash_completion.d
-rw-r--r--.   1 root root     2651 Aug 16 06:13 bashrc
drwxr-xr-x.   2 root root     4096 Sep 25 01:28 binfmt.d
drwxr-xr-x.   2 root root     4096 Jan  6 13:55 blkid
drwxr-xr-x.   2 root root     4096 Nov  2 19:31 bluetooth
-rw-r--r--.   1 root root     7439 Feb  8  2011 bogofilter.cf
drwxr-xr-x.   2 root root     4096 Nov  2 19:29 bonobo-activation
drwxr-xr-x.   2 root root     4096 Oct 11 09:09 chkconfig.d
-rw-r--r--.   1 root root     1022 Jan  6 21:19 chrony.conf
-rw-r-----.   1 root chrony     28 Jan  6 21:19 chrony.keys
-rw-r--r--.   1 root root      697 Aug 30 05:58 colord.conf
drwxr-xr-x.   5 root root     4096 Nov  2 19:30 ConsoleKit
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 cron.d
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 cron.daily
-rw-r--r--.   1 root root        0 Oct 26 20:10 cron.deny
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 cron.hourly
drwxr-xr-x.   2 root root     4096 Feb  8  2011 cron.monthly
-rw-r--r--.   1 root root      451 Feb  8  2011 crontab
drwxr-xr-x.   2 root root     4096 Feb  8  2011 cron.weekly
-rw-------.   1 root root        0 Jan  6 13:52 crypttab
-rw-r--r--.   1 root root     1602 Aug 16 06:13 csh.cshrc
-rw-r--r--.   1 root root      794 Aug 16 06:13 csh.login
drwxr-xr-x.   5 root lp       4096 Nov  2 19:32 cups
drwxr-xr-x.   2 root root     4096 Nov  2 19:29 cupshelpers
drwxr-xr-x.   4 root root     4096 Nov  2 19:30 dbus-1
drwxr-xr-x.   4 root root     4096 Nov  2 19:30 dconf
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 default
drwxr-xr-x.   2 root root     4096 Nov  2 19:29 depmod.d
drwxr-x---.   3 root root     4096 Nov  2 19:30 dhcp
-rw-r--r--.   1 root root     4830 Jul 15 07:02 DIR_COLORS
-rw-r--r--.   1 root root     5508 Jul 15 07:02 DIR_COLORS.256color
-rw-r--r--.   1 root root     4471 Jul 15 07:02 DIR_COLORS.lightbgcolor
-rw-r--r--.   1 root root    22494 Sep 15 18:59 dnsmasq.conf
drwxr-xr-x.   2 root root     4096 Sep 15 18:59 dnsmasq.d
-rw-r--r--.   1 root root      703 Nov  1 12:36 dracut.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 dracut.conf.d
-rw-rw-r--.   1 root disk        0 Jun 14  2011 dumpdates
-rw-r--r--.   1 root root        0 Aug 23 01:55 environment
-rw-r--r--.   1 root root        0 Aug 16 06:13 exports
drwxr-xr-x.   2 root root     4096 Oct 13 10:18 exports.d
lrwxrwxrwx.   1 root root       56 Nov  2 19:29 favicon.png -> /usr/share/icons/hicolor/16x16/apps/fedora-logo-icon.png
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 fcoe
-rw-r--r--.   1 root root       26 Oct 24 21:50 fedora-release
-rw-r--r--.   1 root root       59 Aug 16 06:13 filesystems
drwxr-xr-x.   4 root root     4096 Nov  2 19:29 fonts
drwxr-xr-x.   2 root root     4096 Nov  2 19:31 foomatic
-rw-r--r--.   1 root root       20 Feb  8  2011 fprintd.conf
-rw-rw-r--.   1 root root      481 Jan  6 13:52 fstab
-rw-r--r--.   1 root root       38 Sep 22 06:52 fuse.conf
drwxr-xr-x.   7 root root     4096 Nov  2 19:30 gconf
drwxr-xr-x.   2 root root     4096 Aug 14 22:09 gcrypt
-rw-r--r--.   1 root root      103 Oct 14 13:19 gdbinit
drwxr-xr-x.   2 root root     4096 Oct 14 13:19 gdbinit.d
drwxr-xr-x.   6 root root     4096 Nov  2 19:30 gdm
drwxr-xr-x.   3 root root     4096 Nov  2 19:29 ghostscript
drwxr-xr-x.   3 root root     4096 Nov  2 19:30 gnome-settings-daemon
drwxr-xr-x.   3 root root     4096 Nov  2 19:31 gnome-vfs-2.0
drwxr-xr-x.   2 root root     4096 Oct 12 07:42 gnupg
-rw-r--r--.   1 root root       94 Jul 11 03:08 GREP_COLORS
-rw-r--r--.   1 root root      719 Jan  6 21:21 group
-rw-r--r--.   1 root root      711 Jan  6 21:21 group-
lrwxrwxrwx.   1 root root       22 Nov  2 19:32 grub2.cfg -> ../boot/grub2/grub.cfg
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 grub.d
----------.   1 root root      583 Jan  6 21:21 gshadow
----------.   1 root root      575 Jan  6 21:21 gshadow-
-rw-r--r--.   1 root root      801 Jun 27  2011 gssapi_mech.conf
drwxr-xr-x.   3 root root     4096 Nov  2 19:30 gtk-2.0
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 gtk-3.0
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 gtkmathview
-rw-r--r--.   1 root root      874 Nov  2 19:29 hba.conf
-rw-r--r--.   1 root root        9 Aug 16 06:13 host.conf
-rw-r--r--.   1 root root       83 Nov  2 19:32 hosts
-rw-r--r--.   1 root root      370 Aug 16 06:13 hosts.allow
-rw-r--r--.   1 root root      102 Feb  8  2011 hosts.atm
-rw-r--r--.   1 root root      460 Aug 16 06:13 hosts.deny
-rw-r--r--.   1 root root     3580 Mar  7  2011 idmapd.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 init
lrwxrwxrwx.   1 root root       11 Nov  2 19:29 init.d -> rc.d/init.d
-rw-r--r--.   1 root root      490 Jan  6 13:54 inittab
-rw-r--r--.   1 root root      942 Aug 16 06:13 inputrc
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 iproute2
-rw-r--r--.   1 root root     6612 Apr  3  2010 irssi.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 iscsi
-rw-r--r--.   1 root root       51 Oct 24 21:50 issue
-rw-r--r--.   1 root root       50 Oct 24 21:50 issue.net
drwxr-xr-x.   3 root root     4096 Nov  2 19:29 java
drwxr-xr-x.   2 root root     4096 Sep 15 06:28 jvm
drwxr-xr-x.   2 root root     4096 Sep 15 06:28 jvm-commmon
-rw-r--r--.   1 root root    37917 May 24  2011 jwhois.conf
-rw-r--r--.   1 root root      449 Oct 26 18:21 krb5.conf
-rw-r--r--.   1 root root    60252 Nov  2 19:32 ld.so.cache
-rw-r--r--.   1 root root       28 Oct 19 04:04 ld.so.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 ld.so.conf.d
-rw-r--r--.   1 root root     3534 Nov  7  2008 lftp.conf
-rw-r-----.   1 root root      191 Aug 15 10:30 libaudit.conf
drwxr-xr-x.   5 root root     4096 Nov  2 19:29 libreport
-rw-r--r--.   1 root root     2293 Jan  6 13:54 libuser.conf
-rw-r--r--.   3 root root      327 Oct 19 06:41 localtime
-rw-r--r--.   1 root root     2045 Jan  6 13:54 login.defs
-rw-r--r--.   1 root root      662 Jun 21  2011 logrotate.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 logrotate.d
drwxr-xr-x.   5 root root     4096 Nov  2 19:30 lvm
-r--r--r--.   1 root root       33 Nov  2 19:30 machine-id
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 mail
-rw-r--r--.   1 root root      272 Aug 16 02:03 mailcap
-rw-r--r--.   1 root root     1968 Feb  9  2011 mail.rc
-rw-r--r--.   1 root root     5171 May 29  2011 man_db.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:31 matchbox
drwxr-xr-x.   3 root root     4096 Nov  2 19:29 maven
drwxr-xr-x.   3 root root     4096 Nov  2 19:32 mcelog
-rw-r--r--.   1 root root    49152 Aug 16 02:03 mime.types
-rw-r--r--.   1 root root      801 Dec 22  2010 mke2fs.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:31 modprobe.d
drwxr-xr-x.   2 root root     4096 Sep 25 01:28 modules-load.d
-rw-r--r--.   1 root root        0 Aug 16 06:13 motd
lrwxrwxrwx.   1 root root       17 Jan  6 13:52 mtab -> /proc/self/mounts
-rw-r--r--.   1 root root     2620 Jun 29  2011 mtools.conf
drwxr-xr-x.   2 root root     4096 Sep 21 12:49 multipath
-rw-r--r--.   1 root root   132083 Oct 26 20:41 Muttrc
-rw-r--r--.   1 root root       32 Oct 26 20:41 Muttrc.local
-rw-r--r--.   1 root root     8892 May 11  2011 nanorc
-rw-r--r--.   1 root root      767 May  2  2011 netconfig
drwxr-xr-x.   5 root root     4096 Nov  2 19:30 NetworkManager
-rw-r--r--.   1 root root       58 Oct 12 14:10 networks
-rw-r--r--.   1 root root     3390 Oct 13 10:18 nfsmount.conf
-rw-r--r--.   1 root root     1717 Nov  2 19:29 nsswitch.conf
-rw-r--r--.   1 root root     1706 Oct 19 04:04 nsswitch.conf.bak
drwxr-xr-x.   2 root root     4096 Nov  2 19:29 obex-data-server
drwxr-xr-x.   3 root root     4096 Jan  6 13:54 openldap
drwxr-xr-x.   2 root root     4096 Sep  9 11:29 openvpn
drwxr-xr-x.   2 root root     4096 Jul 29 01:49 opt
drwxr-xr-x.   3 root root     4096 Nov  2 19:30 PackageKit
drwxr-xr-x.   2 root root     4096 Jan  6 13:54 pam.d
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 pam_pkcs11
drwxr-xr-x.   3 root root     4096 Nov  2 19:30 pango
-rw-r--r--.   1 root root     1725 Jan  6 21:21 passwd
-rw-r--r--.   1 root root     1725 Jan  6 21:21 passwd-
-rw-r--r--.   1 root root       99 Mar 13  2010 passwdqc.conf
-rw-r--r--.   1 root root     1362 May 20  2011 pbm2ppa.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 pcmcia
-rw-r--r--.   1 root root     2872 Feb  9  2011 pinforc
drwxr-xr-x.   3 root root     4096 Nov  2 19:30 pkcs11
drwxr-xr-x.   8 root root     4096 Nov  2 19:30 pki
drwxr-xr-x.   2 root root     4096 Nov  2 19:31 plymouth
drwxr-xr-x.   5 root root     4096 Nov  2 19:28 pm
-rw-r--r--.   1 root root     6300 May 20  2011 pnm2ppa.conf
drwxr-xr-x.   5 root root     4096 Nov  2 19:30 polkit-1
drwxr-xr-x.   2 root root     4096 Jun 14  2011 popt.d
drwxr-xr-x.   3 root root     4096 Nov  2 19:32 ppp
-rw-r--r--.   1 root root   339884 Jan  7 09:27 prelink.cache
-rw-r--r--.   1 root root      789 Oct 12 08:48 prelink.conf
drwxr-xr-x.   2 root root     4096 Oct 12 08:57 prelink.conf.d
-rw-r--r--.   1 root root      233 Aug 16 06:13 printcap
-rw-r--r--.   1 root root     1794 Aug 16 06:13 profile
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 profile.d
-rw-r--r--.   1 root root     6545 Aug 16 06:13 protocols
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 pulse
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 purple
-rw-------.   1 root root        0 Nov  2 19:29 .pwd.lock
lrwxrwxrwx.   1 root root       10 Nov  2 19:30 rc0.d -> rc.d/rc0.d
lrwxrwxrwx.   1 root root       10 Nov  2 19:30 rc1.d -> rc.d/rc1.d
lrwxrwxrwx.   1 root root       10 Nov  2 19:30 rc2.d -> rc.d/rc2.d
lrwxrwxrwx.   1 root root       10 Nov  2 19:30 rc3.d -> rc.d/rc3.d
lrwxrwxrwx.   1 root root       10 Nov  2 19:30 rc4.d -> rc.d/rc4.d
lrwxrwxrwx.   1 root root       10 Nov  2 19:30 rc5.d -> rc.d/rc5.d
lrwxrwxrwx.   1 root root       10 Nov  2 19:30 rc6.d -> rc.d/rc6.d
drwxr-xr-x.  10 root root     4096 Oct 12 14:10 rc.d
-rw-r--r--.   1 root root      373 Apr 26  2003 rearj.cfg
lrwxrwxrwx.   1 root root       14 Nov  2 19:28 redhat-release -> fedora-release
-rw-r--r--.   1 root root     1787 Jul 26 02:51 request-key.conf
-rw-r--r--.   1 root root      100 Jan  7 08:50 resolv.conf
lrwxrwxrwx.   1 root root       11 Nov  2 19:29 rmt -> ../sbin/rmt
-rw-r--r--.   1 root root     1615 Oct 19 04:03 rpc
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 rpm
-rw-r--r--.   1 root root     2875 Sep  6 05:39 rsyslog.conf
drwxr-xr-x.   2 root root     4096 Sep  6 05:43 rsyslog.d
-rw-r--r--.   1 root root      888 Oct 12 14:10 rwtab
drwxr-xr-x.   2 root root     4096 Nov  2 19:31 rwtab.d
drwxr-xr-x.   3 root root     4096 Nov  2 19:30 sane.d
drwxr-xr-x.   2 root root     4096 Nov  2 19:32 sasl2
-rw-------.   1 root root      155 Aug 23 01:55 securetty
drwxr-xr-x.   6 root root     4096 Nov  2 19:29 security
drwxr-xr-x.   3 root root     4096 Nov  2 19:31 selinux
-rw-r--r--.   1 root root    10179 Jul 21 23:56 sensors3.conf
drwxr-xr-x.   2 root root     4096 Jul 21 23:56 sensors.d
-rw-r--r--.   1 root root   656517 Aug 23 01:55 services
-rw-r--r--.   1 root root      216 Oct  4 06:03 sestatus.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 setroubleshoot
drwxr-xr-x.   2 root root     4096 Nov  2 19:29 setuptool.d
drwxr-xr-x.   3 root root     4096 Nov  2 19:28 sgml
----------.   1 root root     1066 Jan  6 21:21 shadow
----------.   1 root root     1066 Jan  6 21:21 shadow-
-rw-r--r--.   1 root root       42 Nov  2 19:29 shells
drwxr-xr-x.   4 root root     4096 Nov  2 19:31 skel
-rw-r--r--.   1 root root     6781 Jun 13  2011 smartd.conf
drwxr-xr-x.   2 root root     4096 Jan  6 21:18 smolt
drwxr-xr-x.   2 root root     4096 Jul 25 07:23 smrsh
-rw-r--r--.   1 root root      260 Feb  9  2011 sos.conf
drwxr-xr-x.   3 root root     4096 Nov  2 19:31 sound
drwxr-xr-x.   2 root root     4096 Jan  6 21:18 ssh
drwxr-xr-x.   2 root root     4096 Nov  2 19:28 ssl
drwx------.   3 root root     4096 Nov  2 19:31 sssd
-rw-r--r--.   1 root root      212 Oct 12 14:10 statetab
drwxr-xr-x.   2 root root     4096 Oct 12 14:10 statetab.d
drwxr-xr-x.   2 root root     4096 Sep 20 14:07 stunnel
-r--r-----.   1 root root     3338 Nov 30  2010 sudoers
drwxr-x---.   2 root root     4096 Sep  7 02:28 sudoers.d
drwxr-xr-x.   7 root root     4096 Jan  6 21:21 sysconfig
-rw-r--r--.   1 root root      738 Oct 12 14:10 sysctl.conf
drwxr-xr-x.   2 root root     4096 Sep 25 01:28 sysctl.d
drwxr-xr-x.   4 root root     4096 Nov  2 19:30 systemd
lrwxrwxrwx.   1 root root       14 Nov  2 19:28 system-release -> fedora-release
-rw-r--r--.   1 root root       31 Oct 24 21:50 system-release-cpe
drwxr-xr-x.   2 root root     4096 Jul 18 08:13 terminfo
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 tmpfiles.d
-rw-r--r--.   1 root root      375 Sep  9 04:11 trusted-key.key
drwxr-xr-x.   3 root root     4096 Nov  2 19:30 udev
-rw-r--r--.   1 root root      489 Mar 31  2011 updatedb.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 UPower
-rw-r--r--.   1 root root      313 Jul  4  2000 urlview.conf
-rw-r--r--.   1 root root      592 Dec 22  2010 usb_modeswitch.conf
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 usb_modeswitch.d
-rw-r--r--.   1 root root     1964 Sep 21 02:29 vimrc
-rw-r--r--.   1 root root     1964 Sep 21 02:29 virc
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 vpnc
-rw-r--r--.   1 root root     4479 Aug  3 02:12 wgetrc
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 wpa_supplicant
-rw-r--r--.   1 root root        0 Feb  7  2011 wvdial.conf
drwxr-xr-x.   6 root root     4096 Nov  2 19:30 X11
drwxr-xr-x.   8 root root     4096 Nov  2 19:31 xdg
drwxr-xr-x.   2 root root     4096 Nov  2 19:29 xinetd.d
drwxr-xr-x.   2 root root     4096 Nov  2 19:28 xml
drwxr-xr-x.   2 root root     4096 Nov  2 19:30 xscreensaver
-rw-r--r--.   1 root root      585 Sep 26 04:02 yp.conf
drwxr-xr-x.   5 root root     4096 Nov  2 19:29 yum
-rw-r--r--.   1 root root      813 Sep 26 02:16 yum.conf
drwxr-xr-x.   2 root root     4096 Sep 26 02:16 yum.repos.d
[root@Nicholas nicholas]#
[root@Nicholas nicholas]# ls -la /usr/lib/bgd
ls: cannot access /usr/lib/bgd: No such file or directory
[root@Nicholas nicholas]# ls -la -d /usr/lib/bgd/home/nicholas/Downloads/bgd-1.0.0RC27\(r270\)-installer.sh
ls: cannot access /usr/lib/bgd/home/nicholas/Downloads/bgd-1.0.0RC27(r270)-installer.sh: No such file or directory

Title: Re: .sh Fedora help?
Post by: SplinterGU on January 07, 2012, 09:03:57 PM
try from root user

chmod +x /home/nicholas/Downloads/bgd-1.0.0RC27(r270)-installer.sh

then, run from /home/nicholas/Downloads/ with root user:

./bgd-1.0.0RC27\(r270\)-installer.sh
Title: Re: .sh Fedora help?
Post by: handsource-dyko on January 07, 2012, 09:32:55 PM
On ubuntu it normally works from a normal user with the sudo command.
Title: Re: .sh Fedora help?
Post by: MisterN on January 07, 2012, 09:37:18 PM
this is pissing me off. why is linux so hard to install stuff on? will it work if i just have the plain files in hand and put them in a folder to use with geany?

sudo bash
[root@Nicholas nicholas]# chmod +x /home/nicholas/Downloads/bgd-1.0.0RC27(r270)-installer.sh
bash: syntax error near unexpected token `('
[root@Nicholas nicholas]# chmod +x /home/nicholas/Downloads/bgd-1.0.0RC27\(r270\)-installer.sh
[root@Nicholas nicholas]# /home/nicholas/Downloads/bgd-1.0.0RC27\(r270\)-installer.sh
Bennu Game Development Installer
(C) 2008-2011 - SplinterGU

Use: /home/nicholas/Downloads/bgd-1.0.0RC27(r270)-installer.sh --help for help text

Installing Bennu Game Development...
tail: cannot open `/home/nicholas/bgd-1.0.0RC27(r270)-installer.sh' for reading: No such file or directory

gzip: stdin: unexpected end of file
cp: cannot stat `bin/*': No such file or directory
cp: cannot stat `bgd': No such file or directory
/home/nicholas/Downloads/bgd-1.0.0RC27(r270)-installer.sh: line 51: cd: /usr/lib/bgd/module: No such file or directory
Installing bash autocompletion feature...
done!
[root@Nicholas nicholas]#
Title: Re: .sh Fedora help?
Post by: SplinterGU on January 07, 2012, 10:52:44 PM
well, we'll do it easy...

please, rename the script...

mv /home/nicholas/Downloads/bgd-1.0.0RC27\(r270\)-installer.sh /home/nicholas/Downloads/bgd-installer.sh

and run it again...

./bgd-installer.sh
Title: Re: .sh Fedora help?
Post by: MisterN on January 08, 2012, 02:56:17 AM
I installed SDL hoping that would help, I renamed like you said but eh. i keep getting no file or directory even though it read it. you don't have a .rpm file? that would make things so much easier.

[nicholas@Nicholas ~]$ su root
Password:
[root@Nicholas nicholas]#    yum install SDL SDL.i586 SDL_mixer SDL_mixer.i586 libogg libogg.i586 zlib zlib.i586 libpng libpng.i586 libX11 libX11.i586 libXrandr libXrandr.i586 libXext libXext.i586 libXrender libXrender.i586 libgcc.i586
Loaded plugins: langpacks, presto, refresh-packagekit
updates/metalink                                         |  18 kB     00:00     
Setting up Install Process
Package SDL-1.2.14-13.fc16.i686 already installed and latest version
No package SDL.i586 available.
No package SDL_mixer.i586 available.
Package 2:libogg-1.2.2-3.fc15.i686 already installed and latest version
No package libogg.i586 available.
No package zlib.i586 available.
Package 2:libpng-1.2.46-1.fc16.i686 already installed and latest version
No package libpng.i586 available.
Package libX11-1.4.3-1.fc16.i686 already installed and latest version
No package libX11.i586 available.
Package libXrandr-1.3.1-2.fc15.i686 already installed and latest version
No package libXrandr.i586 available.
No package libXext.i586 available.
Package libXrender-0.9.6-2.fc15.i686 already installed and latest version
No package libXrender.i586 available.
No package libgcc.i586 available.
Resolving Dependencies
--> Running transaction check
---> Package SDL_mixer.i686 0:1.2.11-5.fc15 will be installed
--> Processing Dependency: libmikmod for package: SDL_mixer-1.2.11-5.fc15.i686
---> Package libXext.i686 0:1.2.0-2.fc15 will be updated
---> Package libXext.i686 0:1.3.0-1.fc16 will be an update
---> Package zlib.i686 0:1.2.5-4.fc16 will be updated
---> Package zlib.i686 0:1.2.5-5.fc16 will be an update
--> Running transaction check
---> Package libmikmod.i686 0:3.2.0-12.beta2.fc15 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package          Arch        Version                      Repository      Size
================================================================================
Installing:
SDL_mixer        i686        1.2.11-5.fc15                fedora          95 k
Updating:
libXext          i686        1.3.0-1.fc16                 updates         34 k
zlib             i686        1.2.5-5.fc16                 updates         83 k
Installing for dependencies:
libmikmod        i686        3.2.0-12.beta2.fc15          fedora         155 k

Transaction Summary
================================================================================
Install       2 Packages
Upgrade       2 Packages

Total download size: 368 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
(1/4): SDL_mixer-1.2.11-5.fc15.i686.rpm                  |  95 kB     00:00     
(2/4): libXext-1.3.0-1.fc16.i686.rpm                     |  34 kB     00:00     
(3/4): libmikmod-3.2.0-12.beta2.fc15.i686.rpm            | 155 kB     00:00     
(4/4): zlib-1.2.5-5.fc16.i686.rpm                        |  83 kB     00:00     
--------------------------------------------------------------------------------
Total                                           196 kB/s | 368 kB     00:01     
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libmikmod-3.2.0-12.beta2.fc15.i686                           1/6
  Installing : SDL_mixer-1.2.11-5.fc15.i686                                 2/6
  Updating   : zlib-1.2.5-5.fc16.i686                                       3/6
  Updating   : libXext-1.3.0-1.fc16.i686                                    4/6
  Cleanup    : zlib-1.2.5-4.fc16.i686                                       5/6
  Cleanup    : libXext-1.2.0-2.fc15.i686                                    6/6

Installed:
  SDL_mixer.i686 0:1.2.11-5.fc15                                               

Dependency Installed:
  libmikmod.i686 0:3.2.0-12.beta2.fc15                                         

Updated:
  libXext.i686 0:1.3.0-1.fc16              zlib.i686 0:1.2.5-5.fc16             

Complete!
[root@Nicholas nicholas]# chmod a+x /home/nicholas/Downloads/bgd-installer.sh
[root@Nicholas nicholas]# ./home/nicholas/Downloads/bgd-installer.sh
bash: ./home/nicholas/Downloads/bgd-installer.sh: No such file or directory
[root@Nicholas nicholas]# /home/nicholas/Downloads/bgd-installer.sh
Bennu Game Development Installer
(C) 2008-2011 - SplinterGU

Use: /home/nicholas/Downloads/bgd-installer.sh --help for help text

Installing Bennu Game Development...
tail: cannot open `/home/nicholas/bgd-installer.sh' for reading: No such file or directory

gzip: stdin: unexpected end of file
cp: cannot stat `bin/*': No such file or directory
cp: cannot stat `bgd': No such file or directory
/home/nicholas/Downloads/bgd-installer.sh: line 51: cd: /usr/lib/bgd/module: No such file or directory
Installing bash autocompletion feature...
done!
[root@Nicholas nicholas]#


EDIT: I did this other command and I believe I got the same result

[nicholas@Nicholas ~]$ su -c 'sh /home/nicholas/Downloads/bgd-installer.sh'
Password:
Bennu Game Development Installer
(C) 2008-2011 - SplinterGU

Use: /home/nicholas/Downloads/bgd-installer.sh --help for help text

Installing Bennu Game Development...
tail: cannot open `/home/nicholas/bgd-installer.sh' for reading: No such file or directory

gzip: stdin: unexpected end of file
cp: cannot stat `bin/*': No such file or directory
cp: cannot stat `bgd': No such file or directory
/home/nicholas/Downloads/bgd-installer.sh: line 51: cd: /usr/lib/bgd/module: No such file or directory
Installing bash autocompletion feature...
done!
[nicholas@Nicholas ~]$
Title: Re: .sh Fedora help?
Post by: SplinterGU on January 08, 2012, 03:28:01 AM
no sudo, use su...

Title: Re: .sh Fedora help?
Post by: SplinterGU on January 08, 2012, 03:32:02 AM
opensuse 12.1


splinter@splinter-portatil:~/Download> chmod +x bgd-1.0.0RC27\(r270\)-installer.sh
splinter@splinter-portatil:~/Download> su
Password:
splinter-portatil:/home/splinter/Download # ./bgd-1.0.0RC27\(r270\)-installer.sh
Bennu Game Development Installer
(C) 2008-2011 - SplinterGU

Use: ./bgd-1.0.0RC27(r270)-installer.sh --help for help text

Installing Bennu Game Development...
bgd/
bgd/lib/
bgd/lib/libvideo.so
bgd/lib/libblit.so
bgd/lib/libwm.so
bgd/lib/libdraw.so
bgd/lib/librender.so
bgd/lib/libtext.so
bgd/lib/libgrbase.so
bgd/lib/libjoy.so
bgd/lib/libfont.so
bgd/lib/libsdlhandler.so
bgd/lib/libkey.so
bgd/lib/libbgdrtm.so
bgd/lib/libscroll.so
bgd/lib/libmouse.so
bgd/module/
bgd/module/mod_math.so
bgd/module/mod_joy.so
bgd/module/mod_string.so
bgd/module/mod_sys.so
bgd/module/mod_mathi.so
bgd/module/mod_effects.so
bgd/module/mod_mouse.so
bgd/module/mod_text.so
bgd/module/mod_regex.so
bgd/module/mod_draw.so
bgd/module/mod_path.so
bgd/module/mod_sort.so
bgd/module/mod_dir.so
bgd/module/mod_sound.so
bgd/module/mod_cd.so
bgd/module/mod_file.so
bgd/module/mod_video.so
bgd/module/mod_key.so
bgd/module/mod_m7.so
bgd/module/mod_screen.so
bgd/module/mod_rand.so
bgd/module/mod_grproc.so
bgd/module/mod_wm.so
bgd/module/mod_time.so
bgd/module/mod_say.so
bgd/module/mod_mem.so
bgd/module/mod_blendop.so
bgd/module/mod_timers.so
bgd/module/mod_map.so
bgd/module/mod_proc.so
bgd/module/mod_flic.so
bgd/module/mod_crypt.so
bgd/module/mod_scroll.so
bgd/module/mod_debug.so
bin/
bin/moddesc
bin/bgdi
bin/bgdc
Installing bash autocompletion feature...
done!
Title: Re: .sh Fedora help?
Post by: SplinterGU on January 08, 2012, 03:36:57 AM
please, tell me that value say

md5sum bgd-1.0.0RC27\(r270\)-installer.sh

edit: this must show

7dcf56e570661c01791e0eb4b5694441  bgd-1.0.0RC27(r270)-installer.sh

Title: Re: .sh Fedora help?
Post by: SplinterGU on January 08, 2012, 04:00:04 AM
well, I'll wait for you 10 minutes more... then I'll go to sleep...

tell me if you need assistance...
Title: Re: .sh Fedora help?
Post by: MisterN on January 08, 2012, 05:34:42 AM
I just got back home, im getting ready for bed so no sweat. ill edit this post when I get the value you are looking for.

[nicholas@Nicholas ~]$ md5sum /home/nicholas/Downloads/bgd-installer.sh
7dcf56e570661c01791e0eb4b5694441  /home/nicholas/Downloads/bgd-installer.sh
[nicholas@Nicholas ~]$
Title: Re: .sh Fedora help?
Post by: SplinterGU on January 08, 2012, 06:46:56 AM
md5 is ok...

try this...


export _POSIX2_VERSION=199209
./bgd-installer.sh
unset _POSIX2_VERSION
Title: Re: .sh Fedora help?
Post by: josebita on January 08, 2012, 12:47:32 PM
This worked perfectly in a Fedora 11 system some time ago:

http://wiki.bennugd.org/index.php?title=Tutorial:Setting_up_Bennu_on_64_bit_linux#Fedora_11_x86_64_.28Leonidas.29

Exactly what Fedora version are you using? Please display the output of:
lsb_release -a
Title: Re: .sh Fedora help?
Post by: MisterN on January 08, 2012, 04:10:37 PM

[root@Nicholas nicholas]# uname -a
Linux Nicholas.Fedora 3.1.0-7.fc16.i686 #1 SMP Tue Nov 1 21:00:16 UTC 2011 i686 i686 i386 GNU/Linux
[root@Nicholas nicholas]#
Title: Re: .sh Fedora help?
Post by: josebita on January 08, 2012, 04:20:57 PM
lsb_release -a
Title: Re: .sh Fedora help?
Post by: MisterN on January 08, 2012, 04:29:41 PM
that command doesn't work

EDIT: :D

[nicholas@Nicholas Downloads]$ su root
Password:
[root@Nicholas Downloads]# export _POSIX2_VERSION=199209
[root@Nicholas Downloads]# ./bgd-installer.sh
Bennu Game Development Installer
(C) 2008-2011 - SplinterGU

Use: ./bgd-installer.sh --help for help text

Installing Bennu Game Development...
bgd/
bgd/lib/
bgd/lib/libvideo.so
bgd/lib/libblit.so
bgd/lib/libwm.so
bgd/lib/libdraw.so
bgd/lib/librender.so
bgd/lib/libtext.so
bgd/lib/libgrbase.so
bgd/lib/libjoy.so
bgd/lib/libfont.so
bgd/lib/libsdlhandler.so
bgd/lib/libkey.so
bgd/lib/libbgdrtm.so
bgd/lib/libscroll.so
bgd/lib/libmouse.so
bgd/module/
bgd/module/mod_math.so
bgd/module/mod_joy.so
bgd/module/mod_string.so
bgd/module/mod_sys.so
bgd/module/mod_mathi.so
bgd/module/mod_effects.so
bgd/module/mod_mouse.so
bgd/module/mod_text.so
bgd/module/mod_regex.so
bgd/module/mod_draw.so
bgd/module/mod_path.so
bgd/module/mod_sort.so
bgd/module/mod_dir.so
bgd/module/mod_sound.so
bgd/module/mod_cd.so
bgd/module/mod_file.so
bgd/module/mod_video.so
bgd/module/mod_key.so
bgd/module/mod_m7.so
bgd/module/mod_screen.so
bgd/module/mod_rand.so
bgd/module/mod_grproc.so
bgd/module/mod_wm.so
bgd/module/mod_time.so
bgd/module/mod_say.so
bgd/module/mod_mem.so
bgd/module/mod_blendop.so
bgd/module/mod_timers.so
bgd/module/mod_map.so
bgd/module/mod_proc.so
bgd/module/mod_flic.so
bgd/module/mod_crypt.so
bgd/module/mod_scroll.so
bgd/module/mod_debug.so
bin/
bin/moddesc
bin/bgdi
bin/bgdc
Installing bash autocompletion feature...
done!
[root@Nicholas Downloads]# unset _POSIX2_VERSION


I do know it is fedora 16 though because the other day I downloaded the xfce spin form here: http://spins.fedoraproject.org/xfce/

Im assuming that this installed correctly? what do I do to set it up with geany? I looked on your wiki and almost all of your tutorials have missing pages and I saw something called geannu (which is missing).
Title: Re: .sh Fedora help?
Post by: josebita on January 08, 2012, 05:08:22 PM
Yep, looks like it's installed correctly.
Geannu is a modification of Geany (http://www.geany.org/).
Title: Re: .sh Fedora help?
Post by: SplinterGU on January 08, 2012, 05:15:35 PM
yes DoctorN, works! :)

josebita or somebody can add this info to wikipedia?

EDIT: Please, remind me to pray to St. Google! :)
Title: Re: [SOLVED] bgd-installer.sh Fedora help?
Post by: josebita on January 08, 2012, 05:29:01 PM
Quote from: SplinterGU on January 08, 2012, 05:15:35 PM
yes DoctorN, works! :)

josebita or somebody can add this info to wikipedia?

EDIT: Please, remind me to pray to St. Google! :)
I'll add it to the wiki, yes.
I didn't know anything about that var!
What does it do, exactly?
Title: Re: [SOLVED] bgd-installer.sh Fedora help?
Post by: MisterN on January 08, 2012, 05:39:41 PM
real quick: how do i set up geany (since thats what came on my install of fedora) for use with bennu?
Title: Re: [SOLVED] bgd-installer.sh Fedora help?
Post by: josebita on January 08, 2012, 06:04:25 PM
This MIGHT work, but it's aimed at Ubuntu/Debian and it's ins Spanish:

http://forum.bennugd.org/index.php?topic=2799.msg48551#msg48551

I'd say that following the "code" boxes, you should be good to go.
Title: Re: [SOLVED] bgd-installer.sh Fedora help?
Post by: josebita on January 08, 2012, 06:24:07 PM
Quote from: SplinterGU on January 08, 2012, 05:15:35 PM
yes DoctorN, works! :)

josebita or somebody can add this info to wikipedia?

EDIT: Please, remind me to pray to St. Google! :)
Done.
Title: Re: [SOLVED] bgd-installer.sh Fedora help?
Post by: SplinterGU on January 08, 2012, 08:47:17 PM
this var activate old (or new, maybe experimental for fedora, I don't know) functionality in tail tool (and maybe in others)...
Title: Re: [SOLVED] bgd-installer.sh Fedora help?
Post by: josebita on January 08, 2012, 11:59:05 PM
Quote from: SplinterGU on January 08, 2012, 08:47:17 PM
this var activate old (or new, maybe experimental for fedora, I don't know) functionality in tail tool (and maybe in others)...
Ah, nice to know, thanks :)