Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

KDEBASE fails to compile (autom4te)

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
29 posts
  • 1
  • 2
  • Next
Author
Message
RichieB
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Wed Feb 04, 2004 10:31 pm

KDEBASE fails to compile (autom4te)

  • Quote

Post by RichieB » Thu Feb 05, 2004 12:32 pm

Upon emerging -u world and in kdebase3.2.0:

... blah ...

Good - your configure finished. Start make now

cd . && \
/bin/sh /var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0/admin/missing --run automake-1.7 --foreign Makefile
cd . && rm -f configure
cd . && make -f admin/Makefile.common configure
make[1]: Entering directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0'
String found where operator expected at /usr/bin/autom4te-2.57 line 280, near "error "need GNU m4 1.4 or later: $m4""
(Do you need to predeclare error?)
syntax error at /usr/bin/autom4te-2.57 line 280, near "error "need GNU m4 1.4 or later: $m4""
BEGIN not safe after errors--compilation aborted at /usr/bin/autom4te-2.57 line 453.
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0'
make: *** [configure] Error 2
make: *** Waiting for unfinished jobs....
cd . && perl admin/am_edit Makefile.in
make: *** Waiting for unfinished jobs....

!!! ERROR: kde-base/kdebase-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make

Anyone any ideas?
Top
caleb
Developer
Developer
Posts: 404
Joined: Mon Jun 02, 2003 4:53 pm

  • Quote

Post by caleb » Thu Feb 05, 2004 1:22 pm

Do me a favor; try this again but add a USE="-java" and see if that works:

USE="-java" emerge kdebase......
Top
Klatu
n00b
n00b
User avatar
Posts: 13
Joined: Tue Oct 28, 2003 8:13 am
Location: Karlsruhe, Germany

  • Quote

Post by Klatu » Thu Feb 05, 2004 3:25 pm

Hi,

had the same problem.

USE="-java" emerge kdebase

didn't fix it... :cry:
Top
RichieB
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Wed Feb 04, 2004 10:31 pm

-java doesn't fix

  • Quote

Post by RichieB » Thu Feb 05, 2004 3:33 pm

Yep. -java doesn't fix it. Woss going on?
Top
msdn
n00b
n00b
User avatar
Posts: 26
Joined: Sat Sep 13, 2003 10:40 pm
Location: CANADA

  • Quote

Post by msdn » Thu Feb 05, 2004 3:52 pm

I had a similar problem, but error said that automake should be version 1.7.4. I emerged update for automake (1.8.x) and now it copiles. Try to emerge system, or automake and what automate and compile kde 3.2 again.

Hope it helps
Top
SPiRiTs
n00b
n00b
Posts: 21
Joined: Thu Jan 22, 2004 4:47 pm

  • Quote

Post by SPiRiTs » Thu Feb 05, 2004 4:01 pm

exactly same problem for me but with kdeadmin :(

any ideas ?

SPiRiT
Top
Klatu
n00b
n00b
User avatar
Posts: 13
Joined: Tue Oct 28, 2003 8:13 am
Location: Karlsruhe, Germany

  • Quote

Post by Klatu » Thu Feb 05, 2004 4:16 pm

It hasn't finished compilation yet, but

quick'n'dirty I guess:

ln -s /usr/bin/autoXXXX-2.59 /usr/bin/autoXXXX-2.5x

for XXXX each of {conf|reconf|m4te|scan|header|update}

solved this for me.

I think you could also edit the detect-auconf.sh script in portage/kdebase-3.2.0/work/kdebase-3.2.0/admin to recognize autoXXXX-2.59 to solve this, but didn't try it.
Top
wo0zy
n00b
n00b
User avatar
Posts: 43
Joined: Tue Jan 13, 2004 2:52 pm
Location: Greifswald, Germany
Contact:
Contact wo0zy
Website

  • Quote

Post by wo0zy » Thu Feb 05, 2004 6:29 pm

Klatu wrote:ln -s /usr/bin/autoXXXX-2.59 /usr/bin/autoXXXX-2.5x
what the x stands for?? i only have the 2.13 and 2.59 version

my problem is the same, but with kdelibs

no idea to solve this??
Top
Klatu
n00b
n00b
User avatar
Posts: 13
Joined: Tue Oct 28, 2003 8:13 am
Location: Karlsruhe, Germany

  • Quote

Post by Klatu » Thu Feb 05, 2004 6:38 pm

wo0zy wrote:
Klatu wrote:ln -s /usr/bin/autoXXXX-2.59 /usr/bin/autoXXXX-2.5x
what the x stands for?? i only have the 2.13 and 2.59 version
simply for "x". No placeholder.
Top
RichieB
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Wed Feb 04, 2004 10:31 pm

Come on, people

  • Quote

Post by RichieB » Thu Feb 05, 2004 6:44 pm

Thanks for the suggestions of ln -s 'ing, but sounds more flaky than puff pastry. I'm not suggesting it won't work but that if I do it wrong there's more than a likely chance I'll bugger things up completely. 8O

One wonders whether anyone can come up with a 'proper' solution?

Cheers!
Top
Klatu
n00b
n00b
User avatar
Posts: 13
Joined: Tue Oct 28, 2003 8:13 am
Location: Karlsruhe, Germany

Re: Come on, people

  • Quote

Post by Klatu » Fri Feb 06, 2004 1:12 pm

RichieB wrote:Thanks for the suggestions of ln -s 'ing, but sounds more flaky than puff pastry. I'm not suggesting it won't work but that if I do it wrong there's more than a likely chance I'll bugger things up completely.
I don't think that creating these links can cause any damage to your system.
The problem seems to be, that the script responsible for selecting the proper autom4te fails on using autom4te-2.59 for it only looks for autom4te-2.57 and autom4te-2.5x and lower versions. The links provide one quick solution.
And If you run into trouble, you can easily remove the links....
Top
wo0zy
n00b
n00b
User avatar
Posts: 43
Joined: Tue Jan 13, 2004 2:52 pm
Location: Greifswald, Germany
Contact:
Contact wo0zy
Website

  • Quote

Post by wo0zy » Fri Feb 06, 2004 2:48 pm

i've made a complete new install but at the point when its time to choose an environment kde fails with the same errors

what the hell tis going on??
Top
RichieB
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Wed Feb 04, 2004 10:31 pm

Bitter logic

  • Quote

Post by RichieB » Sun Feb 08, 2004 5:46 pm

Well, I bit this bitter 'ln' fruit and so far it's still compiling (certainly past the point it failed last time.)

It's just a shame that one has to hack.

Then again, this is Gentoo :)
Top
vlack
n00b
n00b
User avatar
Posts: 59
Joined: Tue Apr 01, 2003 6:53 pm
Location: Austin, TX

  • Quote

