niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » Distributions » Gentoo
veeery STRANGE compilation errors!!
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
Sheer
*nix forums beginner


Joined: 09 Mar 2006
Posts: 20

PostPosted: Mon Jul 17, 2006 8:46 am    Post subject: veeery STRANGE compilation errors!! Reply with quote

I do not know really why but for several moths I have very starneg and
annoying compilation errors, they are very various but mainly concerning
the *syntax* errors of a source code...

for instance, yesterday I couldn't compile x-sever but when I changed the
compilation flag '-Os' to '-O3' then it went smoothly!

PS. could it be becouse I use ccache set on the ReiserFS partition? (ie.
just an *exclusive* partition for the ccache alone! the size is set 4GB)


Today, I have again the strange errors, little different then usual...
I tried to compile 'cyrus-sasl' and the following is the core of error
message (especially turn your attention please on "`CFLAGS' has changed
since the previous run" - I have not changed anything during compilation!):


configure: configuring in saslauthd
configure:
running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mand
ir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir
=/var/lib' '--with-saslauthd=/var/lib/sasl2' '--with-pwcheck=/var/lib/sasl2' '--with-configdir=/etc/sasl2'
'--with-plugindir=/usr/lib/sasl2' '--with-dbpath=/etc/sasl2/sasldb2' '--enable-login' '--enable-ntlm' '--
disable-krb4' '--disable-otp' '--with-openssl' '--with-pam' '--with-ldap' '--enable-ldapdb' '--disable-sam
ple' '--disable-gssapi' '--without-mysql' '--disable-mysql' '--with-pgsql' '--enable-postgres' '--disable-
srp' '--enable-java' '--with-javahome=/opt/blackdown-jdk-1.4.2.03' '--without-authdaemond' '--enable-sql'
'--with-dblib=berkeley' '--build=i686-pc-linux-gnu' 'CFLAGS= -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DI
SABLE_ASSERT -s -z combreloc -fomit-frame-pointer' 'LDFLAGS=-s -z
combreloc' 'build_alias=i686-pc-linux-gn
u' 'host_alias=i686-pc-linux-gnu' --cache-file=.././config.cache --srcdir=.
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure: former
value: -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DISABLE_ASSERT -s -z
combreloc -f
omit-frame-pointer
configure: current
value: -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DISABLE_ASSERT -s -z
combreloc -fo
mit-frame-pointer
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and
start over
configure: error: /bin/sh './configure' failed for saslauthd



--
Sheer
Back to top
Ray
*nix forums beginner


Joined: 17 Jul 2006
Posts: 1

PostPosted: Mon Jul 17, 2006 11:09 pm    Post subject: Re: veeery STRANGE compilation errors!! Reply with quote

On Mon, 17 Jul 2006 10:46:19 +0200, Sheer wrote:

Quote:
I do not know really why but for several moths I have very starneg and
annoying compilation errors, they are very various but mainly concerning
the *syntax* errors of a source code...

for instance, yesterday I couldn't compile x-sever but when I changed the
compilation flag '-Os' to '-O3' then it went smoothly!

PS. could it be becouse I use ccache set on the ReiserFS partition? (ie.
just an *exclusive* partition for the ccache alone! the size is set 4GB)


Today, I have again the strange errors, little different then usual...
I tried to compile 'cyrus-sasl' and the following is the core of error
message (especially turn your attention please on "`CFLAGS' has changed
since the previous run" - I have not changed anything during compilation!):


configure: configuring in saslauthd
configure:
running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mand
ir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir
=/var/lib' '--with-saslauthd=/var/lib/sasl2' '--with-pwcheck=/var/lib/sasl2' '--with-configdir=/etc/sasl2'
'--with-plugindir=/usr/lib/sasl2' '--with-dbpath=/etc/sasl2/sasldb2' '--enable-login' '--enable-ntlm' '--
disable-krb4' '--disable-otp' '--with-openssl' '--with-pam' '--with-ldap' '--enable-ldapdb' '--disable-sam
ple' '--disable-gssapi' '--without-mysql' '--disable-mysql' '--with-pgsql' '--enable-postgres' '--disable-
srp' '--enable-java' '--with-javahome=/opt/blackdown-jdk-1.4.2.03' '--without-authdaemond' '--enable-sql'
'--with-dblib=berkeley' '--build=i686-pc-linux-gnu' 'CFLAGS= -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DI
SABLE_ASSERT -s -z combreloc -fomit-frame-pointer' 'LDFLAGS=-s -z
combreloc' 'build_alias=i686-pc-linux-gn
u' 'host_alias=i686-pc-linux-gnu' --cache-file=.././config.cache --srcdir=.
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure: former
value: -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DISABLE_ASSERT -s -z
combreloc -f
omit-frame-pointer
configure: current
value: -march=athlon-xp -O2 -s -pipe -DNDEBUG -DG_DISABLE_ASSERT -s -z
combreloc -fo
mit-frame-pointer
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and
start over
configure: error: /bin/sh './configure' failed for saslauthd


Disable ccache and then try emerge --resume
Back to top
Sheer
*nix forums beginner


Joined: 09 Mar 2006
Posts: 20

PostPosted: Tue Jul 18, 2006 3:04 pm    Post subject: Re: veeery STRANGE compilation errors!! Reply with quote

Ray wrote:
Quote:
Disable ccache and then try emerge --resume

how to fast enbable/disable ccache on the fly?

--
Sheer
Back to top
Sheer
*nix forums beginner


Joined: 09 Mar 2006
Posts: 20

PostPosted: Tue Jul 18, 2006 4:56 pm    Post subject: Re: veeery STRANGE compilation errors!! Reply with quote

Sebastian Volke wrote:
Quote:
Change your make.conf.
Just remove ccache from the FEATURES variable.

thanks! I was seeking this option there and somehow overlooked it...

--
Sheer
Back to top
Sheer
*nix forums beginner


Joined: 09 Mar 2006
Posts: 20

PostPosted: Tue Jul 18, 2006 5:08 pm    Post subject: Re: veeery STRANGE compilation errors!! Reply with quote

Ray wrote:
Quote:
Disable ccache and then try emerge --resume

this has NOT helped at all :(

the exactly the same problem still persists!

--
Sheer
Back to top
Sebastian Volke
*nix forums beginner


Joined: 12 Nov 2005
Posts: 31

PostPosted: Tue Jul 18, 2006 6:17 pm    Post subject: Re: veeery STRANGE compilation errors!! Reply with quote

Sheer wrote:
Quote:
Ray wrote:
Disable ccache and then try emerge --resume

how to fast enbable/disable ccache on the fly?

Change your make.conf.

Just remove ccache from the FEATURES variable.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 7:04 am | All times are GMT
navigation Forum index » *nix » Linux » Distributions » Gentoo
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix fatal authentication errors! JamesMaxwell Postfix 0 Tue Oct 28, 2008 3:37 pm
No new posts Postfix + MySQL error: very strange variable %s iWarior Postfix 0 Mon Aug 25, 2008 2:01 pm
No new posts Strange problem with Sequence.. please help.. Krist Server 4 Fri Jul 21, 2006 7:30 am
No new posts VERY strange C anomaly Bernard Liang C 9 Thu Jul 20, 2006 9:32 pm
No new posts MySQL Compilation Ryan Fligg Postfix 1 Thu Jul 20, 2006 6:27 pm

Loans | Remortgages | Webhosting catalogue | PS2 Cheat Codes | Property in Abu Dhabi
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1575s ][ Queries: 20 (0.0596s) ][ GZIP on - Debug on ]