View Full Version : FreeBSD?
monsieurcanard
06-05-2006, 02:48 AM
Hi,
Is Oreon known to work on FreeBSD? I tried running ./install.sh and got:
[root@austin oreon-1.3-beta]./install.sh
functions: 21: Syntax error: "(" unexpected
Many thanks,
Matt[/code]
YodaNC
06-05-2006, 09:12 AM
what does `ls -la /bin/sh` say ?
monsieurcanard
06-06-2006, 06:07 PM
[root@austin ~]ls -la /bin/sh
-r-xr-xr-x 1 root wheel 102752 Jun 2 04:01 /bin/sh
[root@austin ~]
monsieurcanard
06-07-2006, 11:48 AM
Ahh... running the script with bash (/usr/local/bin/bash on FreeBSD) worked.
Thanks!
Matt
Hi, guys!
my platform is also FreeBSD (6.0) and i got problem when i tried execute install.sh
attempts were made under various shells: csh(default), bash, sh, tcsh.. and always i get the same problem:
functions: 21: Syntax error: "(" unexpected
after post of monsieurcanard i even reinstall bash, but error is still present..
i`ll be very glad to see solution, after all of my unsuccessful attempts.. i want to make work oreon on my machine!! :roll:
thanks
Menno
06-14-2006, 03:20 PM
Hi, guys!
my platform is also FreeBSD (6.0) and i got problem when i tried execute install.sh
attempts were made under various shells: csh(default), bash, sh, tcsh.. and always i get the same problem:
functions: 21: Syntax error: "(" unexpected
after post of monsieurcanard i even reinstall bash, but error is still present..
i`ll be very glad to see solution, after all of my unsuccessful attempts.. i want to make work oreon on my machine!! :roll:
thanks
Just to be sure, in install.sh the first line is #/bin/sh, did you change that line?
Otherwise /bin/sh will still be used to execute the script.
monsieurcanard
06-14-2006, 08:03 PM
Hey grB,
You could try modifying the first line in the script to:
#!/usr/local/bin/bash
or I just ran;
shell> bash install.sh
Hope that helps ;)
Matt
PS There's quite a lot of effort involved in installing Oreon on FreeBSD using the Nagios port etc, but it's possible. I might make a port of Oreont to make it easier.
Big thanks 4 all!!
my problem was - that script contain instruction #!/bin/sh and it uses sh even i try run script in bash..
lil changes in code solve the problem!
lets get started to work! :D