Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems emerging k3b. package avifile doesn't configure!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
schorsch79
n00b
n00b


Joined: 05 Jun 2003
Posts: 27

PostPosted: Fri Jun 13, 2003 9:40 am    Post subject: problems emerging k3b. package avifile doesn't configure!! Reply with quote

hi gentoo folk,
i'm encountering this error message emerging avifile:


Code:
checking for C++ compiler default output... configure: error: compiler cannot create executables
see 'config.log' for more details


i can post the file if someone is interested, but i couldn't find any useful information inside.

is there a way to bypass this problem?
thanks!
Back to top
View user's profile Send private message
vulcan_
n00b
n00b


Joined: 06 May 2003
Posts: 61
Location: Gent, Belgium

PostPosted: Fri Jun 13, 2003 9:58 pm    Post subject: a little digging reveals Reply with quote

looking into what it is doing at the point of failure I see that the config script is trying to validate that a particular version of g++ is available .. it is testing to see that "i586-pc-linux-gnu-g++" is working.

well .. it is not!! I have g++ 3.2.2 emerged into this stage 3 build. I have a Pentium I MMX 200 MHz chip and so my

CFLAG="-O2 -march=pentium-mmx -pipe"

when I go into /usr/bin i have gcc, g++ and c++ which are all the same. AND I have i586-pc-linux-gnu-g++ i586-pc-linux-gnu-gcc and i586-pc-linux-gnu-c++ also in /usr/bin which are the same files (as seen by diff). But none of these run. I get the error Could not run/locate "i586-blah

This is nuts as the G++, gcc and c++ executables are the same as their i586-blah siblings, and yes, all have world execute permissions

anyone know what this error means?
_________________
vulcan was a Roman myth - god of smiths
Back to top
View user's profile Send private message
NaRF
n00b
n00b


Joined: 05 May 2003
Posts: 26

PostPosted: Wed Jun 18, 2003 6:14 pm    Post subject: Reply with quote

i get exactly the same error as schorsch79 ...

:( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :( :(

...and solved it by editing my make.conf

CHOST="i586-pc-linux-gnu"

thank's to vulcan_ :D
Back to top
View user's profile Send private message
vulcan_
n00b
n00b


Joined: 06 May 2003
Posts: 61
Location: Gent, Belgium

PostPosted: Wed Jun 18, 2003 9:44 pm    Post subject: solved by rebuild of GCC Reply with quote

you are welcome NaRF .. I saw something on another thread that made me think that i had wound up with a mismatch between different tools .. so I did
Code:

emerge gcc

after making sure that I did NOT have ACCEPT_KEYWORDS set to anything. When the (very!) log build completed the i586 versions of all of my gcc executables worked just fine, and so the build preceeded.
_________________
vulcan was a Roman myth - god of smiths
Back to top
View user's profile Send private message
lblblb
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2003
Posts: 75

PostPosted: Thu Jun 19, 2003 12:55 pm    Post subject: Re: solved by rebuild of GCC Reply with quote

vulcan_ wrote:
you are welcome NaRF .. I saw something on another thread that made me think that i had wound up with a mismatch between different tools .. so I did
Code:

emerge gcc

after making sure that I did NOT have ACCEPT_KEYWORDS set to anything. When the (very!) log build completed the i586 versions of all of my gcc executables worked just fine, and so the build preceeded.


Hmmm. for me, emerge --update avifile fails with the same "compiler cannot create executables" error, when ACCEPT_KEYWORDS is commented out or set to "":
Code:
 
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking for C++ compiler default output... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

!!! ERROR: media-video/avifile-0.7.32.20030219 failed.
!!! Function econf, Line 304, Exitcode 77
!!! econf failed

However, if I uncomment and set ACCEPT_KEYWORDS="~x86", then emerge --update, the emerge wants to downgrade a number of packages:
Code:
emerge --update --pretend avifile

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild    U ] sys-devel/patch-2.5.4-r5 [2.5.4-r4]
[ebuild    U ] sys-devel/gettext-0.11.5-r1 [0.11.5]
[ebuild    U ] sys-devel/binutils-2.14.90.0.2 [2.13.90.0.18]
[ebuild    U ] sys-libs/ncurses-5.3-r2 [5.3-r1]
[ebuild    U ] sys-apps/texinfo-4.5 [4.3-r1]
[ebuild    U ] sys-devel/gcc-3.2.3-r1 [3.2.2]
[ebuild    U ] sys-libs/glibc-2.3.2-r1 [2.3.1-r4]
[ebuild    U ] sys-apps/gawk-3.1.2-r3 [3.1.1-r2]
[ebuild    U ] sys-apps/baselayout-1.8.6.8-r1 [1.8.5.9]
[ebuild    U ] media-libs/fontconfig-2.2.1 [2.2.0-r2]
[ebuild    U ] x11-base/xfree-4.3.0-r3 [4.3.0-r2]
[ebuild    U ] media-libs/alsa-lib-0.9.4 [0.9.2]
[ebuild    U ] media-sound/esound-0.2.29-r1 [0.2.29]
[ebuild    U ] media-libs/divx4linux-20020418-r2 [20020418-r1]
[ebuild  N   ] media-video/avifile-0.7.37.20030522

(I interrupted this before it downgraded all of them.)
...or does the version in brackets mean the one I already have, and all those "ebuild U"'s mean that those packages would need to be UPgraded? (newb here) If so, then with RC4, gnome only builds successfully with some "unstable, in testing, packages". I saw that it had *for sure* already downgraded at least one package before this.

Portage is completely new to me, but does this error simply mean that the avifile ebuild depends on experimental or old libraries? This would mean I can't build gnome (depends on avifile) without downgrading some of my libraries from the recent, "stable" versions

Also, why would no ACCEPT_KEYWORDS have the opposite effect for me as for vulcan_?
Back to top
View user's profile Send private message
vulcan_
n00b
n00b


Joined: 06 May 2003
Posts: 61
Location: Gent, Belgium

PostPosted: Fri Jun 20, 2003 11:07 am    Post subject: that was all upgrades Reply with quote

if you see only 'U' then portage is going to upgrade

if you see 'UD' then it is a downgrade
_________________
vulcan was a Roman myth - god of smiths
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Fri Jun 20, 2003 12:14 pm    Post subject: Reply with quote

Quote:

[ebuild U ] sys-devel/patch-2.5.4-r5 [2.5.4-r4]


in green => package version to be merged
in red => package version installed on your system

You were making confusion about the place were things are displayed :wink:


_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
jklmnop
n00b
n00b


Joined: 18 Jun 2003
Posts: 42

PostPosted: Sat Jun 21, 2003 12:20 am    Post subject: Re: problems emerging k3b. package avifile doesn't configure Reply with quote

schorsch79 wrote:
hi gentoo folk,
i'm encountering this error message emerging avifile:


Code:
checking for C++ compiler default output... configure: error: compiler cannot create executables
see 'config.log' for more details


i can post the file if someone is interested, but i couldn't find any useful information inside.

is there a way to bypass this problem?
thanks!


i had the same problem yesterday. i changed my CHOST setting in make.conf from i686 to i586 for the avifile emerge and everything was fine.
Code:

#CHOST="i686-pc-linux-gnu"
CHOST="i586-pc-linux-gnu"
Back to top
View user's profile Send private message
lblblb
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2003
Posts: 75

PostPosted: Sat Jun 21, 2003 5:19 am    Post subject: Reply with quote

thanks a bunch for the help, peeps!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum