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

[CTSim-Users] Fedora Core 4.


  • Subject: [CTSim-Users] Fedora Core 4.
  • From: iankay at cancerboard.ab.ca (Ian Kay)
  • Date: Fri Aug 19 10:34:43 2005

 
Here's some more info about compiling ctsim on Fedora core 4. 

I've noted a few problems, 
1./ There's a place in ctsim's configure.ac where  libwxgtk-gl-2.4 is
hardcoded.  So using version wxgtk-2.6 is going to cause problems.

2./ As well, `wx-config --cflags` is called in the configure utilities,
but the info doesn't seem to make it into the make files.  The
-I/usr/local/blah/blah/blah doesn't appear when you actually get around
to compiling. I can't figure out quite how that works, so

3./ I manually edited the makefiles and put the proper flags into CFLAGS
and CXXFLAGS.
That resolved the include file problems, but now I get

  g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I.. 
-I/usr/local/include -I/usr/X11R6/include
-DDATADIR="\"/usr/local/share\"" -g -O2 -O2 -DNDEBUG
-fomit-frame-pointer -Wall -I/usr/local/lib/wx/include/gtk-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-MT views.o -MD -MP -MF ".deps/views.Tpo" \ -c -o views.o views.cpp
views.cpp: In member function 'virtual void
PhantomFileView::OnDraw(wxDC*)':
views.cpp:2432: error: variable 'SGPDriver driver' has initializer but
incomplete type
views.cpp:2433: error: variable 'SGP sgp' has initializer but incomplete
type
views.cpp:2435: error: 'C_RED' was not declared in this scope
views.cpp:2436: error: 'const class Phantom' has no member named 'show'

Plus a few more hundred lines of problems.  

4./ I noticed that ctsim-4.3.3 appeared on the 15th of August, so I used
that version for these tests.  (There's nothing in the change log about
differences from 4.3.1 though.) 

5./ I also notice that aclocal-1.7 is used in the do-autoconf script.
The current version is 1.9.  I do have 1.7 installed though.  Do you
think this might be a problem?


Ian Kay, Ph.D. MCCPM   iankay@cancerboard.ab.ca
Medical Physicist, Tom Baker Cancer Centre, 
Asst Prof., Depts of Oncology and Physics & Astronomy, University of
Calgary.
1331 29th St NW, Calgary AB T2N 4N2
403-944-1752  


-----Original Message-----
From: Morgan Hough [mailto:morgan.hough@gmail.com] 
Sent: August 16, 2005 9:16 AM
To: Ian Kay
Cc: ctsim-users@b9.com
Subject: Re: [CTSim-Users] (no subject)

I don't know if this is relevant but I found this link that describes a
similar fc4 issue someone had:

http://sourceforge.net/mailarchive/forum.php?thread_id=7559825&forum_id=
8016

I also see that wxGTK2-devel is not installed as it conflicts with
wxGTK-devel although both binary packages are installed. Might this be
an issue?

Thanks in advance.

Cheers,

-Morgan

On 8/16/05, Morgan Hough <morgan.hough@gmail.com> wrote:
> I have tried rebuilding with the following packages installed:
> 
> 3 mhough@dhania $ yum list compat*
> Setting up repositories
> Reading repository metadata in from local files Installed Packages
> compat-gcc-32.i386                       3.2.3-47.fc4
installed
> compat-gcc-32-c++.i386                   3.2.3-47.fc4
installed
> compat-gcc-32-g77.i386                   3.2.3-47.fc4
installed
> compat-libf2c-32.i386                    3.2.3-47.fc4
installed
> compat-libgcc-296.i386                   2.96-132.fc4
installed
> compat-libstdc++-296.i386                2.96-132.fc4
installed
> compat-libstdc++-33.i386                 3.2.3-47.fc4
installed
> Available Packages
> compat-db.i386                           4.2.52-2               base
> compat-openldap.i386                     2.2.23_2.1.30-5        base
> compat-readline43.i386                   4.3-2                  base
> compat-slang.i386                        1.4.5-10               base
> 
> still no luck with the same error as before.
> 
> g++  -g -O2 -O2 -DNDEBUG -fomit-frame-pointer -Wall
> -I/usr/include/mpi2c++ -I../include -I/usr/lib/wx/include/gtk-2.4 
> -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES

