View Single Post
  #5   Spotlight this post!  
Unread 26-03-2012, 01:26
Kevin Wang's Avatar
Kevin Wang Kevin Wang is offline
Software Engineer, Webmaster
FRC #0694 (StuyPulse)
Team Role: Alumni
 
Join Date: Jun 2010
Rookie Year: 2010
Location: New York
Posts: 28
Kevin Wang is an unknown quantity at this point
Re: FRC Plugins Won't Install (Netbeans on Fedora)

Excuse the necropost, but I found a solution if there are any 64-bit Linux users out there with the same problem.

I found the solution in a cached copy of a post from a dead blog:

Quote:
While migrating our development laptops off Windows and towards Linux, we discovered that WPIlib would not build, preventing us from actually doing development work.
The preverify binary would fail to execute, with the ant script complaining about an IOException.

I poked through a hexdump and saw references to ld-linux.so.2 and glibc, both of which I knew were installed. I took a wild guess and installed ia32-libs (Ubuntu's metapackage for a couple of common 32-bit libraries). After that, there were no issues with either compiling WPIlib or our own code.

TL;DR: If you're running a 64-bit linux distribution, install 32-bit glibc. Otherwise WPIlib will fail to compile.

I find it interesting that there is no precompiled 64-bit binary, despite the ant scripts recognizing 64-bit linux installs.
__________________
Reply With Quote