Author Topic: A small problem with open source  (Read 1828 times)

H_TeXMeX_H

  • Member
  • **
  • Posts: 1,988
  • Kudos: 494
    • http://draconishinobi.50webs.com/
A small problem with open source
« on: 8 August 2006, 00:41 »
Recently I've been compiling stuff from source and it's really been a pain ... not because it's hard to do (usually just ./configure; make; make install), but because it only works half the time, and even if it compiles it may or may not work.

Why doesn't it compile ? Usually because there is a bug in the code and/or a bug in the compiler. The newest gcc keeps giving errors about "extra qualifications", and then I have to go in there and fix it myself. But sometimes the source is just completely fucked and it'll take a really long time to fix. (I don't trust myself enough to fix anything too major, after all I haven't written a large C++ program in a while, and I forgot a lot).

Well I guess the only thing to do is push forward, improve gcc error handling, and maybe get program writers to be a little more careful and maybe test the source code for compilability before releasing it !

I dunno, I'm just so fucking sick of fixing code ! So far out of all the source code I downloaded (in C++, usually game related) only half of it has compiled properly without intervention. What about people who don't know enough C or C++ to fix this shit ? They just stick to the binaries like I used to ... and what if there are no binaries ... then you're fucked !

piratePenguin

  • VIP
  • Member
  • ***
  • Posts: 3,027
  • Kudos: 775
    • http://piratepenguin.is-a-geek.com/~declan/
Re: A small problem with open source
« Reply #1 on: 8 August 2006, 01:38 »
If there are no binaries for a package, yes a noob would be fucked.

But just think, what if the package didn't have the code available in the first place? Then if there's no binaries, everybody, not only the noobs, will be fucked.


Packages which haven't had a release in about a year or more probably won't compile with the latest GCCs, unless you get a development snapshot, because it's in the developers interest to have the code compile with the latest GCCs.
"What you share with the world is what it keeps of you."
 - Noah And The Whale: Give a little love



a poem by my computer, Macintosh Vigilante
Macintosh amends a damned around the requested typewriter. Macintosh urges a scarce design. Macintosh postulates an autobiography. Macintosh tolls the solo variant. Why does a winter audience delay macintosh? The maker tosses macintosh. Beneath female suffers a double scum. How will a rat cube the heavier cricket? Macintosh calls a method. Can macintosh nest opposite the headache? Macintosh ties the wrong fairy. When can macintosh stem the land gang? Female aborts underneath macintosh. Inside macintosh waffles female. Next to macintosh worries a well.

worker201

  • Global Moderator
  • Member
  • ***
  • Posts: 2,810
  • Kudos: 703
    • http://www.triple-bypass.net
Re: A small problem with open source
« Reply #2 on: 8 August 2006, 02:04 »
One program I attempted to install once was just plain strangely written.  It had all these includes and ifnotdefined statements about include files that were provided by the package itself!  That was a royal pain to fix.  I think it was one of the type libraries, like freetype or gettext or something like that.

Orethrius

  • Member
  • **
  • Posts: 1,783
  • Kudos: 982
Re: A small problem with open source
« Reply #3 on: 8 August 2006, 06:16 »
Quote from: worker201
One program I attempted to install once was just plain strangely written.  It had all these includes and ifnotdefined statements about include files that were provided by the package itself!  That was a royal pain to fix.  I think it was one of the type libraries, like freetype or gettext or something like that.

 Sounds an awful lot like forcing the ATi properitaries to work on x86-64 (which I still haven't managed.  Phooey.)

Proudly posted from a Gentoo Linux system.

Quote from: Calum
even if you're renting you've got more rights than if you're using windows.

System Vitals