News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

The 24 April 2007 build is out.

Started by killerbot, April 24, 2007, 09:46:49 PM

Previous topic - Next topic

kurapix

Hi!

I also have build problems with SVN 3887 under Ubuntu 7.04 with the official Ubuntu packages of libs (wxGTK, ...).

I've typed :

./bootstrap
./configure
make


Then I have this error :

tinystr.cpp:51: error: 'ake' does not name a type
make[3]: *** [tinystr.lo] Error 1
make[3]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src/base/tinyxml »
make[2]: *** [all-recursive] Error 1
make[2]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src/base »
make[1]: *** [all-recursive] Error 1
make[1]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src »
make: *** [all-recursive] Error 1


The complete log :

Making all in src
make[1]: entering directory« /home/kurapix/devel/CodeBlocks/trunk/src »
Making all in base
make[2]: entering directory « /home/kurapix/devel/CodeBlocks/trunk/src/base »
Making all in tinyxml
make[3]: entering directory « /home/kurapix/devel/CodeBlocks/trunk/src/base/tinyxml »
/bin/bash ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -I../../../src/include/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml  -Ulinux -Uunix  -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinystr.lo -MD -MP -MF .deps/tinystr.Tpo -c -o tinystr.lo tinystr.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../src/include/wxscintilla/include -I../../../src/include -I../../../src/include/tinyxml -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT tinystr.lo -MD -MP -MF .deps/tinystr.Tpo -c tinystr.cpp  -fPIC -DPIC -o .libs/tinystr.o
tinystr.cpp:51: error: 'ake' does not name a type
make[3]: *** [tinystr.lo] Error 1
make[3]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src/base/tinyxml »
make[2]: *** [all-recursive] Error 1
make[2]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src/base »
make[1]: *** [all-recursive] Error 1
make[1]: quitting directory « /home/kurapix/devel/CodeBlocks/trunk/src »
make: *** [all-recursive] Error 1


I just can't build Code::Blocks.
Even if I use the .cbp .

Thank you for your answers in advance.

Kurapix
Code::Blocks package building script

Volgovod

BUG: wxSmith does not work.

Ubuntu 7.04 i386, Code::Blocks SVN 3885 (CB_20070424_rev3885_Ubuntu6.xx.deb):

Manager initialized
Scanning for lexers in /usr/share/codeblocks/lexers/...
Found 27 lexers
Configured 0 tools
Scanning for plugins in /home/myname/.codeblocks/share/codeblocks/plugins...
Found 0 plugins
Scanning for plugins in /usr/share/codeblocks/plugins...
ERROR: Invalid manifest file for: wxSmithMime
ERROR: Invalid manifest file for: wxSmith
Found 24 plugins
Loading: FilesExtensionHandler CB_Koders CodeSnippets ClassWizard EnvVars wxSmithContribItems cbDragScroll SymTab Profiler ScriptedWizard ToDoList Autosave HelpPlugin CodeCompletion AStylePlugin Debugger Compiler CodeStat cbKeyBinder RegExTestbed BYOGames lib_finder Exporter
Running startup script
Script/function 'edit_startup_script.script' registered under menu 'Settings/-Edit startup script'

Pecan

Quote from: diilbert on April 25, 2007, 04:12:26 AM
Still build problems with wxGTK 2.8.0.


wx_gtk2u-2.8
gtk 2.10.6
Debian 4.0
Code:Blocks SVN 3887


Here is the new batch of errors from codesnippets.cpp


g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I../../../../src/include -I../../../../src/include/wxscintilla/include -I../../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT codesnippets.lo -MD -MP -MF .deps/codesnippets.Tpo -c codesnippets.cpp  -fPIC -DPIC -o .libs/codesnippets.o
codesnippets.cpp: In member function 'void CodeSnippets::OnTreeCtrlEvent(wxTreeEvent&)':
codesnippets.cpp:854: error: 'GDK_WINDOW_XDISPLAY' was not declared in this scope
codesnippets.cpp:855: error: 'None' was not declared in this scope
codesnippets.cpp:856: error: 'GDK_WINDOW_XID' was not declared in this scope
codesnippets.cpp:858: error: 'XWarpPointer' was not declared in this scope
make[5]: *** [codesnippets.lo] Error 1
make[5]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/codesnippets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/codesnippets'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hillsro/svn/codeblocks/src'
make: *** [all-recursive] Error 1




This might help:
http://forums.next.codeblocks.org/index.php/topic,5754.msg44104.html#msg44104

byo

Quote from: Volgovod on April 25, 2007, 10:25:22 AM
BUG: wxSmith does not work.

Ubuntu 7.04 i386, Code::Blocks SVN 3885 (CB_20070424_rev3885_Ubuntu6.xx.deb):

