FTBFS on Ubuntu

Bug #190455 reported by Guillaume Martres
2
Affects Status Importance Assigned to Milestone
Extreme Tux Racer
Fix Committed
Undecided
Paweł Drewniak

Bug Description

Extreme Tux Racer doesn't build on Ubuntu(confirmed on 7.10 and 8.04).
The error is here:
"./etracer.h:118:17: error: tcl.h: No such file or directory"
I've made a patch for the Ubuntu package which fix the location of the tcl.h file.

Tags: patch
Revision history for this message
Guillaume Martres (smarter) wrote :
Revision history for this message
Paweł Drewniak (woody) wrote :

AFAIK, this was changed intentionally - please see http://extremetuxracer.svn.sourceforge.net/viewvc/extremetuxracer/trunk/extreme-tuxracer/src/etracer.h?view=log
Additionaly, in a Wiki article concerning compiling it is stated that one should use "./configure --with-tcl-inc=/usr/include/tcl8.4".

Revision history for this message
Steven Bell (botsnlinux) wrote :

I think the patch is a good fix, because ideally a user would not have to specify arguments to configure to get it to work.
However, we need to check that it doesn't break things on other distros or OSes.

Revision history for this message
Guillaume Martres (smarter) wrote :

@Pawel: thanks for the tip, this option is not documented anywhere, I think it should be in the README or INSTALL files, and it should have sane defaults(does anyone know of a system where tcl.h is in /usr/include?) or the configure could autodetect it.

Revision history for this message
Paweł Drewniak (woody) wrote :

I've done a little investigation and it seems that:

/usr/include/ is commonly used in RPM-based distros (Fedore, SuSE, Mandriva)
/usr/include/tcl8.4 is used in DEB-based ones (Debian, .Ubuntu)

Furthermore, it turned out that we had a bug in configure.ac that prevented correct inclusion of tcl.h
It is now fixed in SVN.

Changed in etracer:
assignee: nobody → woodypl
status: New → Fix Committed
papukaija (papukaija)
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.