|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
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. Any thoughts? |
|
||||
try build /usr/ports/security/cyrus-sasl2 first.
change to ports directory Code:
# cd /usr/ports/security/cyrus-sasl2 && make clean && make install clean 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 |
|
|||
sorry - should have mentioned, already tried to install the port by itself, same result.
|
|
|||
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 |
|
||||
Quote:
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 |
|
|||
Quote:
the steps mentioned in the script have already been tried to no avail. ports tree is absolutely up to date. |
|
|||
Quote:
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 |
|
|||
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 |
|
||||
Quote:
all the best, v |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
getty dies on serial console? | michaelk | FreeBSD General | 9 | 18th May 2008 08:44 AM |