Jump to content
The Dark Mod Forums

Can't compile on linux


Recommended Posts

make[3]: Entering directory `/home/te/src/darkradiant/libs/math'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../libs  -DRADIANT_USE_GLSL  -DPOSIX -fPIC -g -O2 -g -O2 -Wall -Wno-unused-variable -MT matrix.lo -MD -MP -MF .deps/matrix.Tpo -c -o matrix.lo matrix.cpp
../../libtool: line 467: CDPATH: command not found
../../libtool: line 1145: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6 Debian-2.2.6a-1ubuntu1, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 Debian-2.2.6a-1ubuntu1
libtool: and run autoconf again.
make[3]: *** [matrix.lo] Error 63
make[3]: Leaving directory `/home/te/src/darkradiant/libs/math'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/te/src/darkradiant/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/te/src/darkradiant'
make: *** [all] Error 2

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Have you tried with a fresh checkout? Sometimes I have to recreate the build scripts on a different computer to the one I used last time, and the build system can get wedged until you start again with a clean working copy.

Link to comment
Share on other sites

Have you tried with a fresh checkout? Sometimes I have to recreate the build scripts on a different computer to the one I used last time, and the build system can get wedged until you start again with a clean working copy.

 

Er no, and I don't have time to wait for a complete checkout, sorry. Is there any other way, like make clean or rerunning configure or something?

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Er no, and I don't have time to wait for a complete checkout, sorry. Is there any other way, like make clean or rerunning configure or something?

 

You can try various iterations of make clean, aclocal, autoconf and automake --foreign and ./configure if you like, but I have been in situations where I couldn't get anything to work and the only way was with a clean tree.

Link to comment
Share on other sites

  • 1 month later...

I don't understand it myself; he doesn't say which version of Ubuntu he's using, but the package was compiled against all versions from G to J so unless he's using K I don't see how the package could not show up or the dependencies would not be satisfiable.

Link to comment
Share on other sites

  • 5 months later...

Today I couldn't start DR on my 64bit Kubuntu Karmin anymore. Something about GLEW library, but between yesterday and today I didn't update or change anything. *sigh*

 

So I deinstalled it, and then wanted to reinstall it, but there seems to be no 64bit version for Karmic on bloodgate.com. Onto to compile it, then. Well, after hunting downa few dozend packages to install, it still runs into this error:

 

mv -f .deps/darkradiant-ModelPropertyEditor.Tpo .deps/darkradiant-ModelPropertyEditor.Po
make[2]: *** No rule to make target `ui/einspector/SoundChooser.cpp', needed by `darkradiant-SoundChooser.o'.  Stop.
make[2]: Leaving directory `/home/te/src/darkmod/darkradiant/radiant'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/te/src/darkmod/darkradiant'
make: *** [all] Error 2

 

Is there a way around, or could some kind soul please provide me with a 64bit version for Karmic Ubuntu?

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Hm, looking at:

 

http://bloodgate.com/mirrors/tdm/pub/packages/pool/main/

 

I see no karmic at all, and the latest is 10.0.1. Since I can't seem to compile DR for linux, could somebody please do so?

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

I've updated the build scripts and fixed a compilation issue on Linux, so you should be able to compile now.

 

Thanx, but ater letting SVN override the radiant/Makefile.in file, rerunning ./configure and the make, I still get this:

 

Making all in radiant
make[2]: Entering directory `/home/te/src/darkmod/darkradiant/radiant'
make[2]: *** No rule to make target `ui/einspector/SoundChooser.cpp', needed by `darkradiant-SoundChooser.o'.  Stop.
make[2]: Leaving directory `/home/te/src/darkmod/darkradiant/radiant'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/te/src/darkmod/darkradiant'
make: *** [all] Error 2

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Looks like you have an out-of-date Makefile of some sort, the SoundChooser.cpp file is now in ui/common.

 

Do you have any local modifications to radiant/Makefile or radiant/Makefile.{in,am} (this would happen if you have run automake locally)? If so, please revert them before trying again.

Link to comment
Share on other sites

Looks like you have an out-of-date Makefile of some sort, the SoundChooser.cpp file is now in ui/common.

 

Do you have any local modifications to radiant/Makefile or radiant/Makefile.{in,am} (this would happen if you have run automake locally)? If so, please revert them before trying again.

 

Hm, I don't seem to have any modified files locally:

 

te@te-laptop:~/src/darkradiant$ svn status

? build-stamp

? install.txt

? config.log

? config.h

? backup.sh

? memory.txt

? config.status

? stamp-h1

? autom4te.cache

? libtool

? radiant/darkradiant

? debian/darkradiant.substvars

? debian/darkradiant-plugins-darkmod

? debian/darkradiant

? debian/darkradiant.postinst.debhelper

? debian/darkradiant.postrm.debhelper

? debian/tmp

? debian/files

? debian/darkradiant-plugins-darkmod.substvars

? install/darkradiant.desktop

 

Would running automake (however it is called) help? With what parameters?

 

Edit: Tried removing config.h, config.cache, autom4te.cache etc and rerunnning

 

./configure --enable-darkmod-plugins; make

 

after the latest SVN update, lets hope it works this time :)

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Er, no:

 

make[2]: *** No rule to make target `ui/einspector/SoundChooser.cpp', needed by `darkradiant-SoundChooser.o'.  Stop.
make[2]: Leaving directory `/home/te/src/darkradiant/radiant'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/te/src/darkradiant'
make: *** [all] Error 2

 

I don't get it, the makefile all seems to contain the correct "ui/common", the "ui/einspector" I cannot find at all. Huh?

 

 

Meh, there was a radiant/.debs directory containing it... Shouldn't that be cleared before a config run automatically?

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Hm, now I get a different error:

 

darkradiant-PatchModule.o: In function `CommonPatchCreator::Patch_getShader(boost::shared_ptr<scene::INode>) const':
/home/te/src/darkradiant/radiant/patch/PatchCreators.h:50: undefined reference to `Patch::GetShader() const'
darkradiant-PatchModule.o: In function `Patch::constructStatic(EPatchType)':
/home/te/src/darkradiant/radiant/patch/Patch.h:365: undefined reference to `Patch::m_type'
collect2: ld returned 1 exit status
make[2]: *** [darkradiant] Error 1
make[2]: Leaving directory `/home/te/src/darkradiant/radiant'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/te/src/darkradiant'
make: *** [all] Error 2

 

Gonna try "make clean" next - should have thought about that before. *sigh* I get old... (and my laptop hot form the many recompiles :)

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

You can get back to a "clean" state by using the following command in the darkradiant directory:

 

$ svn status | awk '/^\?/ { print $2; }' | xargs rm -r

 

You shouldn't need to run automake at all to build the software, since the configure scripts use the already-generated Makefile.in files.

Link to comment
Share on other sites

You can get back to a "clean" state by using the following command in the darkradiant directory:

 

$ svn status | awk '/^\?/ { print $2; }' | xargs rm -r

 

You shouldn't need to run automake at all to build the software, since the configure scripts use the already-generated Makefile.in files.

 

Nevermind, the "make clean" followed by a configure and make solved the problem. I feal really stupid now :(

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

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

    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 3 replies
    • 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.
      · 7 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
×
×
  • Create New...