Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: alexbour on May 05, 2017, 04:55:40 pm

Title: compiling svn version
Post by: alexbour on May 05, 2017, 04:55:40 pm
compiling svn version failed even at bootstrap. an attempt to config and make despite, failed as well. Make shows multiple errors with Makefile.[ac,am]
Code
[/$ ./bootstrap
Using 'svn --xml info' to get the revision
Found revision: '11053' '2017-04-22 14:25:27'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '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'
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /opt/bin/automake line 3936.
configure.ac:15: installing './compile'
configure.ac:11: installing './missing'
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/matlab_csf/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/matlab_csf/lccstub/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/ogre/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/opengl/files_win/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/plugins/templates/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/qt4/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/sharedlib/c/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/sharedlib/cpp/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/smartwin/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/staticlib/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/stlport/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/contrib/wxSmithDateTimePicker/Makefile.in' not found
src/base/Makefile.am:1: error: HAVE_TINYXML does not appear in AM_CONDITIONAL
src/base/tinyxml/Makefile.am: installing './depcomp'
src/include/Makefile.am:2: error: HAVE_TINYXML does not appear in AM_CONDITIONAL
src/include/scripting/Makefile.am:3: error: HAVE_SQUIRREL does not appear in AM_CONDITIONAL
src/plugins/astyle/Makefile.am:44: error: HAVE_ASTYLE does not appear in AM_CONDITIONAL
src/sdk/scripting/Makefile.am:3: error: HAVE_SQUIRREL does not appear in AM_CONDITIONAL
[alexb@basilik codeblocks_svn]$
code]
Title: Re: compiling svn version
Post by: oBFusCATed on May 05, 2017, 07:54:21 pm
What OS/Distro is this?

