I'm going to have a go at compiling celestia on mandrake cooker.
Already ran into one problem. automake/autoconf
autoconf2.5-2.54-1mdk.noarch.rpm
automake1.6-1.7.1-2mdk.noarch.rpm
don't work. I have to downgrade to the
automake/autoconf on Mandrake 9.0
automake1.6-1.6.3-1mdk
autoconf2.5-2.53-3mdk
Don't have the energy to figure out what is wrong, but wanted to leave
this note for anyone trying to do this.
Compiling on Mandrake Cooker
-
Topic authordrjoe
More Mandrake CVS stuff
Had to create three zero length files for configure
admin/ltmain.sh
admin/config.guess
admin/config.sub
Also had to modify the configure script by hand to get past the Glut test
Had to change the following. Not sure how to modify config script
admin/ltmain.sh
admin/config.guess
admin/config.sub
Also had to modify the configure script by hand to get past the Glut test
Had to change the following. Not sure how to modify config script
Code: Select all
*** configure~ Sun Dec 1 19:30:25 2002
--- configure Sun Dec 1 19:52:49 2002
***************
*** 29295,29301 ****
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-lglut $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
--- 29295,29301 ----
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
! LIBS="-lglut -lXmu -lXt $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
-
Topic authordrjoe
better fix for configure problems Mandrake CVS
The better thing to do is to check for Xmu and Xt which are necessary for GlUt to work
Done configing... Starting to compile.....
Done configing... Starting to compile.....
Code: Select all
--- configure.in.~1.24.~ 2002-11-28 22:51:59.000000000 -0600
+++ configure.in 2002-12-01 20:08:46.000000000 -0600
@@ -236,6 +236,16 @@
dnl Check for GLUT headers first.
AC_CHECK_HEADERS(GL/glut.h,,AC_MSG_ERROR([[No glut.h found. See INSTALL file for details on correcting this problem.]]))
+
+dnl Check for X11 Intrinsics.
+AC_CHECK_LIB(Xt, XtInitialize,,
+ AC_MSG_ERROR(Xt library not found))
+
+
+dnl Check for Xmu
+AC_CHECK_LIB(Xmu, XmuSnprintf,,
+ AC_MSG_ERROR(Xmu library not found))
+
dnl Check for GLUT.
AC_CHECK_LIB(glut, glutKeyboardUpFunc,,
AC_MSG_ERROR(GLUT library version >= 3.7 not found))
-
Topic authordrjoe
Success!!!!
Managed to get it working on Mandrake cooker with the config changes.
There were some include files that I had to add.
Now to start hacking the code.
There were some include files that I had to add.
Now to start hacking the code.
-
- Developer
- Posts: 944
- Joined: 18.07.2002
- With us: 22 years 7 months
- Location: Lyon (France)
More Mandrake CVS stuff
drjoe wrote:Had to create three zero length files for configure
admin/ltmain.sh
admin/config.guess
admin/config.sub
You can run 'libtoolize --force' to create those.
There are problems with the linux version of the latest CVS. You can check out with -D '2002-11-22' to get the latest stable code.
What errors do you get with cooker's automake/autoconf?
--
Christophe