Author Topic: CB * svn: 4298 ) compile failed on CentOS 5.  (Read 4634 times)

Offline Dimitrios Chr. Ioannidis

  • Multiple posting newcomer
  • *
  • Posts: 13
    • Firebird - The RDBMS that's going where you're going
CB * svn: 4298 ) compile failed on CentOS 5.
« on: July 23, 2007, 03:13:15 pm »
Hi all,

  OS: CentOS 5
  gcc: g++ (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)
  wxWidgets : 2.6.4 ( is the support for 2.6.4 stopped ? )

Code
make[4]: Leaving directory `/home/dimitris/Codeblocks/trunk/src/plugins/compilergcc/resources'
make[4]: Entering directory `/home/dimitris/Codeblocks/trunk/src/plugins/compilergcc'
if /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/opt/wx264/lib/wx/include/gtk2-unicode-release-2.6 -I/opt/wx264/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -I../../../src/include -I../../../src/include/wxscintilla/include -I../../../src/include/scripting/include -I../../../src/include/scripting/sqplus -I../../../src/plugins/compilergcc/depslib/src  -Ulinux -Uunix -DDEPSLIB_UNIX -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT compilergcc.lo -MD -MP -MF ".deps/compilergcc.Tpo" -c -o compilergcc.lo compilergcc.cpp; \
        then mv -f ".deps/compilergcc.Tpo" ".deps/compilergcc.Plo"; else rm -f ".deps/compilergcc.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/opt/wx264/lib/wx/include/gtk2-unicode-release-2.6 -I/opt/wx264/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../src/include -I../../../src/include/wxscintilla/include -I../../../src/include/scripting/include -I../../../src/include/scripting/sqplus -I../../../src/plugins/compilergcc/depslib/src -Ulinux -Uunix -DDEPSLIB_UNIX -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT compilergcc.lo -MD -MP -MF .deps/compilergcc.Tpo -c compilergcc.cpp  -fPIC -DPIC -o .libs/compilergcc.o
compilergcc.cpp: In member function 'void CompilerGCC::SetEnvironmentForCompiler(const wxString&, wxString&)':
compilergcc.cpp:804: error: 'class wxPathList' has no member named 'Index'
compilergcc.cpp:814: error: 'class wxPathList' has no member named 'Index'
compilergcc.cpp:819: error: 'class wxPathList' has no member named 'Index'
make[4]: *** [compilergcc.lo] Error 1
make[4]: Leaving directory `/home/dimitris/Codeblocks/trunk/src/plugins/compilergcc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dimitris/Codeblocks/trunk/src/plugins/compilergcc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dimitris/Codeblocks/trunk/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dimitris/Codeblocks/trunk/src'
make: *** [all-recursive] Error 1
--- The distance between insanity and genius is measured only by success. ---

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: CB * svn: 4298 ) compile failed on CentOS 5.
« Reply #1 on: July 23, 2007, 03:19:42 pm »
the error is due to wx264.
Other similar calls like the one breaking your build have been protected to ony be used whenbuilding with wx28x, but todays adjustments didn't take that into account.
@Biplab : can you adjust so it's also wx28x only used like the other uses in that file ?

However, we are getting very close to dumping wx26x though !
Near future !

If you can try to upgrade your system to wx284.

Cheers,
Lieven

Offline Dimitrios Chr. Ioannidis

  • Multiple posting newcomer
  • *
  • Posts: 13
    • Firebird - The RDBMS that's going where you're going
Re: CB * svn: 4298 ) compile failed on CentOS 5.
« Reply #2 on: July 23, 2007, 03:27:22 pm »
However, we are getting very close to dumping wx26x though !
Near future !

If you can try to upgrade your system to wx284.

No problem and thx for the verification reg. wx 2.6.4 support ....

regards,
--- The distance between insanity and genius is measured only by success. ---

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: CB * svn: 4298 ) compile failed on CentOS 5.
« Reply #3 on: July 23, 2007, 03:40:16 pm »
However, we are getting very close to dumping wx26x though !
Near future !
That's one of the reason I have dropped wx26 today, too. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: CB * svn: 4298 ) compile failed on CentOS 5.
« Reply #4 on: July 23, 2007, 03:46:31 pm »
And now that Morton also switched, we just have to switch ;-)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: CB * svn: 4298 ) compile failed on CentOS 5.
« Reply #5 on: July 23, 2007, 03:52:48 pm »
And now that Morton also switched, we just have to switch ;-)
BTW: This would mean a big clean-up party. Just have a look at all those wxVersion and (int)GetCount() casts around... Hehe... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: CB * svn: 4298 ) compile failed on CentOS 5.
« Reply #6 on: July 23, 2007, 04:03:33 pm »
@Biplab : can you adjust so it's also wx28x only used like the other uses in that file ?

I forgot to wrap that.  :roll:

Give me some time. I'll wrap it. :)

@ALL,

Please note that the improvement made in that revision will not be available with wx2.6. There is no straight-forward way to fix that problem with wx-2.6. So if you are using wx-2.6, then you have to live with this little bug. :)
« Last Edit: July 23, 2007, 04:05:20 pm by Biplab »
Be a part of the solution, not a part of the problem.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: CB * svn: 4298 ) compile failed on CentOS 5.
« Reply #7 on: July 23, 2007, 04:35:00 pm »
Fixed in rev 4299. :)
Be a part of the solution, not a part of the problem.