Bootstrap works fine for me on gentoo linux:
Quote
./bootstrap
Using 'git log --graph' to get the revision
Found revision: '11053' '2017-04-29 09:12:54'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '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'
configure.ac: installing `./missing'
src/base/tinyxml/Makefile.am: installing `./depcomp'
src/plugins/compilergcc/depslib/src/Makefile.am: installing `./compile'
Title: Re: compiling svn version
Post by: stahta01 on May 05, 2017, 08:01:00 pm
I just did a fresh svn checkout (My past one had a minor permission error during bootstrap).

Bootstrap worked great for me.

Tim S.

Code
stahta01@debian:~/devel/open_source_code/version_control/codeblocks-svn$ uname -a
Linux debian 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64 GNU/Linux

Code
stahta01@debian:~/devel/open_source_code/version_control/codeblocks-svn$ svn info
Path: .
Working Copy Root Path: /home/stahta01/devel/open_source_code/version_control/codeblocks-svn
URL: svn://svn.code.sf.net/p/codeblocks/code/trunk
Relative URL: ^/trunk
Repository Root: svn://svn.code.sf.net/p/codeblocks/code
Repository UUID: 2a5c6006-c6dd-42ca-98ab-0921f2732cef
Revision: 11053
Node Kind: directory
Schedule: normal
Last Changed Author: jenslody
Last Changed Rev: 11053
Last Changed Date: 2017-04-22 10:25:27 -0400 (Sat, 22 Apr 2017)
Code
stahta01@debian:~/devel/open_source_code/version_control/codeblocks-svn$ ./bootstrap
Using 'svn --xml info' to get the revision
Found revision: '11053' '2017-04-22 14:25:27'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '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'
configure.ac:24: installing './compile'
configure.ac:7: installing './config.guess'
configure.ac:7: installing './config.sub'
configure.ac:20: installing './install-sh'
configure.ac:20: installing './missing'
src/base/tinyxml/Makefile.am: installing './depcomp'
Title: Re: compiling svn version
Post by: alexbour on May 07, 2017, 01:11:35 am
still have same errors on svn11053 version...... fedora25 have no clue what are the roots of those messages. Any hints, please? especialy regex error:
Code
regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /opt/bin/automake line 3936
[/code
[user@host codeblocks_svn]$ svn info --xml
<?xml version="1.0" encoding="UTF-8"?>
<info>
<entry
   path="."
   revision="11053"
   kind="dir">
<url>svn://svn.code.sf.net/p/codeblocks/code/trunk</url>
<relative-url>^/trunk</relative-url>
<repository>
<root>svn://svn.code.sf.net/p/codeblocks/code</root>
<uuid>2a5c6006-c6dd-42ca-98ab-0921f2732cef</uuid>
</repository>
<wc-info>
<wcroot-abspath>/home/user/Projects/PreReq/codeblocks_svn</wcroot-abspath>
<schedule>normal</schedule>
<depth>infinity</depth>
</wc-info>
<commit
   revision="11053">
<author>jenslody</author>
<date>2017-04-22T14:25:27.108085Z</date>
</commit>
</entry>
</info>
[user@host codeblocks_svn]$ ./bootstrap
Using 'svn --xml info' to get the revision
Found revision: '11053' '2017-04-22 14:25:27'
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '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'
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /opt/bin/automake line 3936.
configure.ac:15: installing './compile'
configure.ac:11: installing './missing'
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/matlab_csf/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/matlab_csf/lccstub/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/ogre/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/opengl/files_win/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/plugins/templates/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/qt4/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/sharedlib/c/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/sharedlib/cpp/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/smartwin/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/staticlib/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/scriptedwizard/resources/stlport/files/Makefile.in' not found
configure.ac:345: error: required file 'src/plugins/contrib/wxSmithDateTimePicker/Makefile.in' not found
src/base/Makefile.am:1: error: HAVE_TINYXML does not appear in AM_CONDITIONAL
src/base/tinyxml/Makefile.am: installing './depcomp'
src/include/Makefile.am:2: error: HAVE_TINYXML does not appear in AM_CONDITIONAL
src/include/scripting/Makefile.am:3: error: HAVE_SQUIRREL does not appear in AM_CONDITIONAL
src/plugins/astyle/Makefile.am:44: error: HAVE_ASTYLE does not appear in AM_CONDITIONAL
src/sdk/scripting/Makefile.am:3: error: HAVE_SQUIRREL does not appear in AM_CONDITIONAL
[user@host codeblocks_svn]$


[/code]
Title: Re: compiling svn version
Post by: Jenna on May 07, 2017, 01:28:34 am
Where did you get your automake from ?
"/opt/bin/automake" is not in any official package.
Fedora has everything you need to compile C::B.
There is no problem compiling C::B from sources on F25.
Title: Re: compiling svn version
Post by: Jenna on May 07, 2017, 01:38:00 am
Did you try it with a clean checkout or a cleaned/reverted source-tree ?
Title: Re: compiling svn version
Post by: alexbour on May 07, 2017, 04:30:21 am
automake 1.15 downloaded from GNU and then successfully compiled on the system, following default instructions.
Title: Re: compiling svn version
Post by: stahta01 on May 07, 2017, 04:33:35 am
Did you try it with a clean checkout or a cleaned/reverted source-tree ?
Title: Re: compiling svn version
Post by: oBFusCATed on May 07, 2017, 10:24:53 am
automake 1.15 downloaded from GNU and then successfully compiled on the system, following default instructions.
Why don't you install the native automake using you package manager?
Title: Re: compiling svn version
Post by: Jenna on May 07, 2017, 11:51:11 am
automake 1.15 downloaded from GNU and then successfully compiled on the system, following default instructions.
Self-compiling should only be done, if it is really necessary and you know exactly what you do.
If ever possible you should use the package systems.

It works fine on F25 (my daily used system) with C::B from svn.
Title: Re: compiling svn version
Post by: Jenna on May 07, 2017, 12:45:54 pm
By the way if you just want to have actual (nightly build) Code::blocks on Fedora, you can use my copr-repo (see signature).