Skip Menu |

This queue is for tickets about the Finance-InteractiveBrokers-SWIG CPAN distribution.

Report information
The Basics
Id: 70276
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Finance-InteractiveBrokers-SWIG

People
Owner: INFIDEL [...] cpan.org
Requestors: chrisfluur [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.01_01
  • 0.01_02
  • 0.02
  • 0.03
Fixed in:
  • 0.03_03
  • 0.04



Subject: can't install on a Mac OSX 10.6.7
Date: Mon, 15 Aug 2011 02:55:28 -0500
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Chris Fluur <chrisfluur [...] gmail.com>
Hi. I have to compile from source, which is no problem for me, I've compiled a ton of stuff including linux from source multiple times. However, this module is not installing on this Mac. I'm not sure what more information you need, but I have attached the output from the "make" command during the install process as a text file. The output is so long it breaks firefox every time i paste it into the body of the email. I'm gonna try some more stuff tomorrow, if I get it working I'll send another email to this address. Let me know if you have any suggestions/question. Thanks!

Message body is not shown because sender requested not to inline it.

Hi Chris, Thanks for the bug report. From what it looks like, the link command isn't being generated (and thus executed) properly. On OS-X, the command to generate a shared library should be something like: $(LD) -dynamiclib -o libfoo.1.dylib $(OBJS) It looks like I may have made a boo-boo in writing the Makefile. Can you send me your output of: perl -V (Or better yet, the output of:) perl -MConfig -e'print Config::config_sh()' From that, I will try to come up with a linking command-line for you for Darwin, and patch it in the repo for the next F::IB::SWIG version. Please bear with me while troubleshooting this, as I don't have an OS-X install to test upon, so we may have to try a couple of different things.
(Just attaching the output of those commands via the RT.cpan.org interface, or possibly to an email attachment like last time would probably be better than sending it in the body, FYI.)
Subject: Re: [rt.cpan.org #70276] can't install on a Mac OSX 10.6.7
Date: Mon, 15 Aug 2011 11:58:15 -0500
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Chris Fluur <chrisfluur [...] gmail.com>
ok, here ya go, I attached both! On Mon, Aug 15, 2011 at 3:57 AM, Jason McManus via RT < bug-Finance-InteractiveBrokers-SWIG@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70276 > > > (Just attaching the output of those commands via the RT.cpan.org > interface, or possibly to an email attachment like last time would > probably be better than sending it in the body, FYI.) >

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

On Mon Aug 15 12:58:29 2011, chrisfluur@gmail.com wrote: Show quoted text
> ok, here ya go, I attached both!
Thanks for that. 1. Give this link command a shot (if you've run a make clean or make realclean in the F::IB::SWIG directory since your first bug report, rerun perl Makefile.PL && make first, until you get the huge chain of undefined symbol errors): g++ -dynamiclib -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/usr/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm -ldl -lm -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o EClientSocketBase.o EPosixClientSocket.o Some of those arguments may not be exactly accurate; my gcc/g++ and ld man pages don't mention Darwin. If the above fails, try this: g++ -dynamiclib -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/usr/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm -ldl -lm -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o EClientSocketBase.o EPosixClientSocket.o This should get you past the linking step. 2. If that looks like it works (and you have a file IBAPI.dylib in the F::IB::SWIG directory), edit the Makefile.swig file in the F::IB::SWIG directory, and change line 101 from: $(CC) $(LDOPTS) $(DDEBUG) -o $@ $(MODNAME).$(OBJEXT) $(MODNAME)_wrap.$(OBJEXT) EClientSocketBase.$(OBJEXT) EPosixClientSocket.$(OBJEXT) to the exact linking command you just ran before (probably one of the two in step 1 above). Note: the first character of that line in Makefile.swig MUST be a HARD TAB, so if you expand spaces in your editor, don't, or 'make' will complain. 3. Re-run make. It will probably skip the link step and continue on with the blib step and move a few files around in the F::IB::SWIG directory. 4. Then run 'make test', and if that works, 'make install' (possibly as root/admin/whatever). A bit of a pain here, but we're basically manually recreating the linking command-line, injecting it into the proper place in the build process, and then continuing the build where it messed up, so that it can complete the next steps. Let me know if the above works, and hopefully which linking command you used, and I'll fix the Makefile for Darwin for a bugfix release of F::IB::SWIG (not much will change, so your installation should be fine for the foreseeable future, once it is installed.)
Subject: Re: [rt.cpan.org #70276] can't install on a Mac OSX 10.6.7
Date: Tue, 16 Aug 2011 10:29:50 -0500
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Chris Fluur <chrisfluur [...] gmail.com>
OK, I'm getting some warning/error messages on the first command... g++ -dynamiclib -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/usr/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm -ldl -lm -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o EClientSocketBase.o EPosixClientSocket.o i686-apple-darwin10-g++-4.2.1: -bundle not allowed with -dynamiclib i686-apple-darwin10-g++-4.2.1: -bundle not allowed with -dynamiclib powerpc-apple-darwin10-g++-4.2.1: -bundle not allowed with -dynamiclib lipo: can't figure out the architecture type of: /var/folders/LT/LTpbyssGFcCmd4lPNS-Yc++++TI/-Tmp-//ccjaUDwn.out I took out the -bundle argument and now i get: g++ -dynamiclib -undefined dynamic_lookup -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/usr/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm -ldl -lm -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o EClientSocketBase.o EPosixClientSocket.o ld: warning: in EClientSocketBase.o, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in EPosixClientSocket.o, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in EClientSocketBase.o, file was built for unsupported file format which is not the architecture being linked (ppc) ld: warning: in EPosixClientSocket.o, file was built for unsupported file format which is not the architecture being linked (ppc) I'm gonna try a few more things and see if I can get the dylib file. In the meantime I dumped my g++ man page as html and attached it, maybe it contains the information you mentioned your man page does not. We're gonna get this! GRRRRR On Mon, Aug 15, 2011 at 11:05 PM, Jason McManus via RT < bug-Finance-InteractiveBrokers-SWIG@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70276 > > > On Mon Aug 15 12:58:29 2011, chrisfluur@gmail.com wrote:
> > ok, here ya go, I attached both!
> > Thanks for that. > > 1. Give this link command a shot (if you've run a make clean or make > realclean in the F::IB::SWIG directory since your first bug report, > rerun perl Makefile.PL && make first, until you get the huge chain of > undefined symbol errors): > > g++ -dynamiclib -bundle -undefined dynamic_lookup -arch x86_64 -arch > i386 -arch ppc -L/usr/local/lib -L/usr/lib > -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm -ldl > -lm -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o > EClientSocketBase.o EPosixClientSocket.o > > Some of those arguments may not be exactly accurate; my gcc/g++ and ld > man pages don't mention Darwin. > > If the above fails, try this: > > g++ -dynamiclib -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib > -L/usr/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE > -ldbm -ldl -lm -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o > EClientSocketBase.o EPosixClientSocket.o > > This should get you past the linking step. > > 2. If that looks like it works (and you have a file IBAPI.dylib in the > F::IB::SWIG directory), edit the Makefile.swig file in the F::IB::SWIG > directory, and change line 101 from: > > $(CC) $(LDOPTS) $(DDEBUG) -o $@ $(MODNAME).$(OBJEXT) > $(MODNAME)_wrap.$(OBJEXT) EClientSocketBase.$(OBJEXT) > EPosixClientSocket.$(OBJEXT) > > to the exact linking command you just ran before (probably one of the > two in step 1 above). Note: the first character of that line in > Makefile.swig MUST be a HARD TAB, so if you expand spaces in your > editor, don't, or 'make' will complain. > > 3. Re-run make. It will probably skip the link step and continue on > with the blib step and move a few files around in the F::IB::SWIG > directory. > > 4. Then run 'make test', and if that works, 'make install' (possibly as > root/admin/whatever). > > A bit of a pain here, but we're basically manually recreating the > linking command-line, injecting it into the proper place in the build > process, and then continuing the build where it messed up, so that it > can complete the next steps. > > Let me know if the above works, and hopefully which linking command you > used, and I'll fix the Makefile for Darwin for a bugfix release of > F::IB::SWIG (not much will change, so your installation should be fine > for the foreseeable future, once it is installed.) >

Message body is not shown because sender requested not to inline it.

Show quoted text
> I took out the -bundle argument and now i get: > > g++ -dynamiclib -undefined dynamic_lookup -arch x86_64 -arch i386
-arch ppc Show quoted text
> -L/usr/local/lib -L/usr/lib > -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm
-ldl -lm Show quoted text
> -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o EClientSocketBase.o > EPosixClientSocket.o > ld: warning: in EClientSocketBase.o, file was built for unsupported file > format which is not the architecture being linked (i386) > ld: warning: in EPosixClientSocket.o, file was built for unsupported file > format which is not the architecture being linked (i386) > ld: warning: in EClientSocketBase.o, file was built for unsupported file > format which is not the architecture being linked (ppc) > ld: warning: in EPosixClientSocket.o, file was built for unsupported file > format which is not the architecture being linked (ppc)
Getting closer! Your second output only contains warnings, which may be about the best I can do. The "-arch x86_64 -arch i386 -arch ppc" part looks a bit silly, but if you look back to your perl -V output, you'll see that all 3 are/were specified in that order when the OS-X packagers were building your version of Perl, and that, via Config.pm, is where I (and ExtUtils::MakeMaker and Module::Build) extract the arguments to g++ from for the Makefile. It's kind of a last-ditch effort to build modules for a particular perl installation to trust that that perl itself was built with the correct arguments. So, since they were only warnings, was the file IBAPI.dylib generated after your second command? If it did, try steps 3 and 4 from my last message: https://rt.cpan.org/Ticket/Display.html?id=70276#txn-967576 Tall request here: Are you familiar with setting up your OS-X machine for remote shells, and if so, would you be comfortable doing so with a new user account for me to login and try a few things to get/make sure this builds correctly? If so, and that's fine with you, don't post any IP/login information to the RT bug tracker, but instead to my infidel@cpan.org email address. No worries if not, but I figure it'd simplify this process quite a bit, and let me whip up and test a correct Makefile for OS-X for you and other Darwin users. Regardless, see if the .dylib has been created, and continue on to steps 3 and 4, ignoring the warnings for now. You may wish to change line 43 in the Makefile.swig from "DLEXT=so" to "DLEXT=dylib" before doing that.
Subject: Re: [rt.cpan.org #70276] can't install on a Mac OSX 10.6.7
Date: Wed, 17 Aug 2011 10:00:03 -0500
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Chris Fluur <chrisfluur [...] gmail.com>
OK, so I put that command into the make file: g++ -dynamiclib -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/usr/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm -ldl -lm -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o EClientSocketBase.o EPosixClientSocket.o and re-ran make. It's almost there, just missing IBAPI.so AND IBAPI.bundle. I now see this: make -ef Makefile.swig "SWIG=/usr/local/bin/swig" "IB_BUILD_PATH=/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts" "IB_API_VERSION=9.64" "BUILD_TIME=1313395146" -------------------------- Building module library... -------------------------- g++ -fPIC -DBUILD_TIME=1313395146 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -c IBAPI-9.64.cxx -o IBAPI.o g++ -fPIC -DBUILD_TIME=1313395146 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -c IBAPI_wrap.cxx -o IBAPI_wrap.o g++ -fPIC -DBUILD_TIME=1313395146 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -c /Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient/EClientSocketBase.cpp -o EClientSocketBase.o g++ -fPIC -DBUILD_TIME=1313395146 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -c /Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient/EPosixClientSocket.cpp -o EPosixClientSocket.o #g++ -shared -Wl -DDEBUG -o IBAPI.so IBAPI.o IBAPI_wrap.o EClientSocketBase.o EPosixClientSocket.o g++ -dynamiclib -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/usr/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm -ldl -lm -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o EClientSocketBase.o EPosixClientSocket.o i686-apple-darwin10-g++-4.2.1: -bundle not allowed with -dynamiclib i686-apple-darwin10-g++-4.2.1: -bundle not allowed with -dynamiclib powerpc-apple-darwin10-g++-4.2.1: -bundle not allowed with -dynamiclib lipo: can't figure out the architecture type of: /var/folders/LT/LTpbyssGFcCmd4lPNS-Yc++++TI/-Tmp-//ccoWxizR.out make[1]: *** [IBAPI.so] Error 1 make: *** [IBAPI.bundle] Error 2 make -ef Makefile.swig "SWIG=/usr/local/bin/swig" "IB_BUILD_PATH=/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts" "IB_API_VERSION=9.64" "BUILD_TIME=1313395146" -------------------------- Building module library... -------------------------- g++ -fPIC -DBUILD_TIME=1313395146 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -c IBAPI-9.64.cxx -o IBAPI.o g++ -fPIC -DBUILD_TIME=1313395146 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -c IBAPI_wrap.cxx -o IBAPI_wrap.o g++ -fPIC -DBUILD_TIME=1313395146 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -c /Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient/EClientSocketBase.cpp -o EClientSocketBase.o g++ -fPIC -DBUILD_TIME=1313395146 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -c /Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient/EPosixClientSocket.cpp -o EPosixClientSocket.o #g++ -shared -Wl -DDEBUG -o IBAPI.so IBAPI.o IBAPI_wrap.o EClientSocketBase.o EPosixClientSocket.o g++ -dynamiclib -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/usr/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm -ldl -lm -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o EClientSocketBase.o EPosixClientSocket.o i686-apple-darwin10-g++-4.2.1: -bundle not allowed with -dynamiclib i686-apple-darwin10-g++-4.2.1: -bundle not allowed with -dynamiclib powerpc-apple-darwin10-g++-4.2.1: -bundle not allowed with -dynamiclib lipo: can't figure out the architecture type of: /var/folders/LT/LTpbyssGFcCmd4lPNS-Yc++++TI/-Tmp-//ccoWxizR.out make[1]: *** [IBAPI.so] Error 1 make: *** [IBAPI.bundle] Error 2 On Tue, Aug 16, 2011 at 10:04 PM, Jason McManus via RT < bug-Finance-InteractiveBrokers-SWIG@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70276 > >
> > I took out the -bundle argument and now i get: > > > > g++ -dynamiclib -undefined dynamic_lookup -arch x86_64 -arch i386
> -arch ppc
> > -L/usr/local/lib -L/usr/lib > > -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm
> -ldl -lm
> > -lutil -lc -lperl -o IBAPI.dylib IBAPI.o IBAPI_wrap.o EClientSocketBase.o > > EPosixClientSocket.o > > ld: warning: in EClientSocketBase.o, file was built for unsupported file > > format which is not the architecture being linked (i386) > > ld: warning: in EPosixClientSocket.o, file was built for unsupported file > > format which is not the architecture being linked (i386) > > ld: warning: in EClientSocketBase.o, file was built for unsupported file > > format which is not the architecture being linked (ppc) > > ld: warning: in EPosixClientSocket.o, file was built for unsupported file > > format which is not the architecture being linked (ppc)
> > Getting closer! Your second output only contains warnings, which may be > about the best I can do. The "-arch x86_64 -arch i386 -arch ppc" part > looks a bit silly, but if you look back to your perl -V output, you'll > see that all 3 are/were specified in that order when the OS-X packagers > were building your version of Perl, and that, via Config.pm, is where I > (and ExtUtils::MakeMaker and Module::Build) extract the arguments to g++ > from for the Makefile. It's kind of a last-ditch effort to build > modules for a particular perl installation to trust that that perl > itself was built with the correct arguments. > > So, since they were only warnings, was the file IBAPI.dylib generated > after your second command? If it did, try steps 3 and 4 from my last > message: > > https://rt.cpan.org/Ticket/Display.html?id=70276#txn-967576 > > Tall request here: Are you familiar with setting up your OS-X machine > for remote shells, and if so, would you be comfortable doing so with a > new user account for me to login and try a few things to get/make sure > this builds correctly? If so, and that's fine with you, don't post any > IP/login information to the RT bug tracker, but instead to my > infidel@cpan.org email address. > > No worries if not, but I figure it'd simplify this process quite a bit, > and let me whip up and test a correct Makefile for OS-X for you and > other Darwin users. > > Regardless, see if the .dylib has been created, and continue on to steps > 3 and 4, ignoring the warnings for now. You may wish to change line 43 > in the Makefile.swig from "DLEXT=so" to "DLEXT=dylib" before doing that. >
The time-zone lords have converged, and allowed us to be online at the same time today. Let's see if I can hammer this out right now. You added the wrong command-line (the one with -bundle), but no worries; I attached a new Makefile.swig to this, with what I think may be working changes. Try to grab it from this email or the ticketing system, pop the file in the F::IB::API build directory, and re-run 'make'. It may give the architecture warnings, but it should still create the IBAPI.dylib file, and allow you to continue on with 'make test' and finally 'make install'. Let me know how it goes.
Subject: Makefile.swig
Download Makefile.swig
application/octet-stream 3.2k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #70276] can't install on a Mac OSX 10.6.7
Date: Wed, 17 Aug 2011 10:30:45 -0500
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Chris Fluur <chrisfluur [...] gmail.com>
ok, I ran it and get this: make -ef Makefile.swig "SWIG=/usr/local/bin/swig" "IB_BUILD_PATH=/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts" "IB_API_VERSION=9.64" "BUILD_TIME=1313395146" make[1]: Nothing to be done for `all'. /usr/bin/perl "-MExtUtils::Command" -e mkpath "blib/lib/Finance/InteractiveBrokers/SWIG" "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" chmod 755 "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" cp IBAPI.pm "blib/lib/Finance/InteractiveBrokers/SWIG"/ cp IBAPI.bundle "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI"/ cp: IBAPI.bundle: No such file or directory make: *** [IBAPI.bundle] Error 1 Where is the IBAPI.bundle supposed to be created? On Wed, Aug 17, 2011 at 10:13 AM, Jason McManus via RT < bug-Finance-InteractiveBrokers-SWIG@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70276 > > > The time-zone lords have converged, and allowed us to be online at the same > time today. > Let's see if I can hammer this out right now. > > You added the wrong command-line (the one with -bundle), but no worries; I > attached a new > Makefile.swig to this, with what I think may be working changes. > > Try to grab it from this email or the ticketing system, pop the file in the > F::IB::API > build directory, and re-run 'make'. > > It may give the architecture warnings, but it should still create the > IBAPI.dylib file, > and allow you to continue on with 'make test' and finally 'make install'. > > Let me know how it goes. >
To be honest, I wasn't expecting it to create/require a bundle (or even am sure what they are), but as that stage is handled by the ExtUtils::MakeMaker-outputted Makefile, we seem to be back into what perl and EU::MM are expecting. I've attached a new Makefile.swig(-2), with a slightly different command. This time, let's start from scratch, since the first part seems to be working alright, but the files may have gotten bollocksed up. 1. Copy the newly-attached Makefile.swig-2 into the directory, and rename it to Makefile.swig (overwriting the previous one). 2. Run 'make realclean' 3. Run 'perl Makefile.PL' 4. Run 'make' If that works: 5. Run 'make test' 6. Run 'make install' On Wed Aug 17 11:30:57 2011, chrisfluur@gmail.com wrote: Show quoted text
> ok, I ran it and get this: > > make -ef Makefile.swig "SWIG=/usr/local/bin/swig" > "IB_BUILD_PATH=/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts" > "IB_API_VERSION=9.64" "BUILD_TIME=1313395146" > make[1]: Nothing to be done for `all'. > /usr/bin/perl "-MExtUtils::Command" -e mkpath > "blib/lib/Finance/InteractiveBrokers/SWIG" > "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" > chmod 755 "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" > cp IBAPI.pm "blib/lib/Finance/InteractiveBrokers/SWIG"/ > cp IBAPI.bundle > "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI"/ > cp: IBAPI.bundle: No such file or directory > make: *** [IBAPI.bundle] Error 1 > > Where is the IBAPI.bundle supposed to be created?
Subject: Makefile.swig-2
Download Makefile.swig-2
application/octet-stream 3.1k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #70276] can't install on a Mac OSX 10.6.7
Date: Wed, 17 Aug 2011 11:29:35 -0500
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Chris Fluur <chrisfluur [...] gmail.com>
omg, i think it worked! I ran the make and got: cp lib/Finance/InteractiveBrokers/SWIG.pm blib/lib/Finance/InteractiveBrokers/SWIG.pm cp lib/Finance/InteractiveBrokers/SWIG/EventHandler.pm blib/lib/Finance/InteractiveBrokers/SWIG/EventHandler.pm make -ef Makefile.swig "SWIG=/usr/local/bin/swig" "IB_BUILD_PATH=/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts" "IB_API_VERSION=9.64" "BUILD_TIME=1313598521" -------------------------------------------- Building SWIG interface for IBAPI-9.64... -------------------------------------------- /usr/local/bin/swig -c++ -perl -Wall -DBUILD_TIME=1313598521 -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -o IBAPI_wrap.cxx IBAPI-9.64.i -------------------------- Building module library... -------------------------- g++ -fPIC -DBUILD_TIME=1313598521 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -c IBAPI-9.64.cxx -o IBAPI.o g++ -fPIC -DBUILD_TIME=1313598521 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -c IBAPI_wrap.cxx -o IBAPI_wrap.o g++ -fPIC -DBUILD_TIME=1313598521 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -c /Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient/EClientSocketBase.cpp -o EClientSocketBase.o g++ -fPIC -DBUILD_TIME=1313598521 -DDEBUG -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient -DIB_USE_STD_STRING -c /Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient/EPosixClientSocket.cpp -o EPosixClientSocket.o g++ -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -arch ppc -L/usr/local/lib -L/usr/lib -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm -ldl -lm -lutil -lc -lperl -o IBAPI.bundle IBAPI.o IBAPI_wrap.o EClientSocketBase.o EPosixClientSocket.o ld: warning: in EClientSocketBase.o, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in EPosixClientSocket.o, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in EClientSocketBase.o, file was built for unsupported file format which is not the architecture being linked (ppc) ld: warning: in EPosixClientSocket.o, file was built for unsupported file format which is not the architecture being linked (ppc) /usr/bin/perl "-MExtUtils::Command" -e mkpath "blib/lib/Finance/InteractiveBrokers/SWIG" "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" chmod 755 "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" cp IBAPI.pm "blib/lib/Finance/InteractiveBrokers/SWIG"/ cp IBAPI.bundle "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI"/ Manifying blib/man3/Finance::InteractiveBrokers::SWIG.3pm Manifying blib/man3/Finance::InteractiveBrokers::SWIG::EventHandler.3pm On Wed, Aug 17, 2011 at 10:45 AM, Jason McManus via RT < bug-Finance-InteractiveBrokers-SWIG@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70276 > > > To be honest, I wasn't expecting it to create/require a bundle (or even am > sure what > they are), but as that stage is handled by the > ExtUtils::MakeMaker-outputted Makefile, > we seem to be back into what perl and EU::MM are expecting. > > I've attached a new Makefile.swig(-2), with a slightly different command. > > This time, let's start from scratch, since the first part seems to be > working alright, > but the files may have gotten bollocksed up. > > 1. Copy the newly-attached Makefile.swig-2 into the directory, and rename > it to > Makefile.swig (overwriting the previous one). > 2. Run 'make realclean' > 3. Run 'perl Makefile.PL' > 4. Run 'make' > > If that works: > > 5. Run 'make test' > 6. Run 'make install' > > On Wed Aug 17 11:30:57 2011, chrisfluur@gmail.com wrote:
> > ok, I ran it and get this: > > > > make -ef Makefile.swig "SWIG=/usr/local/bin/swig" > > "IB_BUILD_PATH=/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts" > > "IB_API_VERSION=9.64" "BUILD_TIME=1313395146" > > make[1]: Nothing to be done for `all'. > > /usr/bin/perl "-MExtUtils::Command" -e mkpath > > "blib/lib/Finance/InteractiveBrokers/SWIG" > > "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" > > chmod 755 "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" > > cp IBAPI.pm "blib/lib/Finance/InteractiveBrokers/SWIG"/ > > cp IBAPI.bundle > > "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI"/ > > cp: IBAPI.bundle: No such file or directory > > make: *** [IBAPI.bundle] Error 1 > > > > Where is the IBAPI.bundle supposed to be created?
>
Subject: Re: [rt.cpan.org #70276] can't install on a Mac OSX 10.6.7
Date: Wed, 17 Aug 2011 11:33:26 -0500
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Chris Fluur <chrisfluur [...] gmail.com>
sudo make test;sudo make install did this: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t .......................................... 1/1 # Testing Finance::InteractiveBrokers::SWIG 0.03, Perl 5.010000, /usr/bin/perl t/00-load.t .......................................... ok t/79-Finance-InteractiveBrokers-SWIG-IBAPI.t ......... You tried to run a test without a plan at t/79-Finance-InteractiveBrokers-SWIG-IBAPI.t line 41. # Looks like your test died before it could output anything. t/79-Finance-InteractiveBrokers-SWIG-IBAPI.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/88-Finance-InteractiveBrokers-SWIG-EventHandler.t .. You tried to run a test without a plan at t/88-Finance-InteractiveBrokers-SWIG-EventHandler.t line 47. # Looks like your test died before it could output anything. t/88-Finance-InteractiveBrokers-SWIG-EventHandler.t .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/89-Finance-InteractiveBrokers-SWIG.t ............... You tried to run a test without a plan at t/89-Finance-InteractiveBrokers-SWIG.t line 50. # Looks like your test died before it could output anything. t/89-Finance-InteractiveBrokers-SWIG.t ............... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/manifest.t ......................................... skipped: Author tests not required for installation t/pod-coverage.t ..................................... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.t .............................................. ok Test Summary Report ------------------- t/79-Finance-InteractiveBrokers-SWIG-IBAPI.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/88-Finance-InteractiveBrokers-SWIG-EventHandler.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/89-Finance-InteractiveBrokers-SWIG.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=7, Tests=4, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.25 cusr 0.06 csys = 0.36 CPU) Result: FAIL Failed 3/7 test programs. 0/4 subtests failed. make: *** [test_dynamic] Error 255 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/Finance/InteractiveBrokers/SWIG/IBAPI/IBAPI.bundle Installing /Library/Perl/5.10.0/darwin-thread-multi-2level/Finance/InteractiveBrokers/SWIG.pm Installing /Library/Perl/5.10.0/darwin-thread-multi-2level/Finance/InteractiveBrokers/SWIG/EventHandler.pm Installing /Library/Perl/5.10.0/darwin-thread-multi-2level/Finance/InteractiveBrokers/SWIG/IBAPI.pm Installing /usr/local/share/man/man3/Finance::InteractiveBrokers::SWIG.3pm Installing /usr/local/share/man/man3/Finance::InteractiveBrokers::SWIG::EventHandler.3pm Writing /Library/Perl/5.10.0/darwin-thread-multi-2level/auto/Finance/InteractiveBrokers/SWIG/.packlist Appending installation info to /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level/perllocal.pod wooooo hooooo !!!! THANKS MAN !! On Wed, Aug 17, 2011 at 11:29 AM, Chris Fluur <chrisfluur@gmail.com> wrote: Show quoted text
> omg, i think it worked! I ran the make and got: > > cp lib/Finance/InteractiveBrokers/SWIG.pm > blib/lib/Finance/InteractiveBrokers/SWIG.pm > cp lib/Finance/InteractiveBrokers/SWIG/EventHandler.pm > blib/lib/Finance/InteractiveBrokers/SWIG/EventHandler.pm > make -ef Makefile.swig "SWIG=/usr/local/bin/swig" > "IB_BUILD_PATH=/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts" > "IB_API_VERSION=9.64" "BUILD_TIME=1313598521" > -------------------------------------------- > Building SWIG interface for IBAPI-9.64... > -------------------------------------------- > /usr/local/bin/swig -c++ -perl -Wall -DBUILD_TIME=1313598521 > -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared > -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient > -o IBAPI_wrap.cxx IBAPI-9.64.i > -------------------------- > Building module library... > -------------------------- > g++ -fPIC -DBUILD_TIME=1313598521 -DDEBUG > -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared > -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient > -DIB_USE_STD_STRING -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common > -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include > -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -c > IBAPI-9.64.cxx -o IBAPI.o > g++ -fPIC -DBUILD_TIME=1313598521 -DDEBUG > -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared > -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient > -DIB_USE_STD_STRING -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common > -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include > -I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -c > IBAPI_wrap.cxx -o IBAPI_wrap.o > g++ -fPIC -DBUILD_TIME=1313598521 -DDEBUG > -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared > -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient > -DIB_USE_STD_STRING -c > /Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient/EClientSocketBase.cpp > -o EClientSocketBase.o > g++ -fPIC -DBUILD_TIME=1313598521 -DDEBUG > -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/Shared > -I/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient > -DIB_USE_STD_STRING -c > /Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts/cpp/PosixSocketClient/EPosixClientSocket.cpp > -o EPosixClientSocket.o > g++ -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -arch ppc > -L/usr/local/lib -L/usr/lib > -L/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE -ldbm -ldl -lm > -lutil -lc -lperl -o IBAPI.bundle IBAPI.o IBAPI_wrap.o EClientSocketBase.o > EPosixClientSocket.o > > ld: warning: in EClientSocketBase.o, file was built for unsupported file > format which is not the architecture being linked (i386) > ld: warning: in EPosixClientSocket.o, file was built for unsupported file > format which is not the architecture being linked (i386) > ld: warning: in EClientSocketBase.o, file was built for unsupported file > format which is not the architecture being linked (ppc) > ld: warning: in EPosixClientSocket.o, file was built for unsupported file > format which is not the architecture being linked (ppc) > /usr/bin/perl "-MExtUtils::Command" -e mkpath > "blib/lib/Finance/InteractiveBrokers/SWIG" > "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" > chmod 755 "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" > cp IBAPI.pm "blib/lib/Finance/InteractiveBrokers/SWIG"/ > cp IBAPI.bundle "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI"/ > Manifying blib/man3/Finance::InteractiveBrokers::SWIG.3pm > Manifying blib/man3/Finance::InteractiveBrokers::SWIG::EventHandler.3pm > > > > > > On Wed, Aug 17, 2011 at 10:45 AM, Jason McManus via RT < > bug-Finance-InteractiveBrokers-SWIG@rt.cpan.org> wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=70276 > >> >> To be honest, I wasn't expecting it to create/require a bundle (or even am >> sure what >> they are), but as that stage is handled by the >> ExtUtils::MakeMaker-outputted Makefile, >> we seem to be back into what perl and EU::MM are expecting. >> >> I've attached a new Makefile.swig(-2), with a slightly different command. >> >> This time, let's start from scratch, since the first part seems to be >> working alright, >> but the files may have gotten bollocksed up. >> >> 1. Copy the newly-attached Makefile.swig-2 into the directory, and rename >> it to >> Makefile.swig (overwriting the previous one). >> 2. Run 'make realclean' >> 3. Run 'perl Makefile.PL' >> 4. Run 'make' >> >> If that works: >> >> 5. Run 'make test' >> 6. Run 'make install' >> >> On Wed Aug 17 11:30:57 2011, chrisfluur@gmail.com wrote:
>> > ok, I ran it and get this: >> > >> > make -ef Makefile.swig "SWIG=/usr/local/bin/swig" >> > "IB_BUILD_PATH=/Library/Perl/5.10.0/Alien/InteractiveBrokers/IBJts" >> > "IB_API_VERSION=9.64" "BUILD_TIME=1313395146" >> > make[1]: Nothing to be done for `all'. >> > /usr/bin/perl "-MExtUtils::Command" -e mkpath >> > "blib/lib/Finance/InteractiveBrokers/SWIG" >> > "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" >> > chmod 755 "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI" >> > cp IBAPI.pm "blib/lib/Finance/InteractiveBrokers/SWIG"/ >> > cp IBAPI.bundle >> > "blib/arch/auto/Finance/InteractiveBrokers/SWIG/IBAPI"/ >> > cp: IBAPI.bundle: No such file or directory >> > make: *** [IBAPI.bundle] Error 1 >> > >> > Where is the IBAPI.bundle supposed to be created?
>>
> >
To be honest, that test output doesn't look so good. I don't think the build worked, and I suspect it's still a library linkage issue, but perhaps earlier on. Installation may have worked, but I suspect writing code against it won't. Can you send me the file 'Makefile' (with no extension); it's generated after the 'perl Makefile.PL' step, and should still be sitting around in the build dir. I also tried to find another OS-X shell elsewhere, to no avail. Do you know how and would be willing to set up a remote shell login, and I can probably square this away quickly. Show quoted text
> t/79-Finance-InteractiveBrokers-SWIG-IBAPI.t ......... You tried to > run a > test without a plan at t/79-Finance-InteractiveBrokers-SWIG-IBAPI.t > line 41. > # Looks like your test died before it could output anything. > t/79-Finance-InteractiveBrokers-SWIG-IBAPI.t ......... Dubious, test > returned 255 (wstat 65280, 0xff00) > No subtests run
Subject: Re: [rt.cpan.org #70276] can't install on a Mac OSX 10.6.7
Date: Wed, 17 Aug 2011 13:58:02 -0500
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Chris Fluur <chrisfluur [...] gmail.com>
here is the file. I'm gonna test the code, I just now got time. I don't know how to set up shell access on this box, but i could figure that out. SSH, right ? On Wed, Aug 17, 2011 at 11:46 AM, Jason McManus via RT < bug-Finance-InteractiveBrokers-SWIG@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70276 > > > To be honest, that test output doesn't look so good. I don't think the > build worked, and I suspect it's still a library linkage issue, but > perhaps earlier on. Installation may have worked, but I suspect writing > code against it won't. > > Can you send me the file 'Makefile' (with no extension); it's generated > after the 'perl Makefile.PL' step, and should still be sitting around in > the build dir. > > I also tried to find another OS-X shell elsewhere, to no avail. Do you > know how and would be willing to set up a remote shell login, and I can > probably square this away quickly. >
> > t/79-Finance-InteractiveBrokers-SWIG-IBAPI.t ......... You tried to > > run a > > test without a plan at t/79-Finance-InteractiveBrokers-SWIG-IBAPI.t > > line 41. > > # Looks like your test died before it could output anything. > > t/79-Finance-InteractiveBrokers-SWIG-IBAPI.t ......... Dubious, test > > returned 255 (wstat 65280, 0xff00) > > No subtests run
> >
Download Makefile
application/octet-stream 29.2k

Message body not shown because it is not plain text.

On Wed Aug 17 14:58:14 2011, chrisfluur@gmail.com wrote: Show quoted text
> here is the file. I'm gonna test the code, I just now got time. I
don't Show quoted text
> know how to set up shell access on this box, but i could figure that
out. Show quoted text
> SSH, right ?
Yeah, ssh would be best. You may also need to tweak a firewall rule to allow pass through to the ssh port (usually 22), if you use one. But it looks like from the other ticket, that you may be binding the C++ dynamic library ok, so it may not be necessary after all... If the new SWIG.pm from the other ticket patches the inet_aton() issue, and you're able to execute the demo programs (in examples/) alright, I may not need shell access at all.
Subject: Re: [rt.cpan.org #70276] can't install on a Mac OSX 10.6.7
Date: Thu, 18 Aug 2011 10:09:26 -0500
To: bug-Finance-InteractiveBrokers-SWIG [...] rt.cpan.org
From: Chris Fluur <chrisfluur [...] gmail.com>
I think this is working now. On Wed, Aug 17, 2011 at 6:17 PM, Jason McManus via RT < bug-Finance-InteractiveBrokers-SWIG@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=70276 > > > On Wed Aug 17 14:58:14 2011, chrisfluur@gmail.com wrote:
> > here is the file. I'm gonna test the code, I just now got time. I
> don't
> > know how to set up shell access on this box, but i could figure that
> out.
> > SSH, right ?
> > Yeah, ssh would be best. You may also need to tweak a firewall rule to > allow pass through to the ssh port (usually 22), if you use one. > > But it looks like from the other ticket, that you may be binding the C++ > dynamic library ok, so it may not be necessary after all... If the new > SWIG.pm from the other ticket patches the inet_aton() issue, and you're > able to execute the demo programs (in examples/) alright, I may not need > shell access at all. >
Coolio, will try to fix this dynamically in the Makefile for the next release.