User forums > Using Code::Blocks

Trying to follow CB Linux Wiki

<< < (4/7) > >>

Game_Ender:
Under System->Administrator there is a program called Synaptic.  Just give it your password when it asks and the program will start.  Run a search for wxGTK and you should the wxGTK 2.6 dev package.  Just click the little box to mark it for installation and let it install anything else that it says is needed.  Then you just click Apply.  After the install if finish all you have to do is close the application no restart is necessary.

This is the whole Linux and Windows way I was talking about.  In most linux distributions you have some kind of package management system with a repository that is full of almost all the software you will ever need and you can get in just a couple of clicks.  The system makes sure that if want a certain App X, that depends on Lib Y, all you have to do is say "I want you to install X" and it will also install Lib Y for you too.  This is much easier than hunting are the internet for dependencies.

Anything you install from synaptic will go into /usr and generally anything you install from source with "./configure, make, sudo make install" will go into /usr/local/.  If you are installing the package just completely delete the version you have compiled from /opt.  If all these directories seem a little odd to you, check out this article.

Pecan:

--- Quote from: Ceniza on January 14, 2006, 08:13:37 am ---Be sure to get latest autoconf, automake, libtool, be sure aclocal points to the most recent one (I had problems because of this, the solution is in the forums).

Also get wx-common and libwxgtk2.6 (you must check the right name of this one).

To search for packages, try: apt-cache search what

Example: apt-cache search libwxgtk 2.6

--- End quote ---

Are some of the forum messages gone?

I searched for "autoconf","automake","libtool", and "aclocal" indiviually
but got no hits except this message. Am I searching incorrectly?

What solution is this message refering to?

Sorry for being so stupid about linux....

thanks
pecan
 

Michael:

--- Quote from: Pecan on January 14, 2006, 05:44:41 pm ---Are some of the forum messages gone?

I searched for "autoconf","automake","libtool", and "aclocal" indiviually
but got no hits except this message. Am I searching incorrectly?
pecan

--- End quote ---

Using the terms autoconf, automake and libtool, I have found this post that could may be help.

What I have remarked when doing a search in the forum is that I have to be careful of the scope of the query. And also that an advanced search could be useful for complex queries :).

Michael

Pecan:

--- Quote from: Michael on January 14, 2006, 06:03:04 pm ---Using the terms autoconf, automake and libtool, I have found this post that could may be help.

What I have remarked when doing a search in the forum is that I have to be careful of the scope of the query. And also that an advanced search could be useful for complex queries :).

Michael

--- End quote ---

Oh.. It never occured to me that the search button *only*
searched the current thread. I'll go back and do some of my
other failed searches...

thanks
pecan

grv575:

--- Quote from: Game_Ender on January 14, 2006, 04:37:07 pm ---Why are you going through the pain of installing wxWidgets yourself?

--- End quote ---

Because a custom compiled library for your target architecture runs faster.  How often do you exprect to compile wx anyway?  They only release new versions like 2-3 times a year... so the minimal compile time pays for itself many times over.  IMHO.


--- Quote ---You should also probably install your libraries to /usr/local/lib, that is the traditional place for them.  Almost all programs you build from source do this automatically so you don't need to tell them where to go with the --prefix command.

--- End quote ---

Well that's not always the case.  It's package-specific whether they chose /usr/local as the default although most packages do.  If you try installing LFS, you'll see that some packages default to /usr so it's easier sometimes to just always specify --prefix so it goes where you expect it to.


--- Quote ---It is important to remember there is a windows way, and there is a linux way to do things.  Don't try the windows way on Linux.  You also don't need different subdirs for each wxWidgets version.  The libary names are unique so that you can have 2.6 unicode, 2.6 ansi, 2.6 unicode-debug, 2.6 ansi-debug, 2.5 unicode, 2.4 ansi, etc builds all in the same folder without any fear of over writing the libraries.

--- End quote ---

OK, but do you mind telling how to choose which configuration you would like to use using wx-config?  I always just resymlink to a different wxdir (I use one for each version) since that's pretty easy to do (maybe not the proper way to use wx-config)...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version