News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

compiling svn version

Started by alexbour, May 05, 2017, 04:55:40 PM

Previous topic - Next topic

alexbour

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]
[/$ ./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]

oBFusCATed

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'
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

I just did a fresh svn checkout (My past one had a minor permission error during bootstrap).

Bootstrap worked great for me.

Tim S.


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



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)


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'
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

alexbour

still have same errors on svn11053 version...... fedora25 have no clue what are the roots of those messages. Any hints, please? especialy regex error: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]

Jenna

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.

Jenna

Did you try it with a clean checkout or a cleaned/reverted source-tree ?

alexbour

automake 1.15 downloaded from GNU and then successfully compiled on the system, following default instructions.

stahta01

Quote from: jens on May 07, 2017, 01:38:00 AM
Did you try it with a clean checkout or a cleaned/reverted source-tree ?
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

Quote from: 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.
Why don't you install the native automake using you package manager?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

Quote from: 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.
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.

Jenna

By the way if you just want to have actual (nightly build) Code::blocks on Fedora, you can use my copr-repo (see signature).