Hi,
i've downloaded the bullet 2.74 sdk, and tried to install it
./configure
and
make
looked fine, but when i'll run
make install
it gives me a
Making install in src
test -z "/usr/local/lib" || .././install-sh -c -d "/usr/local/lib"
/bin/sh: .././install-sh: /bin/sh^M: bad interpreter: No such file or directory
make[2]: *** [install-libLTLIBRARIES] Error 126
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
any idea by what this is caused ?
thx for your help
Infernalspawn
Make Install & Mac Os does not seem to like eachother
-
- Posts: 3
- Joined: Mon Apr 06, 2009 11:41 pm
-
- Posts: 3
- Joined: Mon Apr 06, 2009 11:41 pm
Re: Make Install & Mac Os does not seem to like eachother
ok parts of the problem solved, it is actualy a MacOs problem
/bin/sh: .././install-sh: /bin/sh^M: bad interpreter: No such file or directory
is caused by wron line return endings in that text file.
here's how to fix it
1.) save the old file
replace the cariage returns and store to a new file
override the "old" with the new
i'm now getting an other error
/bin/sh: .././install-sh: Permission denied
where i'm wondering because im excecuting it as root, .. any idea ?
thx!
Infernalspawn
/bin/sh: .././install-sh: /bin/sh^M: bad interpreter: No such file or directory
is caused by wron line return endings in that text file.
here's how to fix it
1.) save the old file
Code: Select all
cp install-sh install-sh.save
Code: Select all
cat install-sh | tr -d '\r' > install-sh.new
Code: Select all
mv install-sh.new install-sh
i'm now getting an other error
/bin/sh: .././install-sh: Permission denied
where i'm wondering because im excecuting it as root, .. any idea ?
thx!
Infernalspawn
-
- Posts: 3
- Joined: Mon Apr 06, 2009 11:41 pm
Re: Make Install & Mac Os does not seem to like eachother
okay, solved the problem
do ato the install-sh, and that should do it.
i hope i could help someone with this in the future
cheers
Infernal
do a
Code: Select all
chmod 755 install-sh
i hope i could help someone with this in the future
cheers
Infernal