Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Doesn't build with automake 1.12 and later #3538

Closed
wzdev-ci opened this issue Jun 7, 2012 · 14 comments
Closed

Doesn't build with automake 1.12 and later #3538

wzdev-ci opened this issue Jun 7, 2012 · 14 comments

Comments

@wzdev-ci
Copy link
Contributor

wzdev-ci commented Jun 7, 2012

resolution_fixed type_bug | by d537399@...


The game doesn't compile with automake 1.12.1 :

ar cru libquesoglc.a database.o context.o except.o font.o global.o master.o measure.o misc.o oarray.o ocharmap.o ocontext.o ofacedesc.o ofont.o oglyph.o omaster.o render.o scalable.o texture.o transform.o unicode.o 
ranlib libquesoglc.a
make[2]: Leaving directory `/home/matthias/vcs/git/warzone/3rdparty/quesoglc'
Making all in lib/framework
make[2]: Entering directory `/home/matthias/vcs/git/warzone/lib/framework'
make[2]: *** No rule to make target `resource_parser.h', needed by `all'.  Stop.
make[2]: Leaving directory `/home/matthias/vcs/git/warzone/lib/framework'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matthias/vcs/git/warzone'
make: *** [all] Error 2

Issue migrated from trac:3538 at 2022-04-16 09:52:51 -0700

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jun 7, 2012

cybersphinx commented


Relevant change in 1.12:

  • Slightly backward-incompatible change, relevant only for use of Yacc
    with C++: the extensions of the header files produced by the Yacc
    rules are now modelled after the extension of the corresponding
    sources. For example, yacc files named "foo.y++" and "bar.yy" will
    produce header files named "foo.h++" and "bar.hh" respectively, where
    they would have previously produced header files named simply "foo.h"
    and "bar.h". This change offers better compatibility with 'bison -o'.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jun 7, 2012

dak180 edited the issue description

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jun 9, 2012

cybersphinx changed title from doesnt build with automake 1.12.1 to Doesn't build with automake 1.12 and later

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jun 9, 2012

cybersphinx commented


I'd imagine the solution to be some way to define a AUTOMAKE_OLDER_THAN_1.12 that then includes the needed file. Googling didn't turn up anything useful so far though, only a post that gave "just depend on the newest version", which isn't very helpful... Maybe a check in autogen.sh that aborts with 1.12 so at least people know why it fails?

@wzdev-ci
Copy link
Contributor Author

qubodup@... commented


Just in case this is helpful, here is the output of ./autogen.sh, ./configure and make on arch linux 64bit (rolling release).

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Dec 8, 2012

cybersphinx commented


978ed8f1f90544162c327f334bd590cd7b944ce1

@wzdev-ci
Copy link
Contributor Author

vexed commented


Please test the patch in #3887 to see if this works for you.

@wzdev-ci
Copy link
Contributor Author

vexed changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

vexed changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

vexed commented


Fixed in 372eff6693e633e8d0d1d0b8a9ceb996a5c3f49f

@wzdev-ci
Copy link
Contributor Author

dak180 committed [753456]


In Warzone2100/warzone2100@753456e:

#CommitTicketReference repository="" revision="753456eaa4e2268eeac1d9dfab0bf562a5fd32c1"
Eliminate bison/flex dependencies from the mac builds.

References work done in 372eff669.

Refs #3887, #3538, #3950.

@wzdev-ci
Copy link
Contributor Author

vexed commented


Simplify build process by getting rid of bison/flex dependencies.

Fixes both MSVC and autotools (automake 1.12+).

Revert "Abort autogen.sh when automake 1.12+ is found."

This reverts commit 978ed8f1f90544162c327f334bd590cd7b944ce1.
Should now work with automake 1.11+

fixes #3887
fixes #3538
closes #3950

(cherry picked from commit 372eff6693e633e8d0d1d0b8a9ceb996a5c3f49f)

Forgot to push these changes for commit 372eff6693e633e8d0d1d0b8a9ceb996a5c3f49f

(cherry picked from commit e397b24d4724d835d6cdc39a92800e64c0551dab)

Out of tree builds ? Who needs them. :P

refs: 372eff6693e633e8d0d1d0b8a9ceb996a5c3f49f
(cherry picked from commit 20317c2a6f2c700042a727c6d719056ab3c90dcb)

Changeset: d13bc0de7dd0588351af24dc45d55110d0eed6e8

2 similar comments
@wzdev-ci
Copy link
Contributor Author

vexed commented


Simplify build process by getting rid of bison/flex dependencies.

Fixes both MSVC and autotools (automake 1.12+).

Revert "Abort autogen.sh when automake 1.12+ is found."

This reverts commit 978ed8f1f90544162c327f334bd590cd7b944ce1.
Should now work with automake 1.11+

fixes #3887
fixes #3538
closes #3950

(cherry picked from commit 372eff6693e633e8d0d1d0b8a9ceb996a5c3f49f)

Forgot to push these changes for commit 372eff6693e633e8d0d1d0b8a9ceb996a5c3f49f

(cherry picked from commit e397b24d4724d835d6cdc39a92800e64c0551dab)

Out of tree builds ? Who needs them. :P

refs: 372eff6693e633e8d0d1d0b8a9ceb996a5c3f49f
(cherry picked from commit 20317c2a6f2c700042a727c6d719056ab3c90dcb)

Changeset: d13bc0de7dd0588351af24dc45d55110d0eed6e8

@wzdev-ci
Copy link
Contributor Author

vexed commented


Simplify build process by getting rid of bison/flex dependencies.

Fixes both MSVC and autotools (automake 1.12+).

Revert "Abort autogen.sh when automake 1.12+ is found."

This reverts commit 978ed8f1f90544162c327f334bd590cd7b944ce1.
Should now work with automake 1.11+

fixes #3887
fixes #3538
closes #3950

(cherry picked from commit 372eff6693e633e8d0d1d0b8a9ceb996a5c3f49f)

Forgot to push these changes for commit 372eff6693e633e8d0d1d0b8a9ceb996a5c3f49f

(cherry picked from commit e397b24d4724d835d6cdc39a92800e64c0551dab)

Out of tree builds ? Who needs them. :P

refs: 372eff6693e633e8d0d1d0b8a9ceb996a5c3f49f
(cherry picked from commit 20317c2a6f2c700042a727c6d719056ab3c90dcb)

Changeset: d13bc0de7dd0588351af24dc45d55110d0eed6e8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant