openkore on Mac OSX 10.9 (Mavericks)

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
raidel00
Noob
Noob
Posts: 1
Joined: 29 Apr 2014, 01:24
Noob?: Yes

openkore on Mac OSX 10.9 (Mavericks)

#1 Post by raidel00 »

I've been trying to get Openkore to run on Mac OSX. I followed the directions on the wiki on how to run openkore for mac. But when I go to compile I get errors and it's not successful. I also verified each of the things needed for the compiling is present when I installed command line tools for xcode (python and perl) and the readline from homebrew. Is there something extra that is needed that is not on this list? http://www.openkore.com/index.php/How_to_run_OpenKore. I run it with perl /location of openkore.pl

Code: Select all

raidels-imac:~ raidel$ perl /Users/raidel/Desktop/openkore_ready/openkore.pl 
scons: Reading SConscript files ...
Checking Perl configuration ...(cached) yes
Checking for C library ncurses... (cached) yes
Checking for GNU readline 4.3 or higher...(cached) yes
Checking for C library readline.5... (cached) no
Checking whether Readline 5 is available... no
Checking for libcurl...(cached) libcurl 7.30.0
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/auto/XSTools/PaddedPackets/PaddedPackets.xs.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/PaddedPackets.xs.cpp
src/auto/XSTools/PaddedPackets/PaddedPackets.c:384:1: warning: duplicate 'extern' declaration specifier
      [-Wduplicate-decl-specifier]
XS_EXTERNAL(boot_Network__PaddedPackets); /* prototype to pass -Wmissing-prototypes */
^
/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/XSUB.h:145:33: note: expanded from macro 'XS_EXTERNAL'
#      define XS_EXTERNAL(name) extern "C" XSPROTO(name)
                                ^
src/auto/XSTools/PaddedPackets/PaddedPackets.c:387:5: error: declaration of 'Perl___notused' has a different language
      linkage
    dVAR; dXSARGS;
    ^
/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/perl.h:174:17: note: expanded from macro 'dVAR'
#  define dVAR          dNOOP
                        ^
/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/perl.h:362:26: note: expanded from macro 'dNOOP'
#define dNOOP extern int Perl___notused(void)
                         ^
src/auto/XSTools/PaddedPackets/PaddedPackets.c:172:5: note: previous declaration is here
    dVAR; dXSARGS;
    ^
/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/perl.h:174:17: note: expanded from macro 'dVAR'
#  define dVAR          dNOOP
                        ^
/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/perl.h:362:26: note: expanded from macro 'dNOOP'
#define dNOOP extern int Perl___notused(void)
                         ^
