User forums > Help

Settings don't get saved (svn 4454)

<< < (4/16) > >>

Jenna:
How did you compile (or try to compile) the sources ?
If I use C::B to compile C::B  it does not work,  but if I do it from command-line there's no problem.

Just type (in root of the C::B source-tree):
--- Code: ---./bootstrap
./configure --enable-contrib
make
make install
--- End code ---

I only tried it until make, because I have latest nightlies installed as deb-Packages, build from svn, but it works like a charm.
I used a fresh download from svn4483 in a clean directory.

Edit:
sorry it works, even from inside codeblocks. I forgot to change my standard compilers, before I started C::B. It does not work with gc-4.3 from debian-experimental, I use a shell script to switch to 4.2, I ran it before commandline compiling, but not before starting codeblocks.

johne53:
In my case, the default compiler was already set correctly from previous C::B sessions so I decided to try your suggestion of 'make'.

At the line ./configure --enable-contrib I get the following error:-


--- Quote ---configure: error:
                wxWidgets must be installed on your system.

                Please check that wx-config is in path, the directory
                where wxWidgets libraries are installed (returned by
                'wx-config --libs' or 'wx-config --static --libs' command)
                is in LD_LIBRARY_PATH or equivalent variable and
                wxWindows version is 2.6.0 or above.
--- End quote ---

I'm pretty confident that wxWidgets is installed so this must be either be lack of wxWindows or something to do with LD_LIBRARY_PATH

Q1) Do I need wxWindows on a Linux (OpenSuse) system?
Q2) Where would I find (and change) the LD_LIBRARY_PATH variable?

Q3) Why is everything so tortuously difficult under Linux???

Jenna:
try the wx-config command from console, you need it to set the flags and library-paths for wxWidgets.

--- Quote ---Do I need wxWindows on a Linux (OpenSuse) system?
--- End quote ---
wxWindows is the former name of wxWidgets.
I don't know in which packet you find wx-config on (Open-)Suse.


--- Quote ---Why is everything so tortuously difficult under Linux???
--- End quote ---
For me it's much more difficult under Windows, but I use linux (with pauses, without any computer) since the early 1990's

Biplab:

--- Quote from: johne53 on September 20, 2007, 07:56:19 am ---At the line ./configure --enable-contrib I get the following error:-

--- End quote ---

It seems that the wxWidgets-devel package doesn't create any symbolic links during installation. You have two ways to fix this.
1) Create a symbolic link with the following commands.

--- Code: ---cd /usr/bin
su
ln -s /usr/lib/wx/config/gtk2-unicode-release-2.8 wx-config
--- End code ---

2) Or
Issue the following command to configure C::B.

--- Code: ---./configure --enable-contrib --with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.8
--- End code ---

johne53:
Thanks guys. It turned out that under wxWidgets 2.8.x.x the file wx-config seems to have been renamed to wx-config-2.8.  I renamed it back to wx-config and everything seems to be progressing.

Just out of interest, what is a typical time taken for a full build? This one's been going for 40-50 minutes and (assuming it's processing the files alphabetically) it looks like I'm in for a long haul. I'm just about up to compilerTcc.cpp (which I'm sure has been done at least twice before).

[Edit...] Forget that - it just finished. One more question though.... how did it know whether to build a Debug version or a Release version?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version