Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Sablotron will not compile.

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
17 posts • Page 1 of 1
Author
Message
hooligan
n00b
n00b
Posts: 48
Joined: Tue Feb 18, 2003 1:52 pm
Contact:
Contact hooligan
Website

Sablotron will not compile.

  • Quote

Post by hooligan » Sat Aug 09, 2003 2:18 am

Ok... I have tried messing with my USE flags, and my C flags, here is the most "whitebread" CFLAGS that I can put up, and Sablotron will not compile. Here are the last few lines of the emerge attempt...
I searched for "sablotron" on the forum, saw a few issues with it not compiling, but none with this specific error.

Code: Select all

checking whether the C compiler (gcc march=pentium3 -O2 -pipe -mmmx -msse -lstdc++) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: app-text/sablotron-0.97 failed.
!!! Function econf, Line 320, Exitcode 1
!!! econf failed

sauron root # 
hooligan
shellbent.com, useful only in its uselessness.
Top
Carlos
Guru
Guru
User avatar
Posts: 458
Joined: Wed Aug 07, 2002 6:53 am
Location: Providence, RI
Contact:
Contact Carlos
Website

  • Quote

Post by Carlos » Sat Aug 09, 2003 3:51 am

Are you able to emerge other ebuilds? Also, are you using distcc?

Doing a search here for the error you're getting - "compiler cannot create executables" - might be helpful.
Man must shape his tools lest they shape him.
Top
hooligan
n00b
n00b
Posts: 48
Joined: Tue Feb 18, 2003 1:52 pm
Contact:
Contact hooligan
Website

  • Quote

Post by hooligan » Sat Aug 09, 2003 12:45 pm

I am able to emerge other ebuilds...
I will try enabling distcc
hooligan
shellbent.com, useful only in its uselessness.
Top
hooligan
n00b
n00b
Posts: 48
Joined: Tue Feb 18, 2003 1:52 pm
Contact:
Contact hooligan
Website

  • Quote

Post by hooligan » Sat Aug 09, 2003 12:46 pm

enabling distcc didn't work... gonna try a search now...
hooligan
shellbent.com, useful only in its uselessness.
Top
Carlos
Guru
Guru
User avatar
Posts: 458
Joined: Wed Aug 07, 2002 6:53 am
Location: Providence, RI
Contact:
Contact Carlos
Website

  • Quote

Post by Carlos » Sat Aug 09, 2003 12:51 pm

hooligan wrote:I am able to emerge other ebuilds...
I will try enabling distcc
Oh, sorry, I basically meant that if you were, you might want to try disabling it, not the other way around. :oops:

You might also want to try unpacking the tarball in some directory and ./configure-ing it yourself to see whether the problem lies in Portage.
Man must shape his tools lest they shape him.
Top
hooligan
n00b
n00b
Posts: 48
Joined: Tue Feb 18, 2003 1:52 pm
Contact:
Contact hooligan
Website

  • Quote

Post by hooligan » Sat Aug 09, 2003 12:57 pm

with or without distcc, same error message.
I also tried making some very vanilla CFLAGS (mcpu=pentium3 -O2 -pipe) and disabling all features.

still no dice...

but... I can /configure the binary just fine, when downloading the sablotron tarball... perhaps an issue with portage and this app?
hooligan
shellbent.com, useful only in its uselessness.
Top
Carlos
Guru
Guru
User avatar
Posts: 458
Joined: Wed Aug 07, 2002 6:53 am
Location: Providence, RI
Contact:
Contact Carlos
Website

  • Quote

Post by Carlos » Sat Aug 09, 2003 1:04 pm

hooligan wrote:with or without distcc, same error message.
I also tried making some very vanilla CFLAGS (mcpu=pentium3 -O2 -pipe) and disabling all features.

still no dice...

but... I can /configure the binary just fine, when downloading the sablotron tarball... perhaps an issue with portage and this app?
Can you give me the "checking whether the C compiler can create executable" line from the output you get from ./configure on the tarball (without Portage)? Maybe if you removed the -mmmx and -msse stuff it would work.