1 warning and 1 error generated.
scons: *** [src/auto/XSTools/PaddedPackets/PaddedPackets.xs.os] Error 1
scons: building terminated because of errors.
-e \e[1;31mCompilation failed. Please read http://wiki.openkore.com/index.php/How_to_run_OpenKore for help.\e[0m
Can't locate loadable object for module XSTools in @INC (@INC contains: /Users/raidel/Desktop/openkore_ready/src/deps /Users/raidel/Desktop/openkore_ready/src /Users/raidel/Desktop/openkore_ready /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at /Users/raidel/Desktop/openkore_ready/src/Translation.pm line 30.
I also found another post on the forums (http://forums.openkore.com/viewtopic.php?f=37&t=14065) but there was no explanation on how to get the readline lines to say yes....and I don't know if that would fix the problem.

chart
Noob
Noob
Posts: 1
Joined: 16 Sep 2014, 23:21
Noob?: Yes

Re: openkore on Mac OSX 10.9 (Mavericks)

#2 Post by chart »

Same problem here!

My system:

Osx 10.9.4

$ g++ -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix

$ perl -v | grep perl
This is perl 5, version 16, subversion 2 (v5.16.2) built for darwin-thread-multi-2level
(with 3 registered patches, see perl -V for more detail)
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

$ brew install readline
Warning: readline-6.3.6 already installed

$ echo 'print "Python is installed"' | python
Python is installed

$ curl-config --version
libcurl 7.30.0

danzito
Noob
Noob
Posts: 1
Joined: 28 Sep 2014, 22:07
Noob?: Yes

Re: openkore on Mac OSX 10.9 (Mavericks)

#3 Post by danzito »

brew install readline
readline-6.3.8 already installed
echo 'print "Python is installed"' | python
Python is installed
curl-config --version
libcurl 7.30.0
g++ -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
perl -v | grep perl
This is perl 5, version 16, subversion 2 (v5.16.2) built for darwin-thread-multi-2level
(with 3 registered patches, see perl -V for more detail)
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
Error:
./openkore.pl
scons: Reading SConscript files ...
Checking Perl configuration ...(cached) yes
Checking for C library ncurses... (cached) yes
Checking for GNU readline 4.3 or higher...(cached) yes
Checking for C library readline.5... (cached) no
Checking whether Readline 5 is available... no
Checking for libcurl...(cached) libcurl 7.30.0
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/algorithms.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/algorithms.cpp
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/cast.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/cast.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/feal8.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/feal8.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/mcg_cipher.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/mcg_cipher.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/misty1.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/misty1.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/rmd128.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/rmd128.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/safer.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/safer.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/seal.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/seal.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/snefru.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/snefru.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/tiger.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/tiger.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
g++ -o src/auto/XSTools/PaddedPackets/Algorithms/turtle.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/Algorithms/turtle.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
buildXS(["src/auto/XSTools/PaddedPackets/PaddedPackets.xs.cpp"], ["src/auto/XSTools/PaddedPackets/PaddedPackets.xs"])
Creating src/auto/XSTools/PaddedPackets/PaddedPackets.xs.cpp ...
g++ -o src/auto/XSTools/PaddedPackets/PaddedPackets.xs.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/PaddedPackets/PaddedPackets.xs.cpp
src/auto/XSTools/PaddedPackets/PaddedPackets.c:384:1: warning: duplicate
'extern' declaration specifier [-Wduplicate-decl-specifier]
XS_EXTERNAL(boot_Network__PaddedPackets); /* prototype to pass -Wmissing...
^
/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/XSUB.h:145:33: note:
expanded from macro 'XS_EXTERNAL'
# define XS_EXTERNAL(name) extern "C" XSPROTO(name)
^
src/auto/XSTools/PaddedPackets/PaddedPackets.c:387:5: error: declaration of
'Perl___notused' has a different language linkage
dVAR; dXSARGS;
^
/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/perl.h:174:17: note:
expanded from macro 'dVAR'
# define dVAR dNOOP
^
/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/perl.h:362:26: note:
expanded from macro 'dNOOP'
#define dNOOP extern int Perl___notused(void)
^
src/auto/XSTools/PaddedPackets/PaddedPackets.c:172:5: note: previous declaration
is here
dVAR; dXSARGS;
^
/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/perl.h:174:17: note:
expanded from macro 'dVAR'
# define dVAR dNOOP
^
/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE/perl.h:362:26: note:
expanded from macro 'dNOOP'
#define dNOOP extern int Perl___notused(void)
^
1 warning and 1 error generated.
scons: *** [src/auto/XSTools/PaddedPackets/PaddedPackets.xs.os] Error 1
scons: building terminated because of errors.
-e \e[1;31mCompilation failed. Please read http://wiki.openkore.com/index.php/How_to_run_OpenKore for help.\e[0m
Can't locate loadable object for module XSTools in @INC (@INC contains: /Users/danzer/Desktop/openkore_ready/src/deps /Users/danzer/Desktop/openkore_ready/src /Users/danzer/Desktop/openkore_ready /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at /Users/danzer/Desktop/openkore_ready/src/Translation.pm line 30.
Help =[

haishera
Noob
Noob
Posts: 1
Joined: 16 Feb 2011, 09:07
Noob?: Yes

Re: openkore on Mac OSX 10.9 (Mavericks)

#4 Post by haishera »

i got same error :(
does anyone have a fix ?

panthervfs
Noob
Noob
Posts: 9
Joined: 24 Jan 2014, 18:01
Noob?: Yes

Re: openkore on Mac OSX 10.9 (Mavericks)

#5 Post by panthervfs »

*bump*

Locked