Installing openkore after OS X mavericks update

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

Moderators: Moderators, Developers

Message
Author
slagathor
Noob
Noob
Posts: 7
Joined: 18 Apr 2014, 00:52
Noob?: Yes

Installing openkore after OS X mavericks update

#1 Post by slagathor »

Before getting to the problem, I would say I am a noob and I hope this is a good problem to put in this section.

I installed and ran openkore before perfectly fine using the instructions on the linked page below. Then after updating to mavericks, it didn't work. Followed through the instructions again and it didn't work. Then I actually had to replace the hard drive in my computer for unrelated issues. Went through the instructions again and am having the same problems.

http://openkore.com/index.php/How_to_run_OpenKore

Code: Select all

:openkore_ready username$ perl ./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...
^
/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/username/Documents/MYSTUFF/Ragnarok/openkore/openkore_ready/src/deps /Users/username/Documents/MYSTUFF/Ragnarok/openkore/openkore_ready/src /Users/username/Documents/MYSTUFF/Ragnarok/openkore/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/username/Documents/MYSTUFF/Ragnarok/openkore/openkore_ready/src/Translation.pm line 30.
:openkore_ready username$ 

Code: Select all

users-MacBook-Pro:~ username$ gcc -c ~/readlinetest.c
/Users/username/readlinetest.c:6:2: error: "Your version of GNU readline is
      too old. Please install version 5.0 or higher."
#error "Your version of GNU readline is too old. Please install version ...
 ^
1 error generated.
users-MacBook-Pro:~ username$ brew install readline
Warning: readline-6.3.3 already installed
users-MacBook-Pro:~ username$ 

slagathor
Noob
Noob
Posts: 7
Joined: 18 Apr 2014, 00:52
Noob?: Yes

Re: Installing openkore after OS X mavericks update

#2 Post by slagathor »

bump. I did some stuff suggested in another topic and now it looks like this. Still have no idea what the problem is. Still have no idea if anyone cares.

Code: Select all

Users-MacBook-Pro:openkore_ready user$ perl ./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.6.3... (cached) yes
Checking whether Readline 6.3 is available... yes
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/user/Documents/MYSTUFF/Ragnarok/openkore/openkore_ready/src/deps /Users/user/Documents/MYSTUFF/Ragnarok/openkore/openkore_ready/src /Users/user/Documents/MYSTUFF/Ragnarok/openkore/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/user/Documents/MYSTUFF/Ragnarok/openkore/openkore_ready/src/Translation.pm line 30.

Thaize
Noob
Noob
Posts: 17
Joined: 19 Sep 2008, 22:16
Noob?: No

Re: Installing openkore after OS X mavericks update

#3 Post by Thaize »

Hey! There's a bug in the perl packaged with mavericks. The first patch in this http://forums.openkore.com/viewtopic.php?f=36&t=204188 thread modifies perl.h to get past this bug. There is another patch for SConstruct in the openkore directory as well. I am successfully botting with xkore 3 after making those changes.

Locked