Also, what does "checking for gcc" find? Just plain 'gcc'?

Just for kicks, try doing an env-update and source /etc/profile
Man must shape his tools lest they shape him.
Top
hooligan
n00b
n00b
Posts: 48
Joined: Tue Feb 18, 2003 1:52 pm
Contact:
Contact hooligan
Website

  • Quote

Post by hooligan » Sat Aug 09, 2003 2:43 pm

my last CFLAGS didn't have -mmmx or -msse, it was dumbed down as much as possible... (mcpu=pentium3 -O2 -pipe)... I even took out USE varibles and FEATURES.
And I also have done env-update after each edit...

I don't know what else to try... gonna delete the ebuild and rsync...
hooligan
shellbent.com, useful only in its uselessness.
Top
hooligan
n00b
n00b
Posts: 48
Joined: Tue Feb 18, 2003 1:52 pm
Contact:
Contact hooligan
Website

  • Quote

Post by hooligan » Sat Aug 09, 2003 3:23 pm

ok... deleted the ebuild and rsync'd, same problem... I then perused the search a bit deeper and tried this:

Code: Select all

root@sauron# USE="" CFLAGS="mcpu=i686 -O2 -pipe" CXXFLAGS="mcpu=i686 -O2 -pipe" emerge sablotron

SAME thing...
funny thing is, my webserver was hacked into (wouldn't have happened if I was admin... ) :-), the admin has now decided to run that *mainstream* server OS, and I need to make my system php-apache capable just so I can test out my php pages before I upload... and he dosen't have php installed on the server yet. He told me that the hosting company wouldn't allow him to update the Linux server ssh and ftp software, which was outdated and caused the exploited hack... however they do not mind him updating a Windows server daily... :?
hooligan
shellbent.com, useful only in its uselessness.
Top
hooligan
n00b
n00b
Posts: 48
Joined: Tue Feb 18, 2003 1:52 pm
Contact:
Contact hooligan
Website

  • Quote

Post by hooligan » Sun Aug 10, 2003 7:36 pm

has anyone found a resolution to this? I am able to ./configure the binaries manually... but I am unable to emerge sablotron... getting the "compiler can't create executables" error message.
hooligan
shellbent.com, useful only in its uselessness.
Top
hooligan
n00b
n00b
Posts: 48
Joined: Tue Feb 18, 2003 1:52 pm
Contact:
Contact hooligan
Website

  • Quote

Post by hooligan » Sun Aug 10, 2003 9:19 pm

Found it!
Don't know why emerging perl and XML-Parser (when they were already installed) fixed it, but it did...
I found this fix here:
http://forums.gentoo.org/viewtopic.php? ... =sablotron
hooligan
shellbent.com, useful only in its uselessness.
Top
BServiss
n00b
n00b
Posts: 62
Joined: Sun Nov 24, 2002 2:07 am

  • Quote

Post by BServiss » Fri Sep 12, 2003 11:16 pm

While seeing a problem in the emerge of sablotron I decided to re-emerge perl. At the end of the emerge I saw:

* If this is an upgrade to a perl 5.6.1 system,
* ~OR~ an upgrade to a previous Gentoo release
* of perl 5.8.0, prior to -r8
* you may need to recompile applications that
* were emerged against the old libperl.so
*
* /usr/portage/dev-lang/perl/files/libperl_rebuilder
* is provided to assist with this.
* PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT.
* Part of the rebuilding of applications compiled against
* your old libperl involves temporarily unmerging
* them - interruptions could leave you with unmerged
* packages before they can be remerged.
*
* If you have run the rebuilder and a package still gives
* you trouble, and re-emerging it fails to correct
* the problem, please check http://bugs.gentoo.org/
* for more information or to report a bug.
Top
laststraw
n00b
n00b
Posts: 16
Joined: Tue Mar 18, 2003 2:02 pm

Sablotron enum error

  • Quote

Post by laststraw » Fri Oct 03, 2003 5:44 pm

For those of you seeing the sablotron enum error ....
Go here ....
http://cvs.sourceforge.net/viewcvs.py/e ... ib/expat.h
install in your /usr/local/include dir

This should take of it!
Top
Target
Apprentice
Apprentice
Posts: 200
Joined: Thu Apr 25, 2002 8:44 am

  • Quote

Post by Target » Mon Feb 09, 2004 3:38 am

I've seen this one. It's caused by the -lstdc++ flag, which is added by the ebuild because it's required for mod_php to work with apache without causing a segfault...

Basically, your libstdc++ is broken. This is very common with gcc updates. I think that possibly insufficient testing is being done with the C++ compiler before marking ebuilds stable.

Currently, this is what you get in config.log with sablotron and GCC 3.3.2:

Code: Select all

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so: undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
That error is caused by old libs laying around (namely libgcc_s.so.1), and sure enough the last gcc ebuild (3.3.2... don't know about any previous as I haven't used them) left 3.2.3 stuff behind... So your build environment is no longer sane.

Code: Select all

$ ls /lib/libgcc* -la
-rwxr-xr-x    1 root     root       235626 Oct  6 17:31 /lib/libgcc-3.2.3.a
-rwxr-xr-x    1 root     root       153827 Oct  6 17:31 /lib/libgcc-3.2.3_s.so
lrwxrwxrwx    1 root     root           17 Oct  6 17:42 /lib/libgcc_s.so.1 -> libgcc-3.2.3_s.so

$ gcc --version
gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Refs:
http://dot.kde.org/1067849710/1067902887/
http://gcc.gnu.org/ml/gcc-help/2003-07/msg00143.html

The fix? Link to the proper libgcc:

Code: Select all

ln -sf /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 /lib/libgcc_s.so.1
Top
Richie
n00b
n00b
User avatar
Posts: 52
Joined: Wed Sep 03, 2003 5:59 pm
Location: Home
Contact:
Contact Richie
Website

  • Quote

Post by Richie » Sat May 08, 2004 8:13 am

Code: Select all

$ ls /lib/libgcc* -la
doesn't show any files, however, Targets solution:

Code: Select all

ln -sf /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 /lib/libgcc_s.so.1
fixes it for me anyway.

I find it strange that previous versions of sablotron hasn't complained, as it appears I never had a symlink there..
Top
robert0380
n00b
n00b
Posts: 62
Joined: Tue Oct 14, 2003 4:06 am
Location: Atlanta, GA

im getting the same bogus error

  • Quote

Post by robert0380 » Tue May 25, 2004 4:41 pm

i get the same message about the compiler when i try to emerge sablotron:

Code: Select all

checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! ERROR: app-text/sablotron-1.0 failed.
!!! Function econf, Line 365, Exitcode 77
!!! econf failed
before i came here i had the idea to ./configure it mysef and it worked fine:

Code: Select all

checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes

i re-emerged XML-Parse and that didnt fix anything.
my CFLAGS are fine, i dont get all exotic with them and my USE doesnt really come into play because sablotron only USEs perl and doc and all i USE is perl, and when i did my ./configure on the tar ball, i did it with perl support

./configure --enable-perlconnect --with-readline

and it worked, so the problem is with gentoo/portage or something.
Mars Bitches!
-Black George Bush (David Shapell)
Top
robert0380
n00b
n00b
Posts: 62
Joined: Tue Oct 14, 2003 4:06 am
Location: Atlanta, GA

fixed it

  • Quote

Post by robert0380 » Tue May 25, 2004 7:24 pm

it was a stupid "bug-fix" in the ebuild.


remove the line that says -llibstc++ or some shit that's in the ebuild and it will work.

yea...some bug fix.

Code: Select all

    # rphillips, fixes bug #3876
    # this is fixed for me with apache2, but keeping it in here
    # for apache1 users and/or until some clever detection
    # is added <obz@gentoo.org>

that right there mucked up the gcc test, remove that line that's after it if u are having problems with the ./configure like i was.
Mars Bitches!
-Black George Bush (David Shapell)
Top
Post Reply

17 posts • Page 1 of 1

Return to “Portage & Programming”

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