> -L/usr/local/lib -L../libctgraphics -L/usr/X11R6/lib
> -L/usr/X11R6/lib64 -L../libctsupport -L../libctsim -o ctsim  ctsim.o 
> docs.o views.o dialogs.o dlgprojections.o dlgreconstruct.o 
> graph3dview.o tips.o threadrecon.o backgroundmgr.o backgroundsupr.o 
> threadproj.o threadraster.o dlgezplot.o -L../libctgraphics 
> -L../libctsupport -L../libctsim  -lreadline -lncurses -lctsim 
> -lreadline -lncurses -lctgraphics -lXext -lX11 -lXmu -lXt -lGL -lGLU 
> -pthread -lwx_gtk-2.4 -lwx_gtk_gl-2.4 -L/usr/lib -L/usr/X11R6/lib 
> -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 
> -L/usr/lib -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl 
> -pthread -lwx_gtk-2.4 -lctsupport  -lpng -lz -lfftw3 -lm
> backgroundsupr.o(.text+0x59a): In function
`BackgroundSupervisor::start()':
> ../include/timer.h:48: undefined reference to `vtable for Timer'
> collect2: ld returned 1 exit status
> make[2]: *** [ctsim] Error 1
> make[2]: Leaving directory `/tmp/ctsim-4.3.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/ctsim-4.3.1'
> make: *** [all] Error 2
> 
> Any more ideas would be greatly appreciated.
> 
> Cheers,
> 
> -Morgan
> 
> On 8/15/05, Morgan Hough <morgan.hough@gmail.com> wrote:
> > Ian,
> >
> > Thanks for the email. I see the previous email on this now. I am 
> > rebuilding with the compat-32 packages installed.
> >
> > Cheers,
> >
> > -Morgan
> >
> > On 8/15/05, Ian Kay <iankay@cancerboard.ab.ca> wrote:
> > >
> > >
> > > Morgan Hough wrote:
> > >
> > > > Does anyone know why I am getting the following error on fedora 
> > > > core
> > >
> > > > 4,
> > >
> > >
> > >
> > > My first guess has to do with compiler versions.   Check if you
have
> > > installed the packages for backward compatibility with gcc v3.2.
> > >
> > > I believe the packages are called compat-gcc-32, 
> > > compat-gcc-libstdc++,
> > > compat-gcc-32-c++,  and now I see that there's more, which may or 
> > > compat-gcc-32-c++may not be
> > > needed, like compat-libgcc.
> > >
> > > If you have root permission, you can try "yum install 
> > > compat-gcc-32".  It should pick up dependencies as well.
> > >
> > >     Ian Kay, Ph.D. MCCPM   iankay@cancerboard.ab.ca
(403)521-3752
> > > Medical Physicist, Tom Baker Cancer Centre, 1331 29th St NW, 
> > > Calgary AB Canada T2N 4N2 Depts of Oncology and Physics & 
> > > Astronomy, University of Calgary.
> > >
> > >
> > >
> > >  This e-mail and any attachments may contain confidential and 
> > > privileged information. If you are not the intended recipient, 
> > > please notify the sender immediately by return e-mail, delete this

> > > e-mail and destroy any copies. Any dissemination or use of this 
> > > information by a person other than the intended recipient is
unauthorized and may be illegal.
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > CTSim-Users mailing list
> > > CTSim-Users@b9.com
> > > http://lists.b9.com/mailman/listinfo/ctsim-users
> > >
> > >
> > >
> >
>

This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorized and may be illegal.



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