User forums > Using Code::Blocks

How to install nightly builds on Linux Mandriva 2007

<< < (2/3) > >>

Commodore64:
Uhm... I'm still wondering why wx-config-unicode didn't pop up when I used TAB to autocomplete wx-c... on the console  :?
Anyway, I don't have Mandriva 2007 anymore to do experiments.

pivit80:
Hi Commodore,
I'm also a mandriva fan;
Remember, I've had your same problems first time I installed codeblocks;
you don't see wx-config because you don't have installed it;
in order to install it you must install

libwxGTKu2.6-2.6.3-mdv2007
libwxGTKu2.6-devel-2.6.3-mdv2007
libwxGTKglu2.6-2.6.3-mdv2007

don't istall them by hand.
Use RPM install center.
You need just an internet connection;
RPM manager automatically download and install it from internet.
If you doesn't manage in finding it in installation center,
it may be you repository isn't updated;
to update it you must use urpmi command from shell;
you can obtain a complete command line for urpmi command from,
http://easyurpmi.zarb.org/?language=it

follow steps; they are very simple;
at the end you obtain the command lines for urpmi command;
just run them in shell, and wait your repository are updated;
Now, in your installation center you have definitions of the latest mandriva 2007 software;
just install it....

I hope its clear.

pv

afb:

--- Quote from: daniel2000 on March 26, 2007, 11:40:38 am ---You're right, they renamed it to wx-config-ansi and wx-config-unicode, what a crap. don't they now that the wx-config script can handle more than one wxwidgets version !?  :shock:
--- End quote ---

FreeBSD (and other systems) also do this, I think they call theirs wxgtk2u-2.6-config (for instance)

The problem otherwise is that the wx-config symlinks will conflict if you try to install more than one package. But they do set up (in the Ports makefiles) the $WX_CONFIG environment variable to point the one to be used.

pivit80:
HI daniel2000,
I'm triyng to compile latest svn,
but I obtain some errors;
I've run:

./configure --with-wx-config=/usr/bin/wx-config-unicode --enable-contrib

OK.

But when I do make, I obtain this error:

g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/wx/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/sdk/wxscintilla/include -I../../src/sdk/tinyxml  -I/usr/lib/wx/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  -g -O2 -O2 -ffast-math -I/usr/lib/wx/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 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -o ./sdk.h.gch -xc++-header ./sdk.h
./editormanager.h:129: error: extra qualification ‘EditorManager::’ on member ‘GetTree’
./managedthread.h:14: error: extra qualification ‘ManagedThread::’ on member ‘ManagedThread’
./managedthread.h:15: error: extra qualification ‘ManagedThread::’ on member ‘ManagedThread’
./xtra_classes.h:21: error: extra qualification ‘wxSplitPanel::’ on member ‘wxSplitPanel’
./xtra_classes.h:24: error: extra qualification ‘wxSplitPanel::’ on member ‘wxSplitPanel’
./xtra_classes.h:36: error: extra qualification ‘wxSplitPanel::’ on member ‘RefreshSplitter’
./xtra_classes.h:38: error: extra qualification ‘wxSplitPanel::’ on member ‘wxSplitPanel’

I'll grant I've all required libraries installed;
the stable release works fine;
I'll grant I've uninstalled previous codeblocks version (stable 1.0RC2)

Why this error?

my wx libraries installed are:

libwxgtkglu2.6-2.6.3-7mdv2007.0
libwxgtku2.6-2.6.3-7mdv2007.0
libwxgtku2.6-devel-2.6.3-7mdv2007.0
wxGTK2.6-devel-2.6.3-7mdv2007.0

Thank you in advance
pv

Commodore64:
@Pietro: thank you for your hints.
I installed the packages with the rpm graphical tool (the one in "configure your computer").
Only, I don't remember the package libwxGTKglu2.6-2.6.3-mdv2007: what is it?

Anyway, as I was saying before,  I cannot try again: I had problems when working on other people's machines. On my machine I run Mandriva 2006, and everything works fine.

But I have the general impression that Mandriva is giving more and more problems... I'm sorry but I think that I'll try Kubuntu as my next Linux distro :( (also because it's much easier to find packages for ubuntu...)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version