Jump to content
The Dark Mod Forums

DR source can't find GL


PranQster

Recommended Posts

I previously compiled DR in March, but the current source from svn gives the following when running './configure'

 

 

checking for GLIB... yes

checking for GTK... yes

checking for GTKGLEXT... yes

checking for XML... yes

checking GL/glew.h usability... yes

checking GL/glew.h presence... yes

checking for GL/glew.h... yes

checking for main in -lGLEW... yeschecking for main in -lGL... no

configure: error: GL library not found.

 

 

The devel dependencies are all installed. If it can find GLEW but not GL, then what might be the problem. I have checked /usr/include and found that gl.h is in /usr/include/GL (and so is GL.h). gl.h also exists in /usr/include/nvidia-current.

I have tried both linking and then copying them directly to /usr/include, to no avail. I still get the GL library not found error :(

Edited by PranQster

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

Unfortunately, that did not work. I uninstalled and reinstalled libglew-devel-1.5.2-1mdv2010.1.i586.rpm. Then I tried reinstalling libglew1.5-1.5.2-1mdv2010.1.i586.rpm. Neither made a difference :(

 

 

Edit: Fixed!

I applied a system update which, among 215 packages, included mesa and new nvidia drivers. After rebooting with a new kernel, DR is now compiling. Go figure.

Edited by PranQster

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

What the??? ROFL it's like when I ended up with 1.1.1 AFTER you had released 1.2.0!

 

I got it from SVN here (last night):

 

svn checkout https://darkradiant....nk/darkradiant/ darkradiant

 

Edit: following the https:/ protocol:

/darkradiant.svn.sourceforge.net/svnroot/darkradiant/trunk/darkradiant/

Edited by PranQster

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

That trunk URL is ok. And the working copy is up to date?

 

This file here: https://darkradiant....clude/version.h is definitely showing 1.3.0. Have you tried performing a clean recompile?

 

the version.h included in what I built also says 1.3.0

 

in 'configure' there is this:

 

# Identity of this package.

PACKAGE_NAME='darkradiant'

PACKAGE_TARNAME='darkradiant'

PACKAGE_VERSION='1.2.3'

PACKAGE_STRING='darkradiant 1.2.3'

PACKAGE_BUGREPORT=''

PACKAGE_URL=''

Edited by PranQster

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

Well, there's definitely something not included correctly, or you are linking outdated object files (or your system is completely screwed up). Not much I can do here, I'm afraid, sorry.

 

edit: saw your edit. That might explain where it's coming from. I'll check out the source in the about dialog.

Link to comment
Share on other sites

Maybe I am actually running 1.3.0, but because of the configure script it got identified as 1.2.3 and the same thing happened with version 1.2.0 showing as 1.1.1...?

 

Edit:

While you're at it, any idea why when I go to create a player start position I am required to assign it to a brush? See my other tutorial help request post.

Edited by PranQster

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

Yes, after checking the source, I saw that the PACKAGE_VERSION string is what is compiled when running in Linux. So it's just this configure script which is not in sync, nothing to worry about then.

Link to comment
Share on other sites

I'm going to start over anyway and reacquire it from svn and build it totally fresh. Since I did start this last night and finished it today, after system updates.

 

Edit: Ok, I won't worry about it. I'll probably end up starting from scratch and I'll edit the version in the configure script when I do.

Edited by PranQster

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

I bumped the Linux version to 1.2.3 because the previous Windows release was 1.2.2; I didn't realise there had been a feature increment in the meantime. I guess I should have checked the relevant version.h file first (although it probably makes little sense to have Linux at 1.3.0 if the Windows 1.3.0 isn't complete yet).

Link to comment
Share on other sites

Hm, yes. I usually increase the SVN version to be able to distinguish SVN or "snapshot" builds from actually released ones. Recently, after adding support for internationalization, I figured this would justify a feature increment to 1.3.0 so I just went ahead.

 

I guess it'd have been better practice to leave the development version at 1.2.3 (even if major features like i18n gets implemented) and bump it to 1.3.0 right before going public with a proper release.

Link to comment
Share on other sites

I guess it'd have been better practice to leave the development version at 1.2.3 (even if major features like i18n gets implemented) and bump it to 1.3.0 right before going public with a proper release.

 

I think the more fundamental problem is that I only get round to releasing the DEBs when somebody prods me for them, which means they don't correspond to the versions of the Windows releases. I think in future I will leave the version number the same as the previous Windows release, but append the SVN revision, e.g. "1.2.2-svn5756".

 

Also, I'm not sure why I didn't consider this before, but an Ubuntu PPA (https://help.launchpad.net/Packaging/PPA) would be a much better way of hosting the DEBs than uploading them to Bloodgate via FTP. It looks like Launchpad accepts source packages and automatically builds multiple architectures and distributions from them, which would be a lot more convenient.

Link to comment
Share on other sites

... It looks like Launchpad accepts source packages and automatically builds multiple architectures and distributions from them, which would be a lot more convenient.

 

That would be nice. My distro, Mandriva, uses .rpm which install directly into /usr. Recent fedora and suse .rpm files seem to be doing the same, but some older versions preferred to install into /usr/local or /opt. In any case, if I use an .rpm packaged for either fedora or suse, I am in the habit of using 'rpm2cpio filename.rpm | cpio -idv' to extract the .rpm. I can then manually move the contents to the appropriate path.

So to make a long story short... any .rpm will do ;)

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

When I say "multiple distributions" I mean multiple distributions of Ubuntu, e.g. Karmic, Lucid etc. Launchpad won't build RPMs as far as I know.

 

Somebody did contribute a .spec file for building DR on Fedora which is in the source tree, but I don't use an RPM-based distro so I don't know what sort of state it is in.

Link to comment
Share on other sites

When I say "multiple distributions" I mean multiple distributions of Ubuntu, e.g. Karmic, Lucid etc. Launchpad won't build RPMs as far as I know.

 

Somebody did contribute a .spec file for building DR on Fedora which is in the source tree, but I don't use an RPM-based distro so I don't know what sort of state it is in.

 

Ah, ok. LOL, I keep forgetting that the Linux world revolves around 'buntu.

System: Mageia Linux Cauldron, aka Mageia 8

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 4 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...