DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th May 2008
chavez243 chavez243 is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Leamington, ON
Posts: 50
Thanked 2 Times in 2 Posts
Default cyrus-sasl2 dies

Trying to build kde3, but cyrus-sasl2 keeps dying on me:

Code:
configure: WARNING: you should use --build, --host, --target
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -O2 -pipe  -fno-strict-aliasing
configure:   current value: -O2 -pipe -fno-strict-aliasing
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
===>  Script "configure" failed unexpectedly.
Please report the problem to ume@FreeBSD.org [maintainer] and attach the
"/usr/ports/security/cyrus-sasl2/work/cyrus-sasl-2.1.22/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/security/cyrus-sasl2.
*** Error code 1

Stop in /usr/ports/x11/kdebase3.
*** Error code 1

Stop in /usr/ports/x11/kdebase3.
*** Error code 1

Stop in /usr/ports/x11/kde3.
I have not reported it to the port maintainer as yet, just in case there is an easy fix.

Any thoughts?
Reply With Quote
  #2   (View Single Post)  
Old 9th May 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Thanked 5 Times in 3 Posts
Default

try build /usr/ports/security/cyrus-sasl2 first.
change to ports directory
Code:
# cd /usr/ports/security/cyrus-sasl2 && make clean && make install clean
maybe it's a bug or there might be another solution for your problem but many times the above solution worked for me .

all the best,
v
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk

Last edited by mtx; 9th May 2008 at 07:50 AM. Reason: text add
Reply With Quote
  #3   (View Single Post)  
Old 9th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is online now
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,051
Thanked 198 Times in 156 Posts
Default

Quote:
# cd /usr/ports/security/cyrus-sasl2 && make clean && make install clean
Just FYI, make clean install clean works just as well...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 9th May 2008
chavez243 chavez243 is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Leamington, ON
Posts: 50
Thanked 2 Times in 2 Posts
Default

sorry - should have mentioned, already tried to install the port by itself, same result.
Reply With Quote
  #5   (View Single Post)  
Old 9th May 2008
jb_daefo jb_daefo is offline
Package Pilot
 
Join Date: May 2008
Posts: 196
Thanked 5 Times in 5 Posts
Default

have you rebuilt libtool15 ?
have you done "make rmconfig" in the port which fails then
/bin/rm -rf work (also in the port which fails) ?

post more steps and error messages each time and someone
can maybe help.
also your freebsd version, how recently your ports tree has
been updated, etc
Reply With Quote
  #6   (View Single Post)  
Old 9th May 2008
chavez243 chavez243 is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Leamington, ON
Posts: 50
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by jb_daefo View Post
have you rebuilt libtool15 ?
have you done "make rmconfig" in the port which fails then
/bin/rm -rf work (also in the port which fails) ?

post more steps and error messages each time and someone
can maybe help.
also your freebsd version, how recently your ports tree has
been updated, etc
libtool-1.5.24 = up-to-date with port

FreeBSD gutwrench.dyn-o-saur.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Reply With Quote
  #7   (View Single Post)  
Old 9th May 2008
chavez243 chavez243 is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Leamington, ON
Posts: 50
Thanked 2 Times in 2 Posts
Default And the fix is...

edit config.cache and remove the extra space from the CFLAGS setting and re-run make install clean

thanks for all your comments / ideas
Reply With Quote
  #8   (View Single Post)  
Old 10th May 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Thanked 5 Times in 3 Posts
Default

Quote:
Originally Posted by chavez243 View Post
edit config.cache and remove the extra space from the CFLAGS setting and re-run make install clean

thanks for all your comments / ideas
i believe that's a bug and you should report it to cyrus maintainer.

all the best,
v
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk
Reply With Quote
  #9   (View Single Post)  
Old 9th May 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Thanked 5 Times in 3 Posts
Default

Quote:
Originally Posted by chavez243 View Post
[CODE]configure: WARNING: you should use --build, --host, --target
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
1 configure: former value: -O2 -pipe -fno-strict-aliasing
2 configure: current value: -O2 -pipe -fno-strict-aliasing

configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and start over
I suppose that you have updated the ports tree soon and that cyrus was installed before.
the problem lies in the two red colored lines. When you first run the installation the config cached and mean time in the Makefile of the port one
space was taken out between -pipe and -fno-strict-aliasing.
The former value 1 had an extra space. Try what the script yields, that is `rm .././config.cache` and/or `make distclean` and start over.

PS: my quote doesn't show the spaces (even though they are there), take a look at your OP and you'll know what i am talking about.

all the best,
v
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk

Last edited by mtx; 9th May 2008 at 12:50 PM. Reason: PS added
Reply With Quote
Old 9th May 2008
chavez243 chavez243 is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Leamington, ON
Posts: 50
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by mtx View Post
I suppose that you have updated the ports tree soon and that cyrus was installed before.
the problem lies in the two red colored lines. When you first run the installation the config cached and mean time in the Makefile of the port one
space was taken out between -pipe and -fno-strict-aliasing.
The former value 1 had an extra space. Try what the script yields, that is `rm .././config.cache` and/or `make distclean` and start over.

PS: my quote doesn't show the spaces (even though they are there), take a look at your OP and you'll know what i am talking about.

all the best,
v
oddly cyrus was not installed previously, this is a fresh BSD installation from the bootonly CD. I had noticed the extra space, but it makes no sense as cyrus was not previously installed.

the steps mentioned in the script have already been tried to no avail.

ports tree is absolutely up to date.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
getty dies on serial console? michaelk FreeBSD General 9 18th May 2008 08:44 AM


All times are GMT. The time now is 10:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick