User forums > Nightly builds

The 15 December 2007 build (4734) is out.

<< < (4/6) > >>

Jenna:

--- Quote from: dannyyy on December 17, 2007, 04:09:18 am ---
--- Quote from: Auria on December 17, 2007, 01:41:53 am ---dannyyy:

--- Quote ---bash: ./bootstrap: /bin/sh^M: bad interpreter: No such file or directory

--- End quote ---
take a look at the bootstrap file, if it does contain that "^M" character then it's probably messed up

--- End quote ---

No, I can't find this character in the bootstrap file.

All source files were freshly retrieved from CB SVN.

The versions of the tools I have should work, right ?

--- End quote ---

There are still dos line-endings in the bootstrap-script.

"^M" is the control character for carriage return shown as readable character.
Your shell tries to find an interpreter called "sh^M" in your "/bin" dir. But there is none of course.

Did you accidently use the "-d" switch when running the "dos2unix"-tool.

Normally the (fresh) sources should compile without doing "dos2unix" before.
I've never used "dos2unix" and have it compiled quiet often.

dannyyy:
I tried again, and now there is a completely different error:


--- Code: ---$ ./bootstrap
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
configure.in:77: warning: macro `AM_OPTIONS_WXCONFIG' not found in library
configure.in:78: warning: macro `AM_PATH_WXCONFIG' not found in library
configure.in:9: installing `./missing'
configure.in:9: installing `./install-sh'
src/base/tinyxml/Makefile.am: installing `./depcomp'
configure.in:77: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:78: error: possibly undefined macro: AM_PATH_WXCONFIG

--- End code ---

I believe the problem is in my configurations, but I don't know what to do.

EDIT: I noticed that the wiki was edited...thanks for that ! I'm starting again from the beginning, let's see what happens.

JGM:

--- Quote from: dannyyy on December 17, 2007, 11:58:50 am ---
--- Code: ---$ ./bootstrap
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.

--- End code ---

--- End quote ---

that happened to me, and I did just what the output says, copy the content of /usr/share/aclocal/libtool.m4 to aclocal.m4 and run the bootstrap again, that worked on my ubuntu box

Biplab:

--- Quote from: dannyyy on December 17, 2007, 11:58:50 am ---
--- Code: ---configure.in:77: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:78: error: possibly undefined macro: AM_PATH_WXCONFIG

--- End code ---

I believe the problem is in my configurations, but I don't know what to do.

--- End quote ---

Copy wxwin.m4 file to /usr/share/aclocal folder. If you install wx using configure && make then it often forgets this step. :)

afb:

--- Quote from: Auria on December 17, 2007, 01:41:53 am ---afb : What black magic are you doing to get the mac version running? Here I built from SVN but wxDynamicLibrary wouldn't work (I've met that problem before, the class refuses to load perfectly valid libraries) What I don't get is why it works when you build it  :)

--- End quote ---

Maybe bugs with wxWidgets 2.8.7 ? Otherwise I don't known either, the only patches I have left is to make it build as a universal binary - i.e. outside of the source tree, and inside a "build" subdirectory

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version