User forums > Help
Code::Blocks ./bootstrap not working (Linux stable source compile)
polymath:
I am running puppy linux 4.0 and I am trying to compile C:B, have just compiled the latest version of WXW, and have run into a brick wall. I am following the tutorial at http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux and am using the stable code release (stable). When I run the ./bootstrap command, I get the these errors:
# ./bootstrap
svn: '.' is not a working copy
svn: '.' is not a working copy
libtoolize: '/usr/share/aclocal/libtool.m4 is serial 48, less than 51 in aclocal.m4'
To remain compatible, you should update your aclocal.m4 by running aclocal
./usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
run info '(automake)Extending aclocal '
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
aclocal:configure.in:77: warning: macro 'AM_OPTIONS_WXCONFIG' not found in library
aclocal:configure.in:78: warning: macro 'AM_PATH_WXCONFIG' not found in library
I looked at the web page and i didn't think that was what i wanted (I could be wrong, i'm new to linux). So I did what the install guide told me to do:
# export ACLOCAL_FLAGS="-I 'wxconfig --prefix'/share/aclocal"
which replaced the errors that I had previously with:
aclocal: unrecognized option -- '--prefix'/share/aclocal'
Can someone please help me decipher these errors or give me different commands for install?
Jenna:
--- Quote from: polymath on July 18, 2008, 07:21:00 pm ---# export ACLOCAL_FLAGS="-I 'wxconfig --prefix'/share/aclocal"
--- End quote ---
should be:
--- Code: ---export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
--- End code ---
it looks similar, but is not. It seems you use single-quotes around "wx-config --prefix", but you have to use backticks "`".
If there are backticks in unix/linux shells around an instruction, the shell runs the command and replaces it (and the backticks) with the output.
polymath:
Thank you for your response, but when I use backticks it returns to me:
bash: wxconfig: command not found
Tried wx-config:
bash: wx-config: command not found
So I replaced wx-config with /root/devel/wxWidgets-2.8.8/wx-config.in, which gave a warning from wx-config about no config found to match, ignore if a program is using it and no errors are generated. Anyway, I tried setting my path too, same error. So i tried bootstrapping again, and bash said there is no such file/directory as /share/aclocal, so I added usr in front of that, and it gave me the same errors as I started out with! I tried to ./configure it anyway, and it said three things about undefined macros. I think I am nearing a solution, though; have to be optimistic!
polymath:
Does anyone know how to get around ACLOCAL? I read that the problem is that it can't find WXWidgets, so I moved the WXW libraries (~/devel/wxWidgets-2.8.8/build/lib) after the compile into my ACLOCAL lib directory, but still no go. Do I have to do the same with binaries and other stuff? Any help would be appreciated.
Auria:
--- Quote from: polymath on July 18, 2008, 10:16:23 pm ---Thank you for your response, but when I use backticks it returns to me:
bash: wxconfig: command not found
Tried wx-config:
bash: wx-config: command not found
--- End quote ---
Seems like you didn't install wxWidgets? When you installed wx, wx-config should be in your PATH or in the build folder. wx-config.in is not the same thing, it's for the wx build system, no use to you. How did you install wx?
Navigation
[0] Message Index
[#] Next page
Go to full version