Post by vlack » Tue Feb 10, 2004 8:28 pm

This doesn't work for me :(
I have the latest versions of automake and autoconf. I did your ln -s magic. And the KDE compile still fails with the same errors as before. (Similar to the errors at the beginning of this thread; my errors are documented here: http://forums.gentoo.org/viewtopic.php? ... highlight=).

USE="-java", latest versions, very conservative CFLAGS, etc. Anything else I can try?
Top
Klatu
n00b
n00b
User avatar
Posts: 13
Joined: Tue Oct 28, 2003 8:13 am
Location: Karlsruhe, Germany

  • Quote

Post by Klatu » Tue Feb 10, 2004 9:59 pm

Your problem is different, for your compiler segfaults. Which version of gcc do you use? What are your CFLAGS?
I had no problems compiling kdelibs with gcc 3.3.2 and

Code: Select all

CFLAGS="-march=athlon-xp -O2 -falign-functions=4
-falign-jumps=4 -fomit-frame-pointer -pipe"
Hope it helps

8)
Top
d-fens
Tux's lil' helper
Tux's lil' helper
Posts: 93
Joined: Fri Jan 09, 2004 5:35 pm

still not working here

  • Quote

Post by d-fens » Thu Feb 12, 2004 3:00 pm

Code: Select all

