User forums > Help

bootstrap felled need help

(1/4) > >>

doctorlinux:
bootstrap felled need help  

I'm on using fedora 11 trying to build code::blocks trunk, i build the
wxWidgets as a monolithic DLL and it's working good.

the first time i ran bootstrap, IT  said to  put the AC_CONFIG_MACRO_DIR(m4) in
the configure.in file, so i did.

now when i run bootstrap

[david@localhost trunk]$ ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in:77: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
configure.in:78: warning: macro `AM_PATH_WXCONFIG' not found in library

There is no ACLOCAL_AMFLAGS code in Makefile.am

Or do I add ACLOCAL_AMFLAGS= (-I m4) some where in the Makefile.am??

I have autoconf and automake installed see...

[david@localhost trunk]$ rpm -q autoconf
autoconf-2.63-2.fc11.noarch
[david@localhost trunk]$ rpm -q automake
automake-1.11-2.fc11.noarch


How do i fix this?

Jenna:
You should have wxwin.m4 in [prefix]/share/aclocal.
If you have not set prefix explicitely when configuring, it is most likely /usr/local.

If it is not there, you might not have run make install.

If it is there but not found, see the wiki for possible solutions: http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29

doctorlinux:
thanks

my prefix is
[david@localhost trunk]$ wx-config --prefix
/usr/local

so i did export ACLOCAL_FLAGS="-I `wx-config --prefix`/usr/local

[david@localhost trunk]$ ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'     
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'               
libtoolize: copying file `m4/ltoptions.m4'             
libtoolize: copying file `m4/ltsugar.m4'               
libtoolize: copying file `m4/ltversion.m4'             
libtoolize: copying file `m4/lt~obsolete.m4'           
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: couldn't open directory `/usr/local/usr/local': No such file or directory


no good so i
[david@localhost trunk]$ export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
[david@localhost trunk]$ ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'     
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
^C

and it stoped so i ctrl +c and stoped it

So then I

[david@localhost trunk]$ export ACLOCAL_FLAGS="-I `wx-config --prefix`/usr/share/aclocal"
[david@localhost trunk]$ ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: couldn't open directory `/usr/local/usr/share/aclocal': No such file or directory

so i changed it back to

[david@localhost trunk]$ export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
[david@localhost trunk]$ ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

I don't know what to do next, I'm new to Linux.

stahta01:
Did the bootstrap work?
If an configure file (with no extension) was created (by the bootstrap customizing the configure.in file ) and there was not errors; I would guess it worked.

Tim S.

doctorlinux:
last night when i ran  ./configure --with-contrib-plugins=all

it configured but with some warnings or errors. so i tried to make just to see if it would but it said they was a error no make file to to make.

Now after setting export ACLOCAL_FLAGS="-I `wx-config --prefix`/share/aclocal"
bootstrap warnings Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

I ran configure again, but with no warnings or errors this time.

so I tried to make again and it did but with 1 error filemanager.cpp:262: error: no matching function for call to ‘wxCSConv::cWC2MB(const wxChar*, size_t&, size_t*)’

make[3]: *** [filemanager.lo] Error 1
make[3]: Leaving directory `/home/david/build/codeblocks/trunk/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/david/build/codeblocks/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/david/build/codeblocks/trunk/src'
make: *** [all-recursive] Error 1

How do I fix this error? I Googled it but no match .

 I'm sure it would install. but I don't like errors in my builds. I've done a lots of builds with windows just new to Linux now. I had Linux about 4 or 5 years ago but i have forgot so much about it. wished I had of never lift Linux.

Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version