Firstly, sorry for my bad English, I'm French.
I've found a (very ) small error during the linux build of PCSX 2 (SVN of official PCSX2, rev. 455). It seems that "plugin/build.sh" file use an incorrect sh syntax. "function buildplugin {" is a bash syntax, and I must execute "bash build.sh" to build correctly :
sh :
foo() {
}
bash :
function foo {
}
To solve the problem : replace 'sh' by 'bash', or replace the bash by sh syntax.
Else, all work correctly, good job . I will try to launch a game tomorrow.
Note : There is no error message when libxxf86-dev is not installed, build work, but naturally, ZeroGs plugin don't work. You could use a check like this :
AC_CHECK_LIB(Xxf86vm,main,[LIBS="$LIBS -lXxf86vm"],[echo "Error! You need to have libXxf86vm-dev." ; exit -1])
instead of this :
AC_CHECK_LIB(Xxf86vm,main,[LIBS="$LIBS -lXxf86vm"])
In plugin/zerogs/opengl/configure.ac line 134
I've found a (very ) small error during the linux build of PCSX 2 (SVN of official PCSX2, rev. 455). It seems that "plugin/build.sh" file use an incorrect sh syntax. "function buildplugin {" is a bash syntax, and I must execute "bash build.sh" to build correctly :
sh :
foo() {
}
bash :
function foo {
}
To solve the problem : replace 'sh' by 'bash', or replace the bash by sh syntax.
Else, all work correctly, good job . I will try to launch a game tomorrow.
Note : There is no error message when libxxf86-dev is not installed, build work, but naturally, ZeroGs plugin don't work. You could use a check like this :
AC_CHECK_LIB(Xxf86vm,main,[LIBS="$LIBS -lXxf86vm"],[echo "Error! You need to have libXxf86vm-dev." ; exit -1])
instead of this :
AC_CHECK_LIB(Xxf86vm,main,[LIBS="$LIBS -lXxf86vm"])
In plugin/zerogs/opengl/configure.ac line 134