Are you kidding me?

Last night I installed Ubuntu on my other machine via Wubi so I could test and package CGL on *nix. Today has been nothing but trouble.

Actually that isn’t true. It started out well – CGL runs beautifully on linux, no tweaks required. Huzzah! Making an executable, however, is an entirely different story. Let’s all be honest with each other — I know nothing about C++. It’s my biggest downfall as a programmer. I just can never stick with it enough to learn it — so many crappy, pain in the ass things to hold it back. This is not an excuse – I should learn it. Especially if I want to be in game development. Anyhoo…

I finally broke down and asked for help getting pyinstaller to compile. Apparently it isn’t finding some important libs that even I know about, like string.h and the like. Much searching, much failing, until I finally stumble on this link – http://www.spiration.co.uk/post/1291. Apparently, ubuntu ships with gcc and make, but no include files necessary for, well, everything.

Yes. Read it again.

I’m still recovering from the anger/bewilderment combo.

  1. sudo apt-get install build-essential

    Ubuntu is aimed at “human beings” and for Canonical apparently that means “non compiling human beings”. I find it rather stupid but that’s what you get for using a distro for newbies.

    If what you want is to compile all the time then Gentoo might be for you (I tried a Gentoo based distro and I missed apt-getting, though…) In case you want to try Gentoo but don’t want to install it you can use a VM (since there is no Wubi approach for it).

  2. Yeah – I was just trying to test and package a new project, so I would have gone with knoppix but my CD drive is jammed closed on that comp. Instead of messing with it I just grabbed Wubi and let it install overnight.

    Thanks for the command – I did get it worked out, but man was that frustrating. Agreed Ubuntu is for ‘non-compiling humans’, but why include the compiling tools at all? That’s what threw me for the loop and made it such a chore.

Leave a Comment