make[1]: Entering directory `/var/tmp/portage/kdebase-3.2.0/work/kdebase-3.2.0'
String found where operator expected at /usr/bin/autom4te-2.57 line 280, near "error "need GNU m4 1.4 or later: $m4""
        (Do you need to predeclare error?)
syntax error at /usr/bin/autom4te-2.57 line 280, near "error "need GNU m4 1.4 or later: $m4""
BEGIN not safe after errors--compilation aborted at /usr/bin/autom4te-2.57 line 453.
make[1]: *** [configure] Fehler 1
tried everything, CFLAGS (no segfault anyway), ln -s stuff, changed the ac/am-wrapper, nothing...:?:
autoconf 2.59
automake 1.8.2
gcc-Version 3.3.2 20031218

*desperate*
Top
caleb
Developer
Developer
Posts: 404
Joined: Mon Jun 02, 2003 4:53 pm

  • Quote

Post by caleb » Thu Feb 12, 2004 3:51 pm

Try and "emerge -c" and make sure your autoconf/automake is clean of older versions.

Then I would do an "emerge clean kdelibs" or whatever kde package you were trying to install, and try to re-install it.
Top
d-fens
Tux's lil' helper
Tux's lil' helper
Posts: 93
Joined: Fri Jan 09, 2004 5:35 pm

  • Quote

Post by d-fens » Thu Feb 12, 2004 4:36 pm

>>> No outdated packages were found on your system.
...
>>> clean: No packages selected for removal.
:(


edit:WOOOHOOOO!!!

i emerged every single version of autoconf/make beginning with the oldest and hoped to remove some lost fragments of outdated packages - SOLVED!!!!

strange thing that portage was thinking that there was nothing left!
thx caleb for support =)
Top
pvincent
n00b
n00b
User avatar
Posts: 29
Joined: Sat Aug 02, 2003 9:02 pm

autom4te.2-57 syntax error

  • Quote

Post by pvincent » Tue Feb 17, 2004 7:20 pm

same trouble.
To fix it, I had to emerge again autoconf-2.57-r1, and then unmerge it.

Code: Select all

	emerge /usr/portage/sys-devel/autoconf/autoconf-2.57-r1.ebuild
	emerge sys-devel/autoconf-2.57-r1 -C
At the end, the script /usr/bin/autom4te-2.57 no longer exists.
Hope it could help...
Top
Moloch
Apprentice
Apprentice
User avatar
Posts: 293
Joined: Mon Mar 17, 2003 3:07 pm
Location: Albuquerque, NM, US

Re: autom4te.2-57 syntax error

  • Quote

Post by Moloch » Thu Feb 19, 2004 6:38 pm

pvincent wrote:same trouble.
To fix it, I had to emerge again autoconf-2.57-r1, and then unmerge it.

Code: Select all

	emerge /usr/portage/sys-devel/autoconf/autoconf-2.57-r1.ebuild
	emerge sys-devel/autoconf-2.57-r1 -C
At the end, the script /usr/bin/autom4te-2.57 no longer exists.
Hope it could help...
This problem has been killing me. No problems on my main comp, but my slower one, which really needs the faster kde3.2 kept getting the error. You found the fix my friend. Thanks!
Top
Crashed_Again
n00b
n00b
User avatar
Posts: 45
Joined: Fri May 09, 2003 12:03 am
Contact:
Contact Crashed_Again
Website

  • Quote

Post by Crashed_Again » Tue Feb 24, 2004 4:00 am

Okay I tried this and it did not work as well. emerge kdebase re-install autoconf and causes the same error.

Can't we get an official answer on this bug?
Top
alaa
n00b
n00b
Posts: 57
Joined: Mon Feb 23, 2004 8:16 pm

  • Quote

Post by alaa » Tue Feb 24, 2004 3:45 pm

I had the same problem and was told that the solution is there:

http://forums.gentoo.org/viewtopic.php? ... &start=375

I followed the instructions there and it worked for me.

The gist of it is to re-emerge libsdl, and kdebase-3.2.0 should start compiling. The reason is that libsdl was probably emerged with gcc 3.2, and now it will be compiled with gcc 3.3 and that fixes it.
Top
leftbas
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 101
Joined: Tue Nov 25, 2003 5:15 pm
Location: Pasadena, Ca
Contact:
Contact leftbas
Website

  • Quote

Post by leftbas » Tue Feb 24, 2004 6:15 pm

Try this guys...
  • - Emerge qt-3.3.0
    - Emerge arts
    - Emerge kdelibs
    - Emerge kdebas
In this order, everything emerged without any errors and now I'm running KDE 3.2...without any of the other pakages, tho. I'll emerge them when I take my machine home from work tonight. :wink:

Good luck, hope it helps everyone.
"In retrospect, everything is funny."
-- anonymous
Top
Luda
n00b
n00b
Posts: 45
Joined: Sat Feb 21, 2004 9:37 pm
Location: Germany

  • Quote

Post by Luda » Tue Feb 24, 2004 10:40 pm

pvincent wrote:same trouble.
To fix it, I had to emerge again autoconf-2.57-r1, and then unmerge it.

Code: Select all

	emerge /usr/portage/sys-devel/autoconf/autoconf-2.57-r1.ebuild

	emerge sys-devel/autoconf-2.57-r1 -C
At the end, the script /usr/bin/autom4te-2.57 no longer exists.
Hope it could help...
leftbas wrote:Try this guys...
  • - Emerge arts

    Good luck, hope it helps everyone.
It is compiling! WOOHOOO!
Kdebase is compiling!

I *love* you guys!
Top
Crashed_Again
n00b
n00b
User avatar
Posts: 45
Joined: Fri May 09, 2003 12:03 am
Contact:
Contact Crashed_Again
Website

  • Quote

Post by Crashed_Again » Wed Feb 25, 2004 8:11 am

Okay I haven't had any luck with this. Any applcation that is remotely related to kde fails to compile as well. I've tried re-emerging libsdl. I've tried re-emerging every version of autoconf and automake. I've tried emerging in this order:

- Emerge qt-3.3.0
- Emerge arts
- Emerge kdelibs
- Emerge kdebas

Nothing is working for me. I feel like such a noob. I need a step by step on how to resolve this issue. Any help would be appreciated.

P.S. At this point I'm interested in exactly what the problem is too. Whatever is responsible for this issue should die a nasty death!
Top
Post Reply

29 posts
  • 1
  • 2
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic