[Date Prev][Date Next] [Chronological] [Thread] [Top]

[CTSim-Users] Install Problem with CTSim 4.5.3



On Tue, 2007-08-07 at 11:44 +0200, Leif Adelow wrote:
> What version of autoconf are you using? Seems as if  HAVE_WXWINDOWS never 
> gets set (see snipped from sqp.h below)!

.. rpm -q autoconf gcc
autoconf-2.59-12.noarch
gcc-4.1.1-52.el5.2.x86_64

> I used GNU Autoconf 2.57 and gcc (GCC) 3.4.2 20041017 for ctsim-4.3.1 and 
> my summed CPPFLAGS (from config.log ) is:
> ##
> CXXFLAGS='-g -O2 -O2 -DNDEBUG -fomit-frame-pointer -Wall -I../include 
> -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES'
> ###
> All this is fetched from `wx-config --cxxflags`  ..

.. grep "^CXXFLAGS=" config.log
CXXFLAGS='-I/opt/sw/wxwidgets-2.8.4/lib/wx/include/x11univ-ansi-release-2.8 -I/opt/sw/wxwidgets-2.8.4/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -O2 -DNDEBUG -fomit-frame-pointer -Wall'

.. wx-config --cxxflags
-I/opt/sw/wxwidgets-2.8.4/lib/wx/include/x11univ-ansi-release-2.8 -I/opt/sw/wxwidgets-2.8.4/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread

We're stuck with using these versions of autoconf and gcc, and the box
is a head-node on a cluster, so we don't really want to install all the
GTK tools.

So perhaps we just need to add -DHAVE_XWINDOWS  (or
-D__HAVE_XWINDOWS__ ?) to our initial definition (before
running ./configure) of CXXFLAGS?  What do you think?

-- 
Graham Jenkins
Senior Software Specialist, E-Research

Email: Graham.Jenkins at its.monash.edu.au
Tel:   +613 9905-5942
Mob:   +614 4850-2491




Please send sugestions and comments to kevin@ctsim.org.