Re: Re: Linux bash script to setup compiling environment

Home › Forums › Development › Linux bash script to setup compiling environment › Re: Re: Linux bash script to setup compiling environment

#28428
hello2000
Member

I managed to get the script working, but whenever it tries to compile it seems to complain about a unexpected “(” in filebrowser.cpp. I’m pretty sure the problem is not with that though.
The configure scripts returns two errors:
configure: error: in `/home/gabriel/wiimc-read-only/libs/pcre’:
configure: error: C compiler cannot create executables

install.sh tells me this when I try to compile:

The following can be done
[1] – Setup the compiling environment
[2] – Complile WiiMC
[3] – Clean the compiling environment
[X] – Exit this application
What do you want to do: 2
cd source/mplayer; make -f Makefile; cd ../..
make[1]: Entrando no diretório `/home/gabriel/wiimc-read-only/source/mplayer’
help/help_create.sh help/help_mp-en.h UTF-8
make[1]: execvp: help/help_create.sh: Permissão negada
make[1]: Saindo do diretório `/home/gabriel/wiimc-read-only/source/mplayer’
filebrowser.cpp
/opt/devkitpro/devkitPPC/bin/powerpc-eabi-g++: 1: Syntax error: “(” unexpected
make[1]: ** [filebrowser.o] Erro 2
make: ** [build] Erro 2
Done
Press [Enter] to continue…

(where it says “Permissão negada” it means “Permission denied”, “Entrando no diretório” is “Entering directory”, “Saindo do diretório” is “Exiting directory”. This thing of having make output in different languages is very unpractical…)

I’m not sure if this is related to the script, to WiiMC code, to devkitPPC, or to my system configurations. bookondoklife, in which linux distro did you develop this script? Anyways, when I did not use the script, it also wouldn’t compile, but the error was different (I think I set up it wrong…)…

Any help is very much appreciated. Is pretty damn bad when you can’t contribute your knowledge and ideas to open source projects… 🙁