Author Topic: [fixed] r4514: Problem when running setupBuildDeps.sh  (Read 716 times)

ideamelon

  • Guest
Hello all,
These days I'm trying compiling MegaGlest, but get stucked by running setupBuildDeps.sh

The console output is:
Code: [Select]
=================================
Unsupported Linux distribution.

Please report a bug at http://bugs.megaglest.org providing the following information:
--- snip ---
SVN version:  4514
LSB support:  0
Distribution: Redhat
Release:      unknown release version
Codename:     Fedora release 18 (Spherical Cow)
Architecture: x86_64
--- snip ---

For now, you may want to take a look at the build hints on the MegaGlest wiki at http://wiki.megaglest.org/
If you can come up with something which works for you, please report back to us, too. Thanks!
=================================

After that I've read the content of the sh-file, and found:
1. line 36 and 37:
Code: [Select]
   if [ -e /etc/fedora-release ];   then distribution='Fedora';   release='unknown release version'; codename=`cat /etc/fedora-release`;   fi
   if [ -e /etc/redhat-release ];   then distribution='Redhat';   release='unknown release version'; codename=`cat /etc/redhat-release`;   fi
in my system(fedora 18 x86_64, don't have lsb_release), there is not only an /etc/fedora-release, but also an /etc/redhat-release. As a result, I think, after these two lines are executed, the distribution will be "Redhat".

2. line 266:
"Redhat" is commented. So I think this might be the reason that I've got an error report.

3. I'm trying run the command in line 250 directly. However yum reports that it cannot find packages named "libxml2-dev" and "libircclient-dev".
So I've tried "libxml2-devel" and "libircclient-devel".
And luckily it works.

So actually  the problems might have already been solved, but I think the "setupBuildDeps.sh" should be modified to meet the needs of new version of Fedora.

Thanks for taking time to read the report.

Greetings
Ideamelon
« Last Edit: 6 July 2013, 13:13:13 by tomreyn »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Problem when running setupBuildDeps.sh
« Reply #1 on: 5 July 2013, 16:34:42 »
Thanks for an excellent bug report. This should be fixed in r4517 on svn. To get LSB support, installing the lsb* packages should suffice.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·