Manager initialized
Scanning for lexers in /usr/share/codeblocks/lexers/...
Found 27 lexers
Configured 0 tools
Scanning for plugins in /home/myname/.codeblocks/share/codeblocks/plugins...
Found 0 plugins
Scanning for plugins in /usr/share/codeblocks/plugins...
ERROR: Invalid manifest file for: wxSmithMime
ERROR: Invalid manifest file for: wxSmith
Found 24 plugins
Loading: FilesExtensionHandler CB_Koders CodeSnippets ClassWizard EnvVars wxSmithContribItems cbDragScroll SymTab Profiler ScriptedWizard ToDoList Autosave HelpPlugin CodeCompletion AStylePlugin Debugger Compiler CodeStat cbKeyBinder RegExTestbed BYOGames lib_finder Exporter
Running startup script
Script/function 'edit_startup_script.script' registered under menu 'Settings/-Edit startup script'


Strange, I didn't notice such problems on linux (Ubuntu 7.04 i386), I compiled C::B myself from clean checkout.

BYO

Xaviou

Quote from: byo on April 25, 2007, 05:48:28 PM
Strange, I didn't notice such problems on linux (Ubuntu 7.04 i386), I compiled C::B myself from clean checkout.

BYO

No such problem for me (Ubuntu 6.10 amd64) self compiled

Did you tried to redo a bootstrap ? And to get a clean svn dir ?
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

cstudent

#20
Quote from: Xaviou on April 25, 2007, 06:39:52 PM
Quote from: byo on April 25, 2007, 05:48:28 PM
Strange, I didn't notice such problems on linux (Ubuntu 7.04 i386), I compiled C::B myself from clean checkout.

BYO

No such problem for me (Ubuntu 6.10 amd64) self compiled

Did you tried to redo a bootstrap ? And to get a clean svn dir ?


It may be my bad. I'm at the moment rebuilding and checking if it was something on my system that caused the error. I'll let you know.

EDIT: Nope. I built the .deb (3888) with completely new svn and still get the errors. I thought it might have been something residual but appears not to be the case. This started in revision 3876.

Manager initialized
Scanning for lexers in /usr/share/codeblocks/lexers/...
Found 27 lexers
Configured 0 tools
Scanning for plugins in /home/kirby/.codeblocks/share/codeblocks/plugins...
Found 0 plugins
Scanning for plugins in /usr/share/codeblocks/plugins...
ERROR: Invalid manifest file for: wxSmith
ERROR: Invalid manifest file for: wxSmithMime
Found 23 plugins
Loading: CodeSnippets Debugger ToDoList ScriptedWizard Compiler cbKeyBinder CodeStat HelpPlugin wxSmithContribItems CB_Koders Exporter SymTab AStylePlugin Profiler cbDragScroll CodeCompletion BYOGames lib_finder EnvVars ClassWizard Autosave FilesExtensionHandler RegExTestbed
Running startup script
Script/function 'edit_startup_script.script' registered under menu 'Settings/-Edit startup script'

gjsmo

Quote from: Xaviou on April 24, 2007, 10:42:40 PM
Quote from: byo on April 24, 2007, 10:37:11 PM
Quote from: Xaviou on April 24, 2007, 10:08:51 PM
Quote from: gjsmo on April 24, 2007, 10:01:07 PM
Quote from: Xaviou on April 24, 2007, 09:49:20 PM
Ubuntu 6.10 & 7.04 Amd64 .deb installer can be found here.

you are REALLY fast. can't beat 4 minutes!

Building on a 150Mhz 360 cores processor, with 10To RAM and uploading with a 1Go/s bandwidth adsl connection  :D

:shock:



Byo, don't you believe me ?  :shock:

i don't believe you either.  :shock::shock::shock::shock::shock::shock:
[url="http://www.danasoft.com/sig/gjsmo.jpg"]http://www.danasoft.com/sig/gjsmo.jpg[/url] i luv linux.
There are 10 types of people in this world - those who understand binary and those who don't.
oh yeah: "I didn't really say everything I said."      -Yogi Berra

Xaviou

Quote from: Xaviou on April 25, 2007, 06:39:52 PM
No such problem for me (Ubuntu 6.10 amd64) self compiled

Did you tried to redo a bootstrap ? And to get a clean svn dir ?


Ooooops !

Revision 3888 gave me the same errors.

I was too fast for posting
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

Xaviou

The same problem appears with a clean svn dir.
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

byo

Ok, I'll check this, just wait few more minutes, I need about 0,5 h to finish clean compilation ;)

But to be honest I really don't have any idea what's wrong. GDB will show  8)

BYO

Xaviou

My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]

cstudent

As an experiment I built Codeblocks from source on Ubuntu 7.04 32bit and I still get the manifest file errors.

byo

Something strange is going on there... I've found out that when C::B tries to load wxSmith and wxSmithMime plugins, it uses manifest of wxSmithContribItems  :shock:, The reason that invalid manifest file is used is that there's invalid plgin file name passed into manifest loading function, but what's the reason of that mismatched plugin filename... I don't know yet :(

BYO

byo

Ok, should be fixed now (rev 3389)

cstudent