Distro / IDE suggestions for Mesa/OpenGL experimenting?

Started by
20 comments, last by ZYirAH 21 years, 1 month ago
I didn''t have any problems installing Anjuta 1.0 on my Mandrake 9.0 distro at all. However, while it worked with RPM package, it didn''t install from the tarball (and I can''t recall anymore what the missing dependencies were).

-vic-
Basically all distro''s suffer from dependency hell except for two...Debian and Gentoo. Debian uses a package system called DEB and uses a system called apt-get to help retrieve and install and dependencies. Gentoo borrowed a concept from BSD called Ports and it''s packaging system is called Portage. Essentially the "packages" are source, but Portage uses "ebuild" scripts which not only install the package for you, but also gets all dependencies for you and will also install extra features for you (sort of like having some built in ./configure --options pre-scripted for you).

I do have a question about Mesa/OpenGL/Glut....since my video card is a Radeon 8500, and Xfree 4.2.0 does not have 3d support for this card, when I finally upgrade to 4.3.0 which does have 3d support via DRI, how do I get Mesa up and running with it? I figure I have to set up the Mesa libraries so that DRI can use it, but how do I that...just set up some symbolic links and run ldconfig?
The world has achieved brilliance without wisdom, power without conscience. Ours is a world of nuclear giants and ethical infants. We know more about war than we know about peace, more about killing than we know about living. We have grasped the mystery of the atom and rejected the Sermon on the Mount." - General Omar Bradley
Advertisement
Maybe this is heresy, but I just can''t get used to either vi or emacs. Cooledit seems okay as does jed, but really, I haven''t found any pure linux text editors that I like.

Which is why it''s all the more embarrassing that the editor I''ve gotten most comfy with so far is jEdit. Don''t ask me why. I guess I got used to it after trying to find a simple editor with a few nifty plugins. It''s not really that powerful, though it does have some useful macros, search functions, and decent bookmarking capabilities. The biggest disadvantage though is that it''s a memory hog (what java app isn''t?). And speed-wise, sometimes it does choke when you ask it to do certain things.

But it''s pretty, it has most of the features I like and even has built in Python shell, and several Java utilities. I also use it for XML/XSLT work, since it has a XML tree plugin and an XSLT tool as well. I know emacs is powerful as hell, and vi is a speed demon, but somehow I just can''t bring myself to work in them.

As for IDE''s, I prefer Anjuta, though Kdevelop isn''t bad either.
The world has achieved brilliance without wisdom, power without conscience. Ours is a world of nuclear giants and ethical infants. We know more about war than we know about peace, more about killing than we know about living. We have grasped the mystery of the atom and rejected the Sermon on the Mount." - General Omar Bradley
quote:Original post by -vic-

I''ve never used Mandrake, but ppl says it''s good, and i''m curious about one thine: does it suffers from dependency hell too (like RedHat does)?

Victor.



All distros, except the Gentoo, Debian, Mandrake, RedHat 7.3 and up, and FreeBSD, suffer from dependency hell as you refer to it but it''s not that complicated to resolve. As for Mandrake, most of the dependencies are resolved if you use "urpmi" which is also part of Redhat as of 7.3 and up( at least, those are the ones where I''ve found and used it before ).



[Cyberdrek | the last true sorcerer | Spirit Mage - mutedfaith.com][ Administrator TheLinuxForum.tk]
[Cyberdrek | ]
quote:Original post by ZYirAH
Null and Void-- Thanks, that helps clear it up. So basically I just need to make sure the GLUT packages get installed while installing Linux right? I''m interested in messing around with hardware accelerated OpenGL. I''ve read something about dependencies on X11 for this? Is that just another package that I should make sure gets installed with Linux? Thanks, as you can tell I''m pretty new to this. I''m taking this one step at a time. I just want to get my environment set up to the point where I can compile some OpenGL sample code under Linux then I can start working from there.

BradDaBug-- Thanks for the clarification on Anjuta. Will I be ''missing out on anything'' by using the 7.x RPMs without Glibc 2.3 ?


The best way to start is by learning how linux works, then you can get around to learning how to setup Mega/GLUT using an IDE or just plain old VI for that matter. For that, you can do a search in your favorite search engine for HOWTO, this should bring you to a great deal of Linux HowTos which explain in pretty good details how to get things done.


As far as Glibc 2.3 goes, you''ll be sure to have a glibc, might not be 2.3 but you''ll have one as it is a required lib when using GCC.

I really recommend that you get a good book on Linux Programming to help get you started. Also maybe a book for Linux newbies to help out, if you get stuck. Not that linux is really complicated but just to help you understand the system a bit.



[Cyberdrek | the last true sorcerer | Spirit Mage - mutedfaith.com][ Administrator TheLinuxForum.tk]
[Cyberdrek | ]
quote:Original post by BradDaBug
And Mandrake suffers from the same dependency hell that Red Hat does, since they both use the RPM system for managing packages. Not that Dependency Hell is something you''re constantly in, only when you need to install anything.


True but false. As of Mandrake 7.x and Red Hat 7.1( and up ), URPMI is installed and usually works for solving dependencies. Although, the one in Mandrake versions 7.x was a bit of an *ss, it has been solved in later versions.

[Cyberdrek | the last true sorcerer | Spirit Mage - mutedfaith.com][ Administrator TheLinuxForum.tk]
[Cyberdrek | ]
quote:Original post by Staffan
Go the hardcore way Slackware. Use ed for writing code, hehe

Seriously though, Slackware is the distro that suits me best. Try it on. It comes with less crap, no RPM-shit, better (IMO) organized init scripts, etc.

And on top of that I just use some text-editor (be it jed, emacs or vi) and make or the automake/autoconf/etc-suit.

