| View previous topic :: View next topic |
| Author |
Message |
Yankee Tux's lil' helper


Joined: 25 Jul 2003 Posts: 77 Location: Germany
|
Posted: Sun Jun 25, 2006 5:02 pm Post subject: |
|
|
| I am experciencing the same problem, but on the first emerge, so unmerging an older version is of no use. |
|
| Back to top |
|
 |
ssvb Tux's lil' helper

Joined: 06 Nov 2003 Posts: 91
|
Posted: Sun Jun 25, 2006 5:12 pm Post subject: |
|
|
| Adding "monolithic sdk static" USE flags helped. Did not check which USE flag exactly from this set is needed. |
|
| Back to top |
|
 |
Bluespear Apprentice


Joined: 20 Jul 2005 Posts: 159 Location: Switzerland
|
Posted: Sun Jun 25, 2006 8:16 pm Post subject: |
|
|
I've also added "sdk" to compile this version, should be this.
Other flag I use are "contrib" and "unicode" |
|
| Back to top |
|
 |
Bluespear Apprentice


Joined: 20 Jul 2005 Posts: 159 Location: Switzerland
|
Posted: Tue Jul 04, 2006 10:37 am Post subject: |
|
|
Some patchs seems to fail to apply.
| Code: | * Failed Patch: 23_all_add-autotools-option-to-install-sdk-headers.patch !
* ( /usr/local/portage/dev-util/codeblocks/files/patches/23_all_add-autotools-option-to-install-sdk-headers.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/codeblocks-9999-r14/temp/23_all_add-autotools-option-to-install-sdk-headers.patch-17140.out
|
Same with angelscript's patches.
Edit: Thanks for your quick answer and update Tiger 
Last edited by Bluespear on Wed Jul 05, 2006 9:32 am; edited 1 time in total |
|
| Back to top |
|
 |
Tiger683 Veteran


Joined: 08 Jan 2005 Posts: 1347 Location: Heffner's House
|
Posted: Wed Jul 05, 2006 7:31 am Post subject: |
|
|
Pretty much fixed now i guess. rev.16, I missed uploading rev.15 somehow  _________________ Retired gentoo user |
|
| Back to top |
|
 |
ClericLeech n00b

Joined: 06 Jul 2006 Posts: 3
|
Posted: Thu Jul 06, 2006 11:45 pm Post subject: |
|
|
Hi, I get the following error while building Code::Blocks,
any suggestions?
leech
| Code: |
***** automake *****
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/plugins/astyle/Makefile.am: installing `./depcomp'
src/plugins/projectwizard/resources/Makefile.am:1: required directory src/plugins/projectwizard/resources/staticlib does not exist
configure.in:211: required file `src/plugins/projectwizard/resources/staticlib/Makefile.in' not found
configure.in:211: required file `src/plugins/projectwizard/resources/staticlib/files/Makefile.in' not found |
|
|
| Back to top |
|
 |
Tiger683 Veteran


Joined: 08 Jan 2005 Posts: 1347 Location: Heffner's House
|
Posted: Fri Jul 07, 2006 12:42 pm Post subject: |
|
|
| ClericLeech wrote: | Hi, I get the following error while building Code::Blocks,
any suggestions?
leech
| Code: |
***** automake *****
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/plugins/astyle/Makefile.am: installing `./depcomp'
src/plugins/projectwizard/resources/Makefile.am:1: required directory src/plugins/projectwizard/resources/staticlib does not exist
configure.in:211: required file `src/plugins/projectwizard/resources/staticlib/Makefile.in' not found
configure.in:211: required file `src/plugins/projectwizard/resources/staticlib/files/Makefile.in' not found |
|
You normally should NOT use the "static" useflag, unless you want to link some codeblocks stuff into your own programs. beyond that it
seems to be broken as you can see
EDIT: hmm, if you don't use "static" USE then this might be the bug someone already posted on C::B forums, if it's the same then should be already fixed in upstream svn, so try to remerge. _________________ Retired gentoo user |
|
| Back to top |
|
 |
younker Apprentice

Joined: 18 Feb 2004 Posts: 261 Location: China
|
Posted: Sat Jul 08, 2006 2:47 am Post subject: autoconf 2.50 and above required |
|
|
>>> Emerging (1 of 1) dev-util/codeblocks-9999-r16 to /
>>> checking ebuild checksums
>>> checking auxfile checksums
>>> checking miscfile checksums
* Using /usr/lib/wx/config/gtk2-unicode-release-2.6
>>> Unpacking source...
* subversion update start -->
* repository: svn://svn.berlios.de/codeblocks/trunk
ÓÚÐÞ¶©°æ 2713¡£
* working copy: /usr/portage/distfiles/svn-src/codeblocks-9999/trunk
* Applying various patches (bugfixes/updates) ...
* 12_all_call-saveallfiles-on-custom-makefile-mode.patch ... [ ok ]
* 13_all_add-ability-to-physically-delete-file.patch ... [ ok ]
* 18_all_display-readonly-files-properly.patch ... [ ok ]
* 20_all_add-config_file-properties_file-lexer.patch ... [ ok ]
* Done with patching
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/codeblocks-9999-r16/work/codeblocks-9999 ...
* Running eautoreconf in '/var/tmp/portage/codeblocks-9999-r16/work/codeblocks-9999' ...
* Running aclocal ... [ ok ]
* Running libtoolize --copy --force --automake ... [ ok ]
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --foreign ... [ ok ]
* Running elibtoolize in: codeblocks-9999
* Applying max_cmd_len-1.5.0.patch ...
* Applying sed-1.5.6.patch ...
* Changing properties ...
Autoconf 2.50 or above is required. Aborting build...
!!! ERROR: dev-util/codeblocks-9999-r16 failed.
Call stack:
ebuild.sh, line 1545: Called dyn_compile
ebuild.sh, line 940: Called src_compile
codeblocks-9999-r16.ebuild, line 67: Called die
!!! Died in action: shipped bootstrap ...
!!! If you need support, post the topmost build error, and the call stack if relevant. |
|
| Back to top |
|
 |
Bluespear Apprentice


Joined: 20 Jul 2005 Posts: 159 Location: Switzerland
|
Posted: Sat Jul 08, 2006 9:19 am Post subject: |
|
|
| Code: | | Autoconf 2.50 or above is required. Aborting build... |
I suppose you have autoconf >=2.50 ? |
|
| Back to top |
|
 |
polygon7 n00b


Joined: 17 Dec 2005 Posts: 38
|
Posted: Sat Jul 08, 2006 10:50 am Post subject: |
|
|
| Bluespear wrote: | | Code: | | Autoconf 2.50 or above is required. Aborting build... |
I suppose you have autoconf >=2.50 ? |
Hi,
I have the same error, autoconf ver. 2.60. _________________ regards,
p7
Favorite software:
Open source IDE Code::Blocks, Free open source UML modelling tool ArgoUML |
|
| Back to top |
|
 |
Tekel n00b

Joined: 16 Dec 2005 Posts: 72 Location: Philadelphia PA
|
Posted: Sat Jul 08, 2006 11:59 am Post subject: |
|
|
I am having a hard time with x86_64 and GCC 4.1.0. I have actually managed to compile c::b but Now it is throwing erros while linking
| Code: |
hread -pthread -Wl,-soname -Wl,libcodeblocks.so.0 -o .libs/libcodeblocks.so.0.0.1
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: scripting/bindings/.libs/libsqbindings.a(scriptbindings.o): relocation R_X86_64_PC32 against `SqPlus::SQClassDef<ConfigManager>::SQClassDef(char const*, char const*)' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
|
Any suggestiosn on how to fix this ? |
|
| Back to top |
|
 |
simoaz n00b

Joined: 03 Dec 2004 Posts: 4
|
Posted: Sun Jul 09, 2006 12:43 pm Post subject: a small problem |
|
|
I installed the ebuild, no problem there.
However when i try to start the app, i get an error message like this:
~ $ codeblocks
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.6 (no debug,Unicode,compiler with C++ ABI 102,wx containers,compatible with 2.4),
and your program used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.4).
Aborted
i see the difference in "compiler with c++ ABI 102,". I dont know what that means.
I reallize that i have probably used some wrong use flags, but i dont know what to change.
[ebuild R ] dev-util/codeblocks-9999-r16 USE="-contrib -debug -monolithic -static -unicode -vanilla -xrc" 0 kB [1]
no use flags on, anyone have any idees what to do?
I am pretty sure the installation went as it should; from the logs:
1152441526: ::: completed emerge (1 of 1) dev-util/codeblocks-9999-r16 to /
1152441526: *** Finished. Cleaning up...
1152441544: *** exiting successfully.
1152441545: *** terminating.
all ideas are welcome
update:
maybe its a good ide to show you my gcc useflags, something might be missing there as the error might suggest.
Calculating dependencies... done!
[ebuild R ] sys-devel/gcc-3.4.6-r1 USE="fortran nls -bootstrap -boundschecking -build -doc -gcj -gtk -hardened -ip28 -ip32r10k -multislot -nocxx -nopie -nossp -objc -vanilla"
Sincerly Simon |
|
| Back to top |
|
 |
OnDraash n00b

Joined: 01 Feb 2006 Posts: 10
|
Posted: Wed Jul 12, 2006 7:44 pm Post subject: emerge fails |
|
|
on my amd64 i get the following error with the latest r16:
| Code: |
deepthought andy # emerge -va codeblocks
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] dev-util/codeblocks-9999-r16 [9999-r9] USE="contrib -debug -monolithic -static% -unicode -vanilla -xrc" 0 kB [1]
Total size of downloads: 0 kB
Portage overlays:
[1] /usr/local/portage
Would you like to merge these packages? [Yes/No] y
>>> Emerging (1 of 1) dev-util/codeblocks-9999-r16 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
* Using /usr/lib64/wx/config/gtk2-ansi-release-2.6
>>> Unpacking source...
* subversion update start -->
* repository: svn://svn.berlios.de/codeblocks/trunk
At revision 2740.
* working copy: /usr/portage/distfiles/svn-src/codeblocks-9999/trunk
* Applying various patches (bugfixes/updates) ...
* 12_all_call-saveallfiles-on-custom-makefile-mode.patch ... [ ok ] * 13_all_add-ability-to-physically-delete-file.patch ... [ ok ] * 18_all_display-readonly-files-properly.patch ... [ ok ] * 20_all_add-config_file-properties_file-lexer.patch ... [ ok ] *
Done with patching
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/codeblocks-9999-r16/work/codeblocks-9999 ...
* Running eautoreconf in '/var/tmp/portage/codeblocks-9999-r16/work/codeblocks-9999' ...
* Running aclocal ... [ !! ]
* Failed Running aclocal !
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/codeblocks-9999-r16/temp/aclocal-8471.out
!!! ERROR: dev-util/codeblocks-9999-r16 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
codeblocks-9999-r16.ebuild, line 59: Called eautoreconf
autotools.eclass, line 65: Called eaclocal
autotools.eclass, line 102: Called autotools_run_tool 'aclocal'
autotools.eclass, line 193: Called die
!!! Failed Running aclocal !
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/portage'
|
i can post more info if needed. thanks for any advice. |
|
| Back to top |
|
 |
Tekel n00b

Joined: 16 Dec 2005 Posts: 72 Location: Philadelphia PA
|
Posted: Thu Jul 13, 2006 2:25 pm Post subject: |
|
|
This Ebuild needs to be marked somehow with not compatiable with GCC 4.1.x. There are known issues with GCC 4.1 not working. I don't know if portage has a method for that, but For the time being itshould be put in.
If you are having Errors and use GCC 4.1 you need to install a older version of GCC 4.0.x or 3.x.x
Also @OnDrash
Post your /var/tmp/portage/codeblocks-9999-r16/temp/aclocal-8471.out |
|
| Back to top |
|
 |
OnDraash n00b

Joined: 01 Feb 2006 Posts: 10
|
Posted: Thu Jul 13, 2006 5:11 pm Post subject: |
|
|
i have the following:
| Code: |
gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
|
the file mentioned in the error is here:
| Code: |
deepthought andy # cat /var/tmp/portage/codeblocks-9999-r16/temp/aclocal-8471.out
***** aclocal *****
configure.in:3: file `revision.m4' does not exist
|
to me it seems like a file in the distribution is missing. |
|
| Back to top |
|
 |
first_slider n00b

Joined: 13 Jul 2006 Posts: 1 Location: Russia, Saint-Petersburg
|
Posted: Thu Jul 13, 2006 5:36 pm Post subject: |
|
|
| Tekel wrote: | | Post your /var/tmp/portage/codeblocks-9999-r16/temp/aclocal-8471.out |
Ok, i have same problem, as OnDraash, on amd64 whith codeblocks-9999-overlay-16-NO_DIGEST.tar.bz2
cat /var/tmp/portage/codeblocks-9999-r16/temp/aclocal-18479.out
***** aclocal *****
configure.in:3: file `revision.m4' does not exist
CFLAGS="-march=k8 -O2 -pipe"
USE="gtk2 -gnome qt kde dvd alsa xinerama cdr cups samba"
gcc v.3.4.4-r1, binutils v.2.16.1-r2, glibc v.2.3.5-r2, autoconf v.2.59-r7, automake v.1.9.6-r1 |
|
| Back to top |
|
 |
Tekel n00b

Joined: 16 Dec 2005 Posts: 72 Location: Philadelphia PA
|
Posted: Thu Jul 13, 2006 9:26 pm Post subject: |
|
|
| Reemerge the auto tools. Other then that ???? |
|
| Back to top |
|
 |
OnDraash n00b

Joined: 01 Feb 2006 Posts: 10
|
Posted: Thu Jul 13, 2006 9:48 pm Post subject: |
|
|
does not help.
it seems to me that the file `revision.m4' is supposed to be part of the svn checkout, am i wrong? |
|
| Back to top |
|
 |
WhiteDwarf n00b

Joined: 26 Oct 2003 Posts: 32 Location: Edmonton
|
Posted: Fri Jul 14, 2006 12:39 am Post subject: |
|
|
Run ./bootstrap:
| Code: | cd /usr/portage/distfiles/svn-src/codeblocks-9999/trunk
./bootstrap |
|
|
| Back to top |
|
 |
OnDraash n00b

Joined: 01 Feb 2006 Posts: 10
|
Posted: Fri Jul 14, 2006 9:24 am Post subject: |
|
|
| great, that helped. i just do not have enough experience with the svn checkout and emerge process, when should bootstrap be run a therefore where should i file a bugreport? |
|
| Back to top |
|
 |
neuron Advocate


Joined: 28 May 2002 Posts: 2371
|
Posted: Fri Jul 14, 2006 8:51 pm Post subject: |
|
|
for those having problems with autoconf 2.6, just modify /usr/portage/distfiles/svn-source/codeblocks*/bootstrap to not do that check.
it's a simple bash file failing. |
|
| Back to top |
|
 |
neuron Advocate


Joined: 28 May 2002 Posts: 2371
|
Posted: Fri Jul 14, 2006 9:17 pm Post subject: |
|
|
has anyone managed to build this on amd64+gcc4.1?
When I make it past the autoconf 2.6 problem I get this far:
| Code: |
../../../../src/sdk/scripting/sqplus/sqplus.h:1817: instantiated from 'SqPlus::SQClassDef<TClassType>& SqPlus::SQClassDef<TClassType>::func(Func, const SQChar*) [with Func = const wxArrayString& (CompileOptionsBase::*)()const, TClassType = CompileOptionsBase]'
scriptbindings.cpp:337: instantiated from here
../../../../src/sdk/scripting/sqplus/SqPlusConst.h:46: error: no matching function for call to 'Push(SQVM*&, const wxArrayString&)'
../../../../src/sdk/scripting/sqplus/sqplus.h:595: note: candidates are: void SqPlus::Push(SQVM*, char)
../../../../src/sdk/scripting/sqplus/sqplus.h:596: note: void SqPlus::Push(SQVM*, unsigned char)
../../../../src/sdk/scripting/sqplus/sqplus.h:597: note: void SqPlus::Push(SQVM*, short int)
../../../../src/sdk/scripting/sqplus/sqplus.h:598: note: void SqPlus::Push(SQVM*, short unsigned int)
../../../../src/sdk/scripting/sqplus/sqplus.h:599: note: void SqPlus::Push(SQVM*, int)
../../../../src/sdk/scripting/sqplus/sqplus.h:600: note: void SqPlus::Push(SQVM*, unsigned int)
../../../../src/sdk/scripting/sqplus/sqplus.h:601: note: void SqPlus::Push(SQVM*, long int)
../../../../src/sdk/scripting/sqplus/sqplus.h:602: note: void SqPlus::Push(SQVM*, long unsigned int)
../../../../src/sdk/scripting/sqplus/sqplus.h:603: note: void SqPlus::Push(SQVM*, double)
../../../../src/sdk/scripting/sqplus/sqplus.h:604: note: void SqPlus::Push(SQVM*, float)
../../../../src/sdk/scripting/sqplus/sqplus.h:605: note: void SqPlus::Push(SQVM*, const SQChar*)
../../../../src/sdk/scripting/sqplus/sqplus.h:606: note: void SqPlus::Push(SQVM*, const SqPlus::SquirrelNull&)
../../../../src/sdk/scripting/sqplus/sqplus.h:607: note: void SqPlus::Push(SQVM*, SQInteger (*)(SQVM*))
../../../../src/sdk/scripting/sqplus/sqplus.h:608: note: void SqPlus::Push(SQVM*, SqPlus::SQAnything*)
../../../../src/sdk/scripting/sqplus/sqplus.h:609: note: void SqPlus::Push(SQVM*, SquirrelObject&)
../../../../src/sdk/scripting/sqplus/sqplus.h:618: note: void SqPlus::Push(SQVM*, bool)
../../../../src/sdk/scripting/sqplus/sqplus.h:619: note: void SqPlus::Push(SQVM*, const void*)
../../../../src/sdk/scripting/sqplus/sqplus.h:620: note: void SqPlus::Push(SQVM*, void* const&)
make[5]: *** [scriptbindings.lo] Error 1
|
|
|
| Back to top |
|
 |
Tekel n00b

Joined: 16 Dec 2005 Posts: 72 Location: Philadelphia PA
|
Posted: Sat Jul 15, 2006 3:16 am Post subject: |
|
|
| That error you are reporting is a known error. It also has a workaround on the C::B forums, you can look there for it, however I will tell you it compiles, links, and executes, but is entirly unuseable. Alot of features are borked. Untill they fix the inlineing issue it will not build on GCC 4.1 without revisions. |
|
| Back to top |
|
 |
jshanab Guru


Joined: 22 Dec 2003 Posts: 359
|
Posted: Sat Jul 15, 2006 3:50 pm Post subject: Can't run aclocal |
|
|
I had the same issue here on AMD 64 as ondraash and solved it by moving the ./bootstrap line up before the ereconf in src_compile and re-digesting the ebuild. Nice wxWigets 2.6 !!!
| Code: |
src_compile() {
# C::B is picky on CXXFLAG -fomit-frame-pointer
# (project-wizard crash, instability ...)
filter-flags -fomit-frame-pointer
append-flags -fno-strict-aliasing
cd ${S}
./bootstrap || die "Died in action: shipped bootstrap ..."
eautoreconf || die "Died in action: eautoreconf..."
einfo "Changing properties ..." && \
edos2unix ${S}/{bootstrap,src/update} && \
chmod a+rx ${S}/{bootstrap,src/update} && \
edos2unix ${S}/src/setup/mime/codeblocks.{desktop,applications} || \
die "Died in action: properties ..."
econf --with-wx-config=wx-config-2.6 --enable-dependency-tracking \
$(use_enable contrib) $(use_enable unicode) $(use_enable xrc) \
$(use_enable monolithic) $(use_enable debug) \
$(use_enable static) || die "Died in action: econf ..."
make clean-zipfiles || die "\"make clean-zipfiles\" failed..."
make || die "Died in action: make ..."
} |
_________________ ghidra: 2.6.18-gentoo-r3 x86_64 AMD64 with xfce4 across 2 monitors; reiserfs on LVM2
hamal: Gentoo 2.6.16-gentoo-r4, athlonxp 1600 with gnome,reiserfs, LVM2.
jeffnote Gentoo 2.6.20-suspend2-r?, IBM T22
HTC_apache: Next convert, my ppc6700 phone |
|
| Back to top |
|
 |
Tekel n00b

Joined: 16 Dec 2005 Posts: 72 Location: Philadelphia PA
|
Posted: Sun Jul 16, 2006 1:29 am Post subject: |
|
|
| After switcing to gcc 3.4.6 building was no problem. Simple add FEATURES="keepwork" into make.conf then after first failed build run the bootstrap and It should build on a x86_64 gcc 4.1 based system |
|
| Back to top |
|
 |
|