User forums > Using Code::Blocks
Missing files to compile with Autotools
mandrav:
All done. Builds and runs just fine with stock wxGTK-2.5.3 (I fixed a couple of unicode issues on the way ;) ).
This leads me to believe there's something wrong with your setup...
fiammy:
I guess there was. I've reinstalled my linux, to make sure, and I installed the RPMs from SuSE. The DVD shipped with Linux Magazine didn't contain all the needed files. There wasn't a wxGTK-2.5.3-devel included, but there is happily on the SuSE sites.
Now, everything compiles, but I've got some issues with the make install routine. It seems to be putting the files in the wrong places...
I got it to work manually, but the routine was mixing up paths and such.
mandrav:
Perhaps you could elaborate?
fiammy:
Of course. Just checking to be sure I don't say anything stupid.
I compiled code::blocks on SuSE Linux 9.3 for AMD64. Sadly, the installation instructions don't take care of the 64-bit environment, and put the library files simply in the /usr/local/lib directory, instead of the /usr/local/lib64 diretory, used by anyone else.
As far as I can see now (I got it to work, so I can't determine anymore if it is due to my poking around that the files are in the right positions), the run.sh file isn't copied in the right place. Anyhow, the paths in the run.sh file don't correspond to the paths the 'make install' command puts the files in. The run.sh command still supposes the files are under the /codeblocks/src/devel, while they are not.
Any more info, don't hesitate to ask.
mandrav:
Hmm, /usr/local/lib is not our choice. It's autotools'...
Besides, what does run.sh have to do with it? It was used before the autotools build, when codeblocks would run in-place. Now, to run codeblocks, you must "make install" it and launch it just by "codeblocks" or "/usr/[local/]bin/codeblocks"...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version