Besides, installing programs from source tarballs seems easier than fiddling with those rpms... just untar it, ./configure it, make and make install (... or you just have to try to decipher the INSTALL/README file and pass ten different cryptic flags to ./configure). Uninstalling programs are, well, sometimes worse.


FYI, the hardcore way as you call it, is dead. Slackware is much more easier to use than when I first got it. ( around version 1.x or something like that ). Oh and for your information, it has just as much crap as all other distros you just get a better util to select which you want installed and which you don''t want. And RPM can also be installed on Slack also.

As for packages, RPMS are way easier to use, even if sometimes they are a pain. rpm -ivh blah.rpm to install and that''s it( no messing around with configure scripts or having to compile ). Although, I personally prefer tarballs myself, most users will prefer rpms. As for Slackware, it''s not the only one. If you want a distro that''s even better organised than that, get SoL. Every config( for most services and some apps) file is XML based.

Now, concerning what you use to code, I believe, the question was about IDEs, not editors and not about make or autoconf and that suite.

[Cyberdrek | the last true sorcerer | Spirit Mage - mutedfaith.com][ Administrator TheLinuxForum.tk]
[Cyberdrek | ]
quote:Original post by Staffan
Go the hardcore way Slackware. Use ed for writing code, hehe

Seriously though, Slackware is the distro that suits me best. Try it on. It comes with less crap, no RPM-shit, better (IMO) organized init scripts, etc.

And on top of that I just use some text-editor (be it jed, emacs or vi) and make or the automake/autoconf/etc-suit.

Besides, installing programs from source tarballs seems easier than fiddling with those rpms... just untar it, ./configure it, make and make install (... or you just have to try to decipher the INSTALL/README file and pass ten different cryptic flags to ./configure). Uninstalling programs are, well, sometimes worse.


FYI, the hardcore way as you call it, is dead. Slackware is much more easier to use than when I first got it. ( around version 1.x or something like that ). Oh and for your information, it has just as much crap as all other distros you just get a better util to select which you want installed and which you don''t want. And RPM can also be installed on Slack also.

As for packages, RPMS are way easier to use, even if sometimes they are a pain. rpm -ivh blah.rpm to install and that''s it( no messing around with configure scripts or having to compile ). Although, I personally prefer tarballs myself, most users will prefer rpms. As for Slackware, it''s not the only one. If you want a distro that''s even better organised than that, get SoL. Every config( for most services and some apps) file is XML based.

Now, concerning what you use to code, I believe, the question was about IDEs, not editors and not about make or autoconf and that suite.

[Cyberdrek | the last true sorcerer | Spirit Mage - mutedfaith.com][ Administrator TheLinuxForum.tk]
[Cyberdrek | ]
Thanks everyone for the suggestions and help.

Cyberdrek-- I agree the best starting point is getting used to the Linux itself. I''m trying to do that indirectly by taking on this ''project''. It''s a ''holistic'' approach. I''m keeping it light but with a general focus of playing with OpenGL eventually.

Progress so far: I wiped my laptop and put Mandrake on it (and XP). There''s a GF4 mobile in the laptop so I had to look around to find out how to get X to agree with the card. After searching around I learned how to wget the kernel and glx from NVIDIA and set them up so I can now run X with Gnome (I''m happy with my progress ). I installed Anjuta and managed to create, compile, and run a terminal app (hello world). So that''s cool.

Now it seems I need ?Glade? installed / configured to be able to make Gnome applications. So I''m searching around to see how exactly I do that. It''ll probably be quite a while before I try to figure out exactly how to install / configure GLUT and / or Mesa. I''m taking this one step at a time.

Thanks again for the suggestions and thoughts, it''s been helpful.
quote:Original post by ZYirAH
Now it seems I need ?Glade? installed / configured to be able to make Gnome applications.

You don''t need Glade to make Gnome applications, but it does help a lot. You''ll still need to know a little about GTK+ and related libraries to do anything moderately complex.

quote:Original post by ZYirAH
It''ll probably be quite a while before I try to figure out exactly how to install / configure GLUT and / or Mesa.

You said you''ve installed the closed NVidia drivers. If you''ve done this, you do not need to really do anything with Mesa (NVidia provides its own OpenGL implementation as part of their GLX package since they don''t want to interact with DRI for whatever reason).

You might need to get OpenGL headers if you don''t already have them though (a ''mesa-dev'' type package; for example: Debian calls this xlibmesa-gl-dev).

Random Note: the 2D acceleration of NVidia''s closed drivers is somewhat broken in the current 4xxx releases (the 3xxx releases were okay). If you have general graphical problems, blame the NVidia drivers .

quote:Original post by Null and Void
You might need to get OpenGL headers if you don't already have them though (a 'mesa-dev' type package; for example: Debian calls this xlibmesa-gl-dev).

Ahh, much appreciated. Would this be a package I would search for on Mandrake sites, or OpenGL sites, or from Nvidia themselves? **EDIT: Never mind. Dumb question. I'm thinking windows. I found and installed mesa and glut dev headers with rpm drake. This is pretty cool. Now I just have to figure out how to link the libraries into a project in Anjuta. **EDIT2: done, found the headers and libs in /usr/X11R6/ , which makes sense. Just gotta look for a piece of sample code that uses glut, opengl, mesa or whatever and if it compiles I might just be on my way. *crosses fingers*

quote:Original post by Null and Void
Random Note: the 2D acceleration of NVidia's closed drivers is somewhat broken in the current 4xxx releases (the 3xxx releases were okay).

That's good to know. I was wondering if it was my imagination that 2D visuals were choppy looking. Thanks, maybe I'll try 3x and compare.


[edited by - ZYirAh on March 9, 2003 7:01:26 PM]

[edited by - ZYirAH on March 9, 2003 7:47:52 PM]

This topic is closed to new replies.

Advertisement