Hello, we apologize but forum registrations are non-functional at this time. This issue should be fixed around mid-December. Until then, please stop by our Discord channel if you'd like to get in touch with the team. Thanks!

How do I compile the game without compiling the editor ?

For those having trouble installing/running the game or to report a bug

Moderator: Staff

Post Reply
shirish
Member
Posts: 72
Joined: Thu Oct 16, 2008 2:07 pm

How do I compile the game without compiling the editor ?

Post by shirish » Mon Jan 07, 2013 10:35 am

Hi all,
Saw allacrost has started development again and tried to have a go at it. Failed at the ./configure stage. This is on a 64-bit debian system.

Code: Select all

~/games/allacrost$ autoreconf -i
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
Makefile.am:322: `:='-style assignments are not portable
Makefile.am:325: `%'-style pattern rules are a GNU make extension

 ~/games/allacrost$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable -O3 compiler optimization... yes
checking whether to enable debugging... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to enable usage of map editor... yes
checking for Qt4 headers... /usr/include/qt4
checking for Qt4 libraries... no
configure: error: in `/home/shirish/games/allacrost':
configure: error: Qt4 development libraries not found
See `config.log' for more details
I tried to see both INSTALL and README to see if either has solution to my problem but couldn't be wiser by either.

I do have libqt4-dev installed so don't know what the issue is :-

Code: Select all

~/games/allacrost$ dpkg -l libqt4-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version          Architecture     Description
+++-=======================-================-================-===================================================
ii  libqt4-dev              4:4.8.2+dfsg-6   amd64            Qt 4 development files
So I see two ways for this :-

a. Share how do I compile without the editor which means doing something with ./configure line so it doesn't do that.
b. Giving which libraries of qt4 are needed at the very least so it can be done.

Please give the documentation either in the README or INSTALL . Just telling :-

In README last line

Code: Select all

Qt 4+ (only if you wish to compile the map editor)
doesn't tell what to do in case you don't/can't compile the editor.

Looking forward to answer.

Edit:- Just saw the same issue by another person, the shortcut for now is './configure --disable-editor ' , can somebody put it up on the README.
Intel i5-7400, Asus Z270-P, 8 GB DDR4 2400 RAM, D-Link 502-T router, 64-bit Debian Buster, MATE 1.18 ,
rujasu
Developer
Posts: 758
Joined: Sat Feb 24, 2007 10:40 pm
Location: Maryland, USA

Re: How do I compile the game without compiling the editor ?

Post by rujasu » Mon Jan 07, 2013 10:44 am

shirish wrote:I tried to see both INSTALL and README to see if either has solution to my problem but couldn't be wiser by either.

I do have libqt4-dev installed so don't know what the issue is :-p
Hi!

In addition to qt4-dev, you'll need qt4opengl-dev. I'm guessing that's the issue, but let us know if it's still giving you trouble.

If that doesn't work, you can get the game compiled by itself by using:

Code: Select all

./configure --disable-editor
Hope that helps. Thanks.
shirish
Member
Posts: 72
Joined: Thu Oct 16, 2008 2:07 pm

Re: How do I compile the game without compiling the editor ?

Post by shirish » Mon Jan 07, 2013 11:07 am

rujasu wrote:
shirish wrote:I tried to see both INSTALL and README to see if either has solution to my problem but couldn't be wiser by either.

I do have libqt4-dev installed so don't know what the issue is :-p
Hi!

In addition to qt4-dev, you'll need qt4opengl-dev. I'm guessing that's the issue, but let us know if it's still giving you trouble.

If that doesn't work, you can get the game compiled by itself by using:

Code: Select all

./configure --disable-editor
Hope that helps. Thanks.
Actually I had found that but still thanx for sharing the code as well.

Btw I have qt4opengl-dev . See :-

Code: Select all

$ dpkg -l libqt4-opengl-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version          Architecture     Description
+++-=======================-================-================-===================================================
ii  libqt4-opengl-dev       4:4.8.2+dfsg-6   amd64            Qt 4 OpenGL library development files
Still no go. I am doing the --disable-editor for now and got it compiled and running.
Intel i5-7400, Asus Z270-P, 8 GB DDR4 2400 RAM, D-Link 502-T router, 64-bit Debian Buster, MATE 1.18 ,
User avatar
Roots
Dictator
Posts: 8669
Joined: Wed Jun 16, 2004 12:07 pm
Location: Austin TX
Contact:

Re: How do I compile the game without compiling the editor ?

Post by Roots » Mon Jan 07, 2013 11:10 am

This information is on our wiki. I just added this page a couple days ago: http://www.allacrost.org/wiki/index.php ... structions


Also make sure you have the latest checkout from SVN of course. I had issues with the editor too a few weeks ago and had to disable it for compiling temporarily while we worked on a fix. Info on that is in this thread:
http://www.allacrost.org/forum/viewtopic.php?f=3&t=7097


Sorry that the README/INSTALL file didn't contain the information that you need. There's always a ton of things out of date and it's really difficult to stay on top of everything. I've been putting in a lot of time in updating the content on the wiki, but I can't be everywhere. :axe:
Image
shirish
Member
Posts: 72
Joined: Thu Oct 16, 2008 2:07 pm

Re: How do I compile the game without compiling the editor ?

Post by shirish » Mon Jan 07, 2013 12:02 pm

Roots wrote:This information is on our wiki. I just added this page a couple days ago: http://www.allacrost.org/wiki/index.php ... structions


Also make sure you have the latest checkout from SVN of course. I had issues with the editor too a few weeks ago and had to disable it for compiling temporarily while we worked on a fix. Info on that is in this thread:
http://www.allacrost.org/forum/viewtopic.php?f=3&t=7097


Sorry that the README/INSTALL file didn't contain the information that you need. There's always a ton of things out of date and it's really difficult to stay on top of everything. I've been putting in a lot of time in updating the content on the wiki, but I can't be everywhere. :axe:
I did the latest checkout and then tried to compile. Latest svn 2040 . I didn't just mean you Roots, I meant in general. I don't want commit access but if you need a helping hand can add that to the README or INSTALL and you can commit.
Intel i5-7400, Asus Z270-P, 8 GB DDR4 2400 RAM, D-Link 502-T router, 64-bit Debian Buster, MATE 1.18 ,
Post Reply