User forums > Using Code::Blocks
Trying to follow CB Linux Wiki
Pecan:
I'm trying to follow the instructions in the CB Wiki for installing
on Linux. (ubuntu 510)
I'm getting the following err:
--- Code: ---pecan@herman:~$ cd devel
pecan@herman:~/devel$ dir
wxGTK-2.6.2.tar.gz
pecan@herman:~/devel$ tar zxf wxGTK-2.6.2.tar.gz
pecan@herman:~/devel$ dir
wxGTK-2.6.2 wxGTK-2.6.2.tar.gz
pecan@herman:~/devel$ tar zxf wxGTK-2.6.2.tar.gz
pecan@herman:~/devel$ dir
wxGTK-2.6.2 wxGTK-2.6.2.tar.gz
pecan@herman:~/devel$ mkdir build_gtk2_shared_monolithic_unicode
pecan@herman:~/devel$ cd build_gtk2_shared_monolithic_unicode
pecan@herman:~/devel/build_gtk2_shared_monolithic_unicode$ ../configure --prefix=/opt/wx/2.6 \
> --enable-xrc \
> --enable-monolithic \
> --enable-unicode
bash: ../configure: No such file or directory
pecan@herman:~/devel/build_gtk2_shared_monolithic_unicode$
--- End code ---
what happened ?
Does it mean no such file as "configure" or no such file as what??
thanks
pecan
cyberkoa:
I forget where is the "configure" script under wxGTK and I am now in Windows.
Check whether there is a file named "configure" under the folder ~/devel/ .., if not , use the following command to find the "configure" script location
--- Code: ---find ~/devel -name configure
--- End code ---
after getting the location , change folder to that location and key in the below command
--- Code: ---./configure --prefix=/opt/wx/2.6 --enable-xrc --enable-monolithic --enable-unicode
--- End code ---
(take note only 1 dot in front)
hope it helps.
Pecan:
Ok thanks, it got a little further I think, maybe
Does the following mean I dont have a compiler on ubuntu?
Or does it mean the path is wrong??
--- Code: ---pecan@herman:~$ find ~/devel -name configure
/home/pecan/devel/wxGTK-2.6.2/configure
/home/pecan/devel/wxGTK-2.6.2/src/expat/configure
pecan@herman:~$ cd /home/pecan/devel/wxGTK-2.6.2/src/expat/configure
bash: cd: /home/pecan/devel/wxGTK-2.6.2/src/expat/configure: Not a directory
pecan@herman:~$ cd /home/pecan/devel/wxGTK-2.6.2/src/expat/
pecan@herman:~/devel/wxGTK-2.6.2/src/expat$ ./configure --prefix=/opt/wx/2.6 --enable-xrc --enable-monolithic --enable-unicode
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
pecan@herman:~/devel/wxGTK-2.6.2/src/expat$
--- End code ---
thanks
pecan
Pecan:
Ok got pass that. It seems ubuntu users must do
sudo apt-get install build-essential
in order to get the c++ compiler
ok, off to the races.
thanks
pecan
Ceniza:
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
Navigation
[0] Message Index
[#] Next